Skip to content

New: deep research, balance and auto-reload tools in the keyless MCP server. Install in one line

MCP server

A stdio server for Claude Code, Cursor and other MCP clients, with 6 tools. It runs keyless until you set a key.

Install

claude mcp add contextfetch -- npx -y @contextfetch/mcp

For Claude Desktop, Cursor and other clients that take an mcpServers JSON block:

{
  "mcpServers": {
    "contextfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@contextfetch/mcp"
      ]
    }
  }
}

Package: npmjs.com/package/@contextfetch/mcp

Environment

VariableMeaning
CONTEXTFETCH_API_KEYOptional. Unset means keyless (25 requests/day per IP).
CONTEXTFETCH_API_BASEDefault https://api.contextfetch.dev.

Tools

ToolInputWhat it does
contextfetch_search{query, num_results = 5, include_domains?, exclude_domains?}Search the web and get LLM-ready Markdown. Each result has its title, URL and only the passages relevant to the query (cross-encoder pruned context), so it costs far fewer tokens than raw pages. Use for current events, documentation, APIs, research and fact checking.
contextfetch_extract_url{url, query?}Fetch a public web page (docs, articles, GitHub files, arXiv papers) as clean Markdown with tables preserved. Pass `query` to get only the passages relevant to it instead of the whole page.
contextfetch_find_similar{url, num_results = 5}Find pages similar to a given URL (alternatives, related docs, competing libraries), excluding the source domain. Returns titles, URLs and the most relevant passages as Markdown.
contextfetch_deep_research{query, sub_queries?, num_results_per_query = 5}Research a question in one call: runs up to 3 web searches (sub-queries) in parallel, dedupes the sources across them and returns one Markdown evidence pack with each source's title, URL, score and query-pruned context. Each sub-query costs 1 credit. Pass your own `sub_queries` (up to 3 distinct angles) for better coverage; if omitted they are derived from `query`.
contextfetch_balance{}Show the API key's remaining credits, daily burn rate (7-day average) and auto-reload settings, including the last auto-reload error if a payment failed. Needs CONTEXTFETCH_API_KEY; free. Check it before long jobs.
contextfetch_auto_reload{enabled, threshold?, pack?, monthly_max_usd?}Turn auto-reload on or off, or change it: when credits drop below `threshold`, the saved card buys `pack` again, up to `monthly_max_usd` per month. Needs CONTEXTFETCH_API_KEY and a card saved at checkout. The monthly cap cannot be raised above $500 here.

When credits or the free tier run out, tools return the payment link (https://api.contextfetch.dev/buy/instant) as an error result instead of crashing.