Logo vun Free Search MCP

Free Search MCP

Communautéit
sweetcornna

Local-first, no-API-key MCP server for web search, fetch, and document reading. Multi-engine (DuckDuckGo, Mojeek, Startpage), smart Playwright fallback, FTS5 cache, LLM-tuned output.

Editeursweetcornna
Repositoryfree-search-mcp
SproochPython
Forks
8
Stären
81
Disponibel Tools
0
Transporttypstdio
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Free Search MCP stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    81 Stären an 8 Forks aus dem verlinkte Repository.

free-search-mcp

License Python MCP

free-search-mcp is a local-first Model Context Protocol server that needs no API key. It lets any LLM (Claude, GPT, a local Ollama model, …) search the web, fetch and clean up pages, and read documents, and you never sign up for a search API.

It combines ideas from several open-source MCP servers in one Python package, and adds the output shaping for LLMs and the reliability work that each of them lacked.

text
research("how does reciprocal rank fusion work", depth=3)
   ↓
# Research brief: how does reciprocal rank fusion work
_engines: duckduckgo, bing, anysearch · sources: 3 · ~3,400 tokens_

## Sources
- [1] Reciprocal rank fusion | Elasticsearch Reference — <https://…>
- [2] Hybrid Search Scoring (RRF) | Microsoft Learn — <https://…>
- [3] RRF explained in 4 mins — Medium — <https://…>

## Documents
…full Markdown bodies of each page, ready for the LLM to read…

That was one tool call. It returned three sources with their full text, and no API key was involved.

Quick start: install the plugin (recommended)

You do not need to sign up, get a key or clone the repository. The only prerequisite is uv.

In Claude Code, inside a session:

text
/plugin marketplace add sweetcornna/free-search-mcp
/plugin install free-search@free-search-mcp

From a shell it is the same two steps:

bash
claude plugin marketplace add sweetcornna/free-search-mcp
claude plugin install free-search@free-search-mcp -s user

In Codex:

bash
codex plugin marketplace add sweetcornna/free-search-mcp
codex plugin add free-search@free-search-mcp

Codex pitfall. If ~/.codex/config.toml already has a [mcp_servers.search] entry from an earlier codex mcp add, it shadows the plugin's server of the same name. Codex gives no warning and keeps running the old one. Remove the entry first: codex mcp remove search.

The plugin ships 11 MCP tools, a source-verification skill and a small quick-search agent. The MCP server search is pinned to the plugin's own version. The skill verified-research loads on demand and tells the agent when a search snippet is not enough and how to check a date. In Claude Code, the agent free-search:quick-search answers one lookup in its own context on haiku and hands back a few sentences with dated source URLs. The server and the skill load in both hosts: Codex lists the skill as free-search:verified-research (checked with Codex CLI 0.154). Codex and other hosts get the same agent as a file or a prompt, and an optional ask tool lets the server do the delegating. Delegating a lookup covers every route. /plugin update free-search moves all of it to the next release (in Codex, run codex plugin marketplace upgrade and then codex plugin add again). The plugin section under Install has the details and the token cost.

Nothing else is needed. Every engine that a search reaches on its own works without an API key, and the first run downloads the package from PyPI.

For Claude Desktop, other MCP clients, a source checkout or Docker, see Install.

Optionally, install Chromium once. The browser-rendered engines (brave, startpage, zhihu, …) and JS-heavy page fetches need it:

bash
uvx --from free-search-mcp playwright install chromium

Without it, HTTP search and fetch keep working, and any call that needs the browser returns that exact install command as its error.

Configuration is optional and lives in ~/.config/search-mcp/.env; see Configuration.

Why this exists

Existing search MCPs each do one thing well, but you usually want all of it:

Multi-engineNo API keySmart fallbackPDF/DOCXFTS5 cacheFiltersTrafilaturaLLM-tuned
nickclyde/duckduckgo-mcp-server✗✓✗✗✗✗✗~
mrkrsl/web-search-mcp✓✓✓✗✗✗✗~
Aas-ee/open-webSearch✓✓~✗✗✗✗~
VincentKaufmann/noapi-google-search-mcp✗✓✓✓✓✗✗~
free-search-mcp✓✓✓✓✓✓✓✓

"LLM-tuned" means Markdown-first output, token estimates, truncation at paragraph boundaries, docstrings with "Best for / Not for / Returns / Common mistakes" sections that the model uses to pick the right tool, error messages that name a next step, MCP prompts and resource templates, and a one-shot research() that collapses a search and the fetches that follow it into a single turn.

"Trafilatura" means main content is extracted with trafilatura, which won the Bevendorff 2023 ROUGE benchmark (~0.85 vs ~0.55 for naive boilerplate stripping). Each fetched page also returns author, published_date, and sitename.

"Filters" means search and research accept freshness, include_domains, exclude_domains, category, include_text and exclude_text. category also routes the query to sources that natively index that kind of content. A bare group (news/pdf/github/paper/forum/blog/image/dataset/finance) widens the pool, and a dotted sub-group (paper.biomed, paper.math, finance.filings, dataset.repository, dataset.ml, dataset.gov, …) narrows it to the sources that index that sub-group. See Vertical sources.

