Skip to main content
WebStash supports two MCP patterns:
  • remote HTTP MCP at https://api.webstashai.com/mcp
  • local stdio MCP from the mcp-server/ package

Quick setup with Claude Code

On first use, the browser opens for authentication.

Manual local setup

The local server expects:
Then run the server from mcp-server/.

Tool reference

Use the generated MCP tool reference for the current tool schemas and built-in prompts.

Best-practice usage

Climb this ladder in order, and stop at the first rung that answers the question:
  1. search_pages — targeted lookup when you know roughly what you are after, at a result count you choose.
  2. get_context — broad overviews and “brief me on X”. Returns many ranked pages with summaries, packed to a token budget you set (default 4000, max 24000). Costs no AI quota.
  3. get_page — full content for a page id from either of the above, when a summary is not enough.
  4. ask_pages / synthesize_topic — only when you need the server to do the reasoning. These consume your monthly AI quota; the first three do not.
The first three rungs let your own model do the reasoning over content WebStash retrieves, which is both cheaper and usually better than a server-side answer. get_context returns a ranked sample, not a census — for exhaustive listings use search_pages (limit up to 50) or list_pages.