{"name":"ContextFetch","description":"The $1 / 1,000 neural search & Markdown API for AI agents. Works without a key: 25 free requests/day per IP.","version":"1.0.0","install":{"npx":"@contextfetch/mcp","claude_code":"claude mcp add contextfetch -- npx -y @contextfetch/mcp"},"transport":"stdio","tools":[{"name":"contextfetch_search","description":"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.","input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"Natural-language search query."},"num_results":{"type":"integer","minimum":1,"maximum":25,"default":5,"description":"Number of results to return (1-25, default 5)."},"include_domains":{"type":"array","items":{"type":"string"},"description":"Only return results from these domains, e.g. [\"docs.python.org\"]."},"exclude_domains":{"type":"array","items":{"type":"string"},"description":"Never return results from these domains."}},"required":["query"],"additionalProperties":false}},{"name":"contextfetch_extract_url","description":"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.","input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to read."},"query":{"type":"string","minLength":1,"description":"Optional question or topic; returns only the relevant passages."}},"required":["url"],"additionalProperties":false}},{"name":"contextfetch_find_similar","description":"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.","input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to find similar pages for."},"num_results":{"type":"integer","minimum":1,"maximum":25,"default":5,"description":"Number of results to return (1-25, default 5)."}},"required":["url"],"additionalProperties":false}},{"name":"contextfetch_deep_research","description":"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`.","input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"The research question."},"sub_queries":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"maxItems":3,"description":"Up to 3 search queries covering different angles of the question. Strongly recommended."},"num_results_per_query":{"type":"integer","minimum":1,"maximum":25,"default":5,"description":"Results per sub-query (1-25, default 5)."}},"required":["query"],"additionalProperties":false}},{"name":"contextfetch_balance","description":"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.","input_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"contextfetch_auto_reload","description":"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.","input_schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"true to turn auto-reload on, false to turn it off."},"threshold":{"type":"integer","minimum":100,"maximum":100000,"description":"Reload when credits drop below this (100-100,000, default 1,000)."},"pack":{"type":"string","enum":["instant","builder","scale"],"description":"Pack to buy: instant $15/15,000, builder $50/60,000, scale $150/200,000."},"monthly_max_usd":{"type":"number","exclusiveMinimum":0,"maximum":500,"description":"Monthly spending cap in USD (at most 500)."}},"required":["enabled"],"additionalProperties":false}}],"auth":{"type":"bearer","optional":true,"free_tier":"25 requests/day per IP"},"docs":"https://contextfetch.dev/llms-full.txt","api":"https://api.contextfetch.dev"}