Anti-detection & resilience

  • The HTTP fast path uses curl_cffi with a real Chrome 131 JA3/JA4 and HTTP/2 fingerprint. DuckDuckGo answers plain httpx with its "anomaly 202" rate-limit response, and this fingerprint avoids it.
  • The Playwright fallback uses launch_persistent_context (cookies survive restarts on disk), prefers a real installed Chrome (channel="chrome"), drops the --no-sandbox fingerprint marker on macOS, and randomizes the viewport per session.
  • Bing is queried the way a browser queries it, with a warmed cookie jar and the form=QBRE request shape. Without them Bing answers HTTP 200 with a decoy page about the query's first word. With them the results are on topic, and the off-topic guard catches the decoy if it returns.
  • Result dedup is title-fuzzy and host-canonical (rapidfuzz token_set_ratio >= 92, with the host normalized for www./m./amp. and country TLDs collapsed). This catches bbc.co.uk vs bbc.com duplicates, which URL-only dedup misses. The rank-fusion key also ignores scheme, www., default port, fragment and trailing slash, so the http:// and https:// copies of one page merge into one result, printed with the https:// URL.
  • search includes an extractive lead_snippet. It picks the top-3 result whose snippet contains ≥2 query terms and is ≥80 chars, and renders it as > **Lead:** According to {host}: …. No LLM is called, and when no snippet qualifies no lead is returned.

This project does not attempt to defeat proof-of-work captchas on Bing or Brave, because that would violate their terms of service. When those engines challenge a request, the search falls back to other engines.

Tools (11)

ToolDescription
search(query, ...filters)Parallel multi-engine search, RRF-merged, title-fuzzy + host-canonical deduped, with optional extractive lead_snippet
research(question, depth?, ...filters)One-shot: search + fetch top N + return Markdown brief
paper_graph(paper, direction?, limit?)Walk one paper's citation graph: references, citing works ranked by influence, and Crossref retraction/correction notices. Takes a DOI, an OpenAlex ID, an exact title, or an arXiv reference (arXiv:1706.03762, an arxiv.org/abs/… URL, a 10.48550/arXiv.… DOI, or a bare id such as 1706.03762, 2401.12345v3 or hep-th/9901001 when it is the whole input)
compare(question, urls=[2..5])Concurrent fetch of 2-5 URLs, side-by-side excerpts keyed by question
fetch(url, render?, inline?, ...)Fetch any resource: reader-mode Markdown for pages, parsed text for documents, or a description (type/size/dimensions/sha256) for images and binaries. inline=True returns the image itself for vision models
fetch_batch(urls, ...)Concurrent multi-URL fetch (max 20 per call)
read_doc(source, start?, length?, ...)Parse PDF / DOCX / XLSX / PPTX / EPUB / CSV / code / zip-tar / HTML / TXT / MD with pagination
extract_structured(url, ...)Pull JSON-LD / OpenGraph / Twitter cards / microdata via extruct. Long prose fields (articleBody and the like) are clipped, and the result says so in trimmed. This tool returns metadata; use fetch for the text
cache_search(query, limit?, ...)FTS5 search across previously fetched pages
engines(group?)The source tree (group, then sub-group, then engine), one line each. group is an enum of the groups that own engines, so a typo fails schema validation
download(url, ...)Save a file to ${SEARCH_MCP_CACHE_DIR}/downloads by default; files auto-delete after 24h. Set SEARCH_MCP_DOWNLOAD_ENABLED=false to disable it.

There are also 5 MCP prompts (Research thoroughly, Fact-check claim, Compare sources, News brief, Quick search) and 2 resource templates (cache://page/{url}, cache://search/{query_hash}).

A twelfth tool, ask(question, ...), is registered only when the operator configures an answer backend. It returns a short answer with dated sources in place of the pages. See Delegating a lookup.

Filters (search / research)

ParamValuesEffect
freshnessday / week / month / yearOnly results from the last N. Results with no date are kept, and freshness_note says when that is most of them. day / week also add googlenews
include_domains["python.org", "djangoproject.com"]Restrict to these domains
exclude_domains["pinterest.com"]Remove these
categorya group (paper, finance, news, software, security, weather, …) or a sub-group (paper.biomed, finance.filings, finance.fx, software.python, dataset.ml, …)Routes to the sources that natively index that kind of thing; the enum in the tool schema lists every value
include_text"async"Substring required in title/snippet
exclude_text"beginner"Substring forbidden
max_age_hours24Accept a cached answer only if it is younger than this. Default 7 days; the tightest of this, the freshness window's TTL, the 6-hour news cap and the category's own cap (weather, finance.fx 1 hour; software, security 6 hours) wins

All tools default to format="markdown", which is readable, uses ~40% fewer tokens than JSON, and carries provenance and a token-budget header. Pass format="json" for structured access.

Is it current, and is it the source?

A search result is a lead. The snippet under it was written by a search engine, is often months old, and is routinely about a different year's edition of the same page. It still reads like an answer, and agents tend to answer from it. Every tool therefore reports what it knows about time and provenance, so the agent can see how far to trust a result:

text
# Search: uv 0.9 release notes

_engines: duckduckgo, bing, anysearch_  _results: 3_  _dated: 2/3_
_(cached 2 days ago · retrieved 2026-09-19T08:12:03Z)_

## 1. Release 0.9.0 · astral-sh/uv
…
_duckduckgo, bing_ · score 0.03 · code · dated 2026-09-02

## 2. uv 0.9 is out — what changed
…
_anysearch_ · score 0.02 · 2026-09-05 (from snippet text)

## 3. uv documentation
…
_bing_ · score 0.01 · undated
SignalWhereMeaning
retrieved_atsearch, research, fetchWhen the engines (or the page) were asked. For a cache hit this is when the stored answer was first retrieved
cache_age_secondscache hits onlyHow old the stored answer is; Markdown shows (cached 2 days ago · retrieved …)
dated_resultssearchHow many results carry any date, shown as dated: N/M in the header. It is usually a small number
date_sourceeach resultstructured (the engine's API gave a date), snippet (parsed out of snippet text, so weaker; shown as … (from snippet text)), or none (shown as undated)
source_typeeach resultpaper / code / forum / news / government / academic, from the hostname. It describes the kind of site and does not affect ranking
freshness_notesearch with freshness=Present when at least half the results are undated. freshness keeps undated results, so appearing in the list does not show that a result is recent
usage_notesearchOne fixed line saying that snippets locate sources and the details should be read from the page
date_noteresearchHow many of the brief's sources could be dated, and how far apart the dates are. Each source keeps its own date and source_type

fetch prints published <date> when the page declares one and no publication date found when it does not, plus the cache age on a hit.

Cached searches expire sooner when the question was about recency. The default TTL is seven days, and a seven-day-old answer to freshness="day" cannot be right. So freshness="day" results are kept for 1 hour, week for 6 hours, month for 24 hours, and category="news" for at most 6 hours. The record categories expire on their own clock whatever the query said: weather and finance.fx after 1 hour (a forecast is reissued hourly, the ECB fixes rates once a working day), software and security after 6 hours.

These signals support one workflow: search to find URLs, fetch (or research) the primary page, check its date, and corroborate anything that matters against a second independent source. The plugin's verified-research skill writes that workflow down for the agent. For a quick lookup that does not need that depth, the quick-search agent reads the pages in a separate context, so they never enter the main conversation.

Tool annotations

Every tool declares readOnlyHint, idempotentHint, and openWorldHint annotations, so MCP clients can label the tools and restrict elevated actions.

Protocol notes

The SDK is pinned to mcp>=2.2,<2.3. The server implements protocol revision 2026-07-28 and serves the earlier handshake-era revisions from the same process, so new and old clients both work unchanged. What a client sees:

  • Markdown output is one plain text block, with nothing else attached.
  • format="json" returns the dict itself as structured content, with no {"result": …} wrapper around it. A tool whose answer is a list keeps the {"result": [...]} envelope, because structured content must be an object.
  • Tools do not advertise an outputSchema. The shape depends on format, and a schema that holds for only one of the two modes makes strict clients reject the other.
  • A truncated fetch carries a cache://page/… resource link to the full cached text (clients on revisions older than 2025-06-18 do not get the link block). search in JSON mode links its cache://search/… row the same way.
  • Completions are served for prompt arguments (category, depth, since) and for both cache:// resource templates, so a client can offer the URLs and searches that are in the cache.
  • Failures come back as tool errors whose text names a next step; they are not raised as protocol errors. A refused URL, an unknown engine or an unreadable document produces a message the agent can read and act on, and the message never includes internal details.

Engines

The registry holds 73 engines. A search that names none of them runs a small pool chosen for it, and the pool depends on which engines are healthy at that moment.

The default pool is duckduckgo, bing, anysearch and mojeek. All four use plain HTTP and need no browser.

Two engines join it when the query calls for them:

  • googlenews joins for freshness="day" / "week", or category="news". It answers any query, programming questions included, with ten news headlines, which suits a web search only when recency was asked for. Its opaque news.google.com redirect links are resolved to the publisher's URL, so the same story from a web engine merges with it and is listed once.
  • so360 joins when the query itself is written in Chinese. The language is detected from the script of the query, and SEARCH_MCP_REGION plays no part. In our measurement it returned the organiser's own site and the university notice for a Chinese query, neither of which the western indexes had.

Reserves (so360, brave, searx, in that order) are seated only while fewer than 3 general engines are healthy. A pool that is one engine short is left alone, because a fourth engine that needs a browser render would add seconds to every search. A reserve that needs Chromium is skipped while Chromium is known to be missing.

The circuit breaker benches an engine at once when it serves a wall (CAPTCHA, consent, login, a JS shell) or an off-topic page. An engine that errors is benched after 2 failures in a row, and one that silently returns nothing after 3. The bench lasts 10 minutes and doubles on each repeat up to 60, and one success clears it. A benched engine is not asked, so a dead engine slows down only the search that discovers it, and the bench is written to <cache_dir>/engine_health.json so that a new process does not discover it again (measured: 8.5 s for the first process, 4.0 s for the next). Naming an engine in engines=[...] runs it even while it is benched. The response reports benched_engines (Markdown: "Benched engines") with the reason, the retry time and which reserve is standing in.

The off-topic guard exists because Bing can answer HTTP 200 with ten well-formed results about the first word of the query, such as the Steam page for "rust ownership borrowing". Left alone, rank fusion interleaves those with real answers. The guard drops a web engine's whole bucket when almost none of it mentions the rest of the query and another engine's results show that those words do get echoed. The engine is reported under gated_engines with reason off_topic. This is not a block, so a proxy does not change it. More in docs/PROXY_AND_GATES.md.

The rescue pass runs when a search still comes back empty, or nearly empty with gated or erroring engines. The aggregator makes one bounded recovery attempt through the reserves and then searx and bing, in that order, skipping anything that already ran or is benched, and reports it as rescued_via. A wall on the default engines then costs time but still returns results.

None of this needs an API key. No engine in the default, reserve, rescue, fresh, locale or category pools requires one, and tests/test_no_key_positioning.py fails the build if a keyed engine is added to any of them.

Status as measured on 2026-09-21:

  • duckduckgo, bing, anysearch, so360 and brave (browser) answer on topic.
  • mojeek serves a captcha on every request. It stays in the default list for its independent index, whose results differ usefully from the others when it answers. In practice it is benched after one attempt and re-probed every 10 to 60 minutes.
  • google / serpsearch serve a JavaScript wall on every request. They are not a recovery path, so do not reach for engines=["google"] when results are thin.
  • startpage and sogou returned nothing.

By name only (all keyless):

  • startpage is browser-rendered (~5-10s/query).
  • brave and baidu are browser-rendered and intermittently challenge headless clients.
  • searx is a meta-search proxy over public SearXNG instances. Most public instances are slow or unreliable in 2026; pin a good one with SEARCH_MCP_SEARX_INSTANCES.
  • google is a keyless scrape of the Google web SERP (HTTP first, with a Playwright fallback when Google serves a JS or consent shell). serpsearch is an alias of google: all dedicated "SERP APIs" require a key, so the only keyless SERP is a direct scrape. See the status note above.
  • anysearch is in the default pool. It calls the anonymous (keyless) tier of the AnySearch unified-search REST API, and one HTTP call returns fused, re-ranked results. The tier is rate-limited per IP, and a 429 or 5xx degrades to an empty result. It does not honour site: / filetype: operators, so domain filters are applied to its results afterwards.
  • bilibili is keyless Bilibili (哔哩哔哩) video search through the public web-interface/search/all/v2 JSON API (synthetic buvid3 cookie, no login). It returns video results only.
  • zhihu is best-effort keyless Zhihu (知乎) search. Zhihu's api/v4/search_v3 needs login cookies and x-zse-96 signing, so the only no-key path is rendering the public search page in a browser. Zhihu blocks headless clients, so a login wall or an empty result is common. Treat it like baidu/brave.
  • sogou and so360 are Chinese web indexes, scraped from HTML. sogou returns redirect URLs (sogou.com/link?url=…) in place of target URLs, and the blob can only be resolved by following it. fetch handles that, but host-based category filtering discards them. baidu and so360 return direct URLs.
  • wikipedia is encyclopedia search; its language follows SEARCH_MCP_REGION.
  • openlibrary is book search over the Internet Archive catalogue.

Scholarly and financial sources are keyless too, and are normally reached through category=. The scholarly ones are arxiv, openalex, crossref, pubmed, europepmc, dblp, doaj, clinicaltrials and zbmath; the financial ones are sec_edgar, yahoofinance, cninfo, worldbank, imf and frankfurter. Dataset sources are dryad, dataverse, figshare, huggingface, dataeuropa and zenodo, and the image sources are openverse and wikimedia. semanticscholar is registered alongside the scholarly sources, but its anonymous pool answers 429 in practice, so it stays out of automatic routing. Naming it still runs it.

A further twenty-four sources answer with a record rather than a page: pypi, npm, crates, registries, appstore, endoflife, github_releases, nvd, osv, cisakev, wikidata, rdap, openmeteo, mdn, ietf, wdi, holidays, worldclock, frankfurter, cfets, gleif, coingecko, federalregister and govuk. They are described under Direct facts below.

Engines outside the pools above run only when you name them per call, for example engines=["bilibili", "so360"], so the default search stays a handful of fast HTTP requests. To change the pools themselves, see SEARCH_MCP_DEFAULT_ENGINES and the settings next to it under Configuration.

Vertical sources (selected automatically by category)

These sources index something a general web engine can't. You normally don't name them, because passing category= to search/research routes to them. Sources are organised as groups with sub-groups. A bare group widens the search: one specialist per sub-group joins the web pool until the engine cap is reached. A dotted sub-group narrows to that branch, and the same cap still applies.

categoryEnginesWhy it matters
paperone per sub-group, belowSearches the literature itself, where a web engine could only filter its results by hostname
paper.indexopenalex, crossref, semanticscholarCross-discipline DOI indexes with citation counts
paper.preprintarxiv, europepmc (SRC:"PPR")Work that has not been peer reviewed yet, flagged as such
paper.biomedeuropepmc, pubmedMEDLINE and its 40M-record superset, with open-access full text
paper.csdblpCurated CS bibliography: exact venues, authors, DOIs
paper.openaccessdoaj, europepmcEvery hit is free to read in full, so read_doc can open it
paper.trialclinicaltrialsRegistered human trials, which hold evidence the literature has not caught up with
paper.mathzbmathMathematics literature with reviews and classification
financeone per sub-group, belowNo general engine indexes filings, quotes or macro series
finance.filingssec_edgar, cninfoRegulatory filings in full text (US, and A-share/HK)
finance.marketyahoofinanceTicker resolution plus market news for the resolved instrument
finance.macroworldbank, imfWorld Bank research and IMF DataMapper series, WEO forecasts included
githubgithub (repos + issues/PRs)Real repository metadata, stars, last push. github_code is opt-in: GitHub rejects anonymous code search, so it runs only when named and only with your own token
forumstackexchange, hackernewsAccepted-answer and score signals
news / news.worldgooglenews, gdeltGDELT covers 100+ languages Google News never surfaces
imageopenverse, wikimediaOpenly-licensed images; results are direct file URLs, with Wikimedia attribution and source metadata
datasetone per sub-group, belowDatasets, software and open-data catalogues
dataset.repositorydryad, dataverse, zenodo, figshareResearch datasets in public repositories, with DOI or landing-page metadata
dataset.mlhuggingfaceMachine-learning dataset repositories and dataset cards
dataset.govdataeuropaEU and member-state open-data catalogues in one index
softwareone per sub-group, belowCurrent versions and support windows from the registries themselves, dated by the publisher
software.lifecycleendoflifeendoflife.date: release cycles, latest patch and support end dates for about 480 products (Python, Ubuntu, Node.js, PostgreSQL, Kubernetes, ...)
software.githubgithub_releasesThe newest release of a repository, with tag, date and notes; owner/repo in the query is looked up directly
software.pythonpypiCurrent release, upload date and Python requirement of a PyPI package
software.nodenpmCurrent version and publish date of an npm package
software.rustcratesCurrent stable version of a crate
software.registryregistriesMaven Central, RubyGems, the Go proxy, Homebrew, Docker Hub, Packagist and NuGet in one engine; the ecosystem named in the question picks the registry, none named asks nothing
software.appappstoreAn iOS app's current version, release date and notes; a Chinese question searches the Chinese store
securitynvd, osvVulnerability records instead of blog posts about them
security.cvenvdA CVE id gets its NIST record with CVSS score and status; other queries get the CVEs whose descriptions mention the words, newest first
security.packageosvAdvisories that touch a package, with the fixed version, across PyPI, npm, crates.io, Go and more
security.exploitedcisakevWhether a CVE is in CISA's Known Exploited Vulnerabilities catalogue, with the date added and the due date; a CVE that is not listed gets a result saying so, dated by the catalogue version
referencewikidata, rdapStructured records: the Wikidata item behind a Wikipedia article, and a domain's registration
reference.domainrdapA domain's registration date, expiry, registrar and name servers from the registry's own RDAP service, found through IANA's bootstrap file
weatheropenmeteoCurrent conditions and a three-day forecast for the place named in the query, fetched at request time
docsmdn, ietfReference documentation searched at the source
docs.webmdnMDN Web Docs (HTML, CSS, JavaScript, Web APIs, HTTP), in English or Chinese
docs.rfcietfRFCs from the IETF Datatracker by number or title, with standards level and errata flag
finance.fxfrankfurter, cfetsThe ECB reference rate between two currencies (about 130 other currencies through the open ExchangeRate-API endpoint), and the PBOC's RMB central parity from CFETS; converted for an amount in the query
finance.entitygleifThe legal entity behind a company name: registered name, addresses, jurisdiction, status, LEI; Chinese legal names as written
finance.cryptocoingeckoA cryptocurrency's spot price in USD and CNY, 24h change and market cap
stats / stats.indicatorwdiA World Bank indicator (GDP, population, inflation, unemployment, life expectancy and 17 more) for a named country, latest three years, with the revision date
calendarholidays, worldclockDates and times
calendar.holidaysholidaysPublic holidays by country and year; China from the State Council notice (with the make-up working days), elsewhere from Nager.Date
calendar.clockworldclockThe current date and time in a named city or zone, from the server clock and the IANA database; no request is made
govfederalregister, govukOfficial journals and portals
gov.usfederalregisterUS rules, proposed rules and notices with publication date, type and agencies
gov.ukgovukGOV.UK guidance, statistics and news with document format and last update

At the default category-engine limit, category="dataset" selects dryad, huggingface, and dataeuropa, one source from each dataset sub-group. Use dataset.repository, dataset.ml, or dataset.gov when the sub-group is known. category="paper" selects arxiv, openalex, and europepmc, and paper.math reaches zbmath explicitly.

category="software" selects endoflife, github_releases and pypi; use software.node, software.rust, software.registry or software.app for npm, crates.io, the other registries and the App Store, or ask without a category and let the question's words pick the source.

image and dataset replace the default pool. A web engine can't return an image file or a dataset record, so mixing it in only crowds out the specialist sources that can. image has two sources and dataset has six across three sub-groups, so an outage, a rate limit or a missed hit still leaves the category with a specialist fallback. The other groups augment the web pool, capped by SEARCH_MCP_CATEGORY_ENGINE_LIMIT (default 3). That cap is smaller than most groups, so a bare group round-robins across its sub-groups before truncating: category="paper" spends its three slots on three different corpora, where a plain truncation would pick three overlapping DOI indexes.

Results from an engine that natively indexes the requested category count double in the rank fusion. Without the doubling, category= barely affects the order: a specialist is usually the only source returning a given document, so its hit loses to three general engines agreeing on a blog post about the topic.

Direct facts: records instead of snippets

The groups software, security, reference, weather, docs, gov, stats, calendar and the sub-groups finance.fx, finance.entity and finance.crypto are served by sources that answer with the record itself. Asked search("latest fastapi version"), pypi returns one result whose title is fastapi 0.141.1 on PyPI and whose snippet says when that release was uploaded and which Python it needs, taken from the registry at request time. The web engines return the PyPI project page too, with whatever version the crawler saw.

No category is needed. Each record source declares, offline and from the words of the question alone, whether it can answer it (Engine.claims): a CVE id, two currency names, a weather word plus a place, a "latest version" phrasing, a country plus an indicator. When a search names no category and no engines, the first three sources that claim the question join the default pool (SEARCH_MCP_CLAIM_ENGINE_LIMIT). They answer in well under a second and run in parallel with the web engines, so the search is no slower for them; a false claim costs one fast request that returns nothing. The response lists them under auto_routed, and the markdown says "Record sources: … answered this question directly". Measured 2026-09-22 on eleven questions asked without a category ("latest fastapi version", "CVE-2024-3094", "上海明天天气", "1万日元等于多少人民币", "现在东京几点", "2026年中国放假安排", "中国 2025 GDP", "btc price", "微信 iOS 版最新版本", "github.com domain expiry"), the record led in every one, in 2.0 to 7.2 s; "python asyncio tutorial" drew no claim and ran as before. category= still works and still routes, and SEARCH_MCP_AUTO_ROUTE_ENABLED=false turns the claims off.

The first result of such a source counts five times a general engine's in the rank fusion when it claimed the question or its category was asked for. The rule: one looked-up record outranks the whole four-engine default pool agreeing on a page about it, because the page's snippet is a crawl-time summary and the record is the publisher's own dated value. Later results from the same source (other candidate names, older advisories) count as ordinary native hits. Three sources have a lookup mode and a search mode and apply the weight only to the first: nvd and cisakev when the query holds a CVE id, ietf when it holds an RFC number. Measured 2026-09-21 on eleven category probes: with the ordinary doubling the PyPI record ranked below three snippets of the PyPI project page and Open-Meteo's numbers ranked third behind two weather portals; with the weight both lead. When a record and a web result are the same page (coingecko.com/en/coins/bitcoin found by DuckDuckGo too), the merged result keeps the record's title and snippet. A record that won the top rank is also the Lead: line, without the usual test that the snippet echoes the question: "10000 JPY = 425.70 CNY" answers "1万日元等于多少人民币" without sharing a word with it.

Each record carries its publisher's date as published_age, so the dated count and the per-result dated … marker apply. Open-Meteo's date is the observation time, Frankfurter's is the ECB's fixing date and CFETS's the trading day, and each snippet says the rate is a daily reference rather than a live quote. The IETF record claims no date, because the Datatracker's time is the record's last edit. The clock's date is the local date in the zone asked about.

These sources read the words of the question, so they are sensitive to phrasing in ways a web engine is not:

  • Package names are the query's words minus question words ("latest", "版本", "still supported", ecosystem names) and version numbers. @scope/name and owner/repo survive as one token. With no ecosystem named a bare name is asked of PyPI and endoflife.date; "npm", "crate", "maven", "gem", "go", "brew", "docker", "composer" and "nuget" pick the registry. github_releases accepts a searched repository only when its name matches one of those words, and claims a question only when a repository or GitHub is named, because the unauthenticated API allows 60 requests an hour.
  • openmeteo removes the weather words (weather, forecast, tomorrow, 天气, 明天) and geocodes what is left; the first match wins.
  • frankfurter needs two currencies as ISO codes or common names in English or Chinese (美元, 人民币, 日元, 英镑, 港币, 欧元, 新台币, 卢布, …); the first named is the base, and an amount (100, 2.5k, 1万) is converted. A pair outside the ECB's 31 currencies goes to the open ExchangeRate-API endpoint, and the result says so. cfets joins for a Chinese question about 人民币 or any question about the 中间价.
  • wikidata removes the fact words (population, area, founded, 人口, 面积) and searches for the entity that remains; a Chinese question searches Chinese labels and links the Chinese article. wdi needs a country it knows (about 70, in English or Chinese) and an indicator it knows; "Shanghai population" is Wikidata's, "China population" is both.
  • holidays needs a country and takes the year from the question (明年 and "next year" count); a Chinese question with no country means China. worldclock needs a city, country or zone it knows (about 60 cities); a Chinese question with none means Beijing.
  • osv guesses the ecosystem from words like pip, npm, cargo or go, and asks PyPI and npm when there is no hint. cisakev keeps the 1.7 MB catalogue in memory for six hours and answers from it.
  • rdap needs a domain and a registration word (expire, registrar, whois, 域名, 到期); gleif a company name and an entity word (legal entity, LEI, 法人, 注册地); coingecko a coin it knows by symbol or name (30 in the table, the rest through CoinGecko's search) and a price word; appstore an app name and an App Store word (iOS 版, app store).

All twenty-four are keyless JSON APIs (the clock makes no request at all) and stay out of the default pool. Three of them are site searches rather than lookups (mdn, federalregister, govuk); they take the ordinary native weight. Candidates for the next round, probed on 2026-09-21 with their limits and China coverage, are listed in docs/DATA_SOURCES.md.

The search deadline

A search returns when every engine has answered or, once at least one engine has answered with results, when SEARCH_MCP_SEARCH_DEADLINE_SECONDS (10) have passed since the fan-out started. Engines still running are cancelled and listed under timed_out_engines with a hint; their slot counts as an error, so the breaker benches an engine that keeps timing out. Measured 2026-09-21: the pool answers in 2 to 4 s and the tail was one browser-rendered engine at 15 s or more. A cancelled engine may be inside a browser render whose teardown takes seconds; the search waits one second for it and moves on. When nothing has answered by the deadline the search keeps waiting, because an empty answer delivered on time is worth less than a late one. 0 disables the deadline.

engines() prints this tree live from the registry. The tree is derived from what each engine declares, so it cannot drift from what runs.

Naming engines explicitly (engines=[...]) turns the routing off.

Sources that publish a stricter rate limit than our default declare it themselves. When such a source's bucket is empty it is skipped, because search is a parallel fan-out and queueing behind one slow source would add that delay to every other engine's results.

When an engine is gated (proxy · stand-ins · login)

Some engines are blocked by the provider: Google serves a JavaScript or CAPTCHA wall, Mojeek serves a captcha, and Zhihu needs a login. We don't defeat CAPTCHAs (ToS). The server handles a blocked engine in these ways:

  • Stand-ins are automatic. A walled engine is benched and a reserve takes its seat. If the search still comes back empty, one bounded rescue pass runs (see Engines). Results are attributed to the engine that produced them.
  • A proxy is the fix for IP gating. Set SEARCH_MCP_PROXY (http/https/socks5, optional user:pass@). It routes the HTTP engines, the browser, and fetch through a non-blocked IP. Scope it with SEARCH_MCP_PROXY_ENGINES="google zhihu".
  • The response carries diagnostics. gated_engines and gated_hint say which engine hit what (captcha / consent / login / javascript, or off_topic for a discarded decoy page) and how it was handled. benched_engines and benched_hint say which engines were not asked at all, and for how long.
  • For Zhihu, log in once: run uv run search-mcp-login zhihu. A browser opens, you log in, the cookies persist, and zhihu search then works. This requires a desktop session.

When results are thin, the remedies are, in order: rephrase the query, pass category=, name engines=["so360","baidu"] for Chinese content or engines=["brave"] / ["startpage"] if Chromium is installed, and use a proxy if the diagnostics show a real wall. An agent should not reach for an API key as the fix; see Optional: bring your own key.

The full guide is docs/PROXY_AND_GATES.md.

brave and baidu gate headless browsers after a handful of calls (PoW CAPTCHAs, "something went wrong" pages, redirect wrappers). Name them only when the default pool can't find what you need.

Sparse-result diagnostics

When filters drop results so aggressively that ≤3 are returned, the response includes filter_diagnostics so the LLM knows which setting to relax. Example for category="forum" + exclude_text="beginner":

text
⚠️ **Filter diagnostics** (results were sparse)
Raw results: 20 across 3 engines → 0 after filters.
Top drops: category_forum (20).
Hint: Filters dropped 20 of 20 raw results. Most were excluded by
category=forum. Try widening or removing one filter.

Install

There are four ways to install, listed in the order most people should try them. All four run the same server, and none of them asks for an API key.

1. The plugin (Claude Code and Codex)

text
/plugin marketplace add sweetcornna/free-search-mcp
/plugin install free-search@free-search-mcp

Outside the TUI the same two steps are:

bash
claude plugin marketplace add sweetcornna/free-search-mcp
claude plugin install free-search@free-search-mcp -s user

In Codex:

bash
codex plugin marketplace add sweetcornna/free-search-mcp
codex plugin add free-search@free-search-mcp

A [mcp_servers.search] entry already in ~/.codex/config.toml silently shadows the plugin's server of the same name, so run codex mcp remove search first. Codex reads the same marketplace file and the plugin's .mcp.json, so it starts the same pinned server.

The marketplace is this repo (.claude-plugin/marketplace.json), and the plugin is plugins/free-search. It contains three things. The MCP server and the skill load in both hosts: Codex lists the skill as free-search:verified-research (checked with Codex CLI 0.154). The agent file is in Claude Code's format, and Codex gets the same agent another way (see Delegating a lookup).

  • The stdio MCP server search, started as uvx free-search-mcp==<plugin version>. Because of that pin the plugin version matches the package version: plugin 0.12.0 runs package 0.12.0, and /plugin update free-search is what moves you to a newer server.
  • One skill, verified-research. Search snippets are only leads, yet agents tend to answer from them: they quote a prize, a deadline or a version out of a snippet without opening the page or checking what year the page is from. The skill is the workflow for that case: open the primary page, read its date against today's, corroborate, and say what could not be verified.
  • One agent, free-search:quick-search (plugins/free-search/agents/quick-search.md). It takes one question, makes one research call that searches and reads the top pages, and replies with an answer of one to three sentences, up to five source lines that each carry the page's date, and a "Not verified" line when something could not be confirmed. The pages it read stay out of the main conversation. Claude delegates to it from its description, or you can @-mention it or ask to "use the quick-search agent". It is built to return fast: it runs on haiku, stops after at most 6 turns, sees four tools (research, search, fetch, read_doc) and loads neither the skill nor your CLAUDE.md. The same tool list makes it read-only, with no shell, no file tools, no download and no other MCP server. It treats text on fetched pages as evidence and does not follow instructions found in it, and it never asks for an API key. A nested Claude Code session that delegated one version lookup to it finished in 25 s and cost $0.09 (2026-09-21). For facts someone will act on, run the verified-research skill in the main conversation instead.

The cost: there are no hooks, and nothing runs unless the agent calls it. claude plugin details projects about 340 tokens added to every session, about 210 for the skill's description and about 130 for the agent's, so that Claude knows both exist. The skill's body (about 2.1k tokens) loads only when a lookup needs verifying, and the agent's prompt (about 560) only when it is spawned. The MCP tool definitions cost the same on any install path.

Configuration lives in the same place as for any other install (~/.config/search-mcp/.env). Chromium for the browser-rendered engines is the one optional follow-up: uvx --from free-search-mcp playwright install chromium.

2. Claude Desktop: the one-click bundle

From 0.12.0, every GitHub Release carries free-search-mcp-<version>.mcpb. Download it and double-click it, or open it from Claude Desktop's Settings, under Extensions. Claude Desktop runs the pinned package through uv and shows a settings form with three optional fields: proxy, region and cache directory. The form has no API-key field because the server does not use one.

To edit the JSON by hand, see Wire into Claude Desktop.

3. MCP Registry

From 0.12.0 the release workflow publishes the server to the official MCP Registry as io.github.sweetcornna/free-search-mcp. A client or gateway that installs from the registry resolves that name to the PyPI package free-search-mcp, run with uvx over stdio. The entry declares only the optional proxy, region and cache-directory variables.

4. Alternatives: uvx, a source checkout, Docker

uvx, registered by hand, runs the same published package as the plugin. It resolves to whatever PyPI holds at first launch, nothing tells you when a newer version exists, and you do not get the skill. The quick-search agent is one command away, as Delegating a lookup shows:

bash
claude mcp add search -s user -- uvx free-search-mcp   # Claude Code
codex mcp add search -- uvx free-search-mcp            # Codex
uvx free-search-mcp                                    # or run the stdio server directly

For any other MCP client, point it at the command uvx free-search-mcp (stdio).

A source checkout takes one command. Use it for working on the code, or on a machine where you want Chromium with its OS deps, a smoke test and client registration in one step:

bash
curl -LsSf https://raw.githubusercontent.com/sweetcornna/free-search-mcp/main/scripts/install.sh | bash -s -- --client claude-code

The remote installer clones or updates ~/.local/share/free-search-mcp, installs uv if needed, syncs dependencies, installs Chromium, smoke-tests the MCP server, then registers it with the requested client:

bash
--client claude-code      # Claude Code user-scope config
--client claude-desktop   # claude_desktop_config.json
--client codex            # Codex config
--client generic          # print portable MCP JSON for other agents
--client add-mcp          # delegate to npx add-mcp
--client both             # Claude Code + Claude Desktop
--client all              # Claude Code + Claude Desktop + Codex
--client none             # install only, no client config changes

For Codex, Cursor, Cline, Continue, Zed and generic agent guidance, see docs/AGENT_USAGE.md.

To work from a local checkout:

bash
git clone https://github.com/sweetcornna/free-search-mcp.git
cd free-search-mcp
./scripts/install.sh --client none

To do the same steps by hand:

bash
uv sync
uv run playwright install chromium
cp .env.example .env        # optional: customize engines/limits

Run as a stand-alone server (stdio transport):

bash
uv run search-mcp

Or serve it over HTTP. MCP revision 2026-07-28 removed protocol-level sessions, so the HTTP endpoint is stateless: it needs no sticky routing, and any replica can answer any request:

bash
uv run search-mcp --transport streamable-http --port 8000   # → http://127.0.0.1:8000/mcp

The HTTP endpoint has no authentication and will fetch arbitrary URLs on behalf of whoever reaches it. It binds 127.0.0.1 by default; if you change --host, put an authenticating reverse proxy in front. A DNS-rebinding guard rejects unknown Origin/Host headers; add trusted browser origins with SEARCH_MCP_HTTP_ALLOWED_ORIGINS. This is a separate process and port from the local settings page (search-mcp-admin, port 8765), which stays loopback-only because it writes your proxy credentials and any keys you chose to add.

Docker runs the server containerized over stdio:

bash
docker compose build
docker compose run --rm search-mcp     # attaches stdio for MCP

Config & env vars

All settings are env vars prefixed with SEARCH_MCP_. Copy .env.example to .env and edit it. The file documents every setting, including the engine pools (SEARCH_MCP_DEFAULT_ENGINES and the reserve / fresh / locale lists). The full table is under [Configuration](#co

Free Search MCP MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Free Search MCP verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Free Search MCP als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Free Search MCP an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "free-search-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Free Search MCP. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Free Search MCP.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Free Search MCP?
Free Search MCP
Jo. Ech hunn et gelies.
Dat hunn ech mat Free Search MCP fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Free Search MCP benotzt?

Free Search MCP ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Free Search MCP MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Free Search MCP mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Free Search MCP MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Free Search MCP verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Free Search MCP MCP mat TypingMind?

Free Search MCP leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Free Search MCP MCP an TypingMind zur Verfügung?

Free Search MCP stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Free Search MCP MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Free Search MCP eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