tinysearch MCP Server
Fast discovery search and self-hosted web research for MCP agents.
tinysearch scores 71 (Good), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Developer tools. GitHub shows 242 stars. Package registries report about 392 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
71 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 71 comes from
22 + 20 + 8 + 10 + 4 + 7 = 71. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "marcellm01-tinysearch": { "command": "docker", "args": [ "run", "-i", "--rm", "docker.io/marcellm01/tinysearch:v0.7.1" ], "env": { "MCP_TRANSPORT": "", "TINYSEARCH_CONFIG_PATH": "", "SEARXNG_URL": "", "TINYSEARCH_EMBEDDING_BACKEND": "", "TINYSEARCH_EMBEDDING_MODEL": "", "OTEL_SERVICE_NAME": "", "OTEL_EXPORTER_OTLP_ENDPOINT": "", "OTEL_EXPORTER_OTLP_PROTOCOL": "", "OTEL_EXPORTER_OTLP_HEADERS": "YOUR_OTEL_EXPORTER_OTLP_HEADERS", "OTEL_RESOURCE_ATTRIBUTES": "", "OTEL_TRACES_EXPORTER": "", "OTEL_METRICS_EXPORTER": "", "OTEL_SDK_DISABLED": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MCP_TRANSPORT | Optional | MCP transport to serve: stdio (default), sse, or streamable-http. |
TINYSEARCH_CONFIG_PATH | Optional | Path to a tinysearch_config.json inside the container, for overriding search/embedding defaults. |
SEARXNG_URL | Optional | SearXNG search endpoint URL. Only needed if not using the bundled Compose SearXNG service. |
TINYSEARCH_EMBEDDING_BACKEND | Optional | Embedding implementation: onnx (default) or openai_compatible. |
TINYSEARCH_EMBEDDING_MODEL | Optional | Local ONNX preset (fast, balanced, quality) or a Hugging Face ONNX repository id. |
OTEL_SERVICE_NAME | Optional | OpenTelemetry service.name resource attribute; defaults to tinysearch. |
OTEL_EXPORTER_OTLP_ENDPOINT | Optional | Common OTLP endpoint for optional TinySearch traces and metrics. |
OTEL_EXPORTER_OTLP_PROTOCOL | Optional | OTLP transport: http/protobuf (default) or grpc. |
OTEL_EXPORTER_OTLP_HEADERSSecret | Optional | Optional authentication or routing headers for the OTLP exporter. |
OTEL_RESOURCE_ATTRIBUTES | Optional | Additional standard OpenTelemetry resource attributes. |
OTEL_TRACES_EXPORTER | Optional | Set to otlp to enable traces explicitly or none to disable them. |
OTEL_METRICS_EXPORTER | Optional | Set to otlp to enable metrics explicitly or none to disable them. |
OTEL_SDK_DISABLED | Optional | Set true to disable all OpenTelemetry signals. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
TinySearch
Spend tokens on answers, not webpages.
Part of TinySuite. Comes built in to TinyWebUI, and works with any MCP client.
Read the documentation → tinysuite.dev/docs/tinysearch
TinySearch is the web-research layer of TinySuite, a set of small, local-first tools that make agents spend tokens on useful work rather than overhead. It searches the web, reads the best pages, removes low-value content, and returns compact evidence with source URLs, so your model receives the useful passages instead of paying to process entire webpages.
It is retrieval, not summarization: every returned chunk is the original page text, unedited and still attached to its URL, so what you cite is what the page actually said. In a benchmark against a plain search-then-fetch agent reading the same pages, it sent 64% fewer tokens to the model (docs/token-savings.md).
Highlights
- No vendor in the loop. No TinySearch account, no required API key, no per-request billing, no analytics service or hosted scraped-data cache. DDGS search and local ONNX embeddings are the defaults.
- Source-grounded by construction. A claim in your agent's answer traces back to one specific passage instead of stopping at "the vendor's model said this."
- Selection happens before the model. Local BM25 and embedding rerank pick pages and passages within an evidence budget you control.
- Five small MCP tools.
search,scrape_urls,browser_navigate,browser_actandget_current_datetime, with batching so one call can cover independent subquestions. - A real browser when a page needs one. The browser tools reuse the scraper's Chromium, act only on elements the model has seen, and can't execute code.
- Private by default. Nothing about what was searched is recorded unless you turn activity recording on, and OpenTelemetry export never carries queries, URLs or page text.
- Bring your own stack when needed. SearXNG, Brave, OpenAI-compatible embeddings, an external browser over CDP, proxies, and an optional fallback fetcher.
- Works where agents already work. MCP over stdio or Streamable HTTP, Python, FastAPI, or Docker.
Quick start
| Tier | Use it when | Entry point | Search backend |
|---|---|---|---|
| 1. Python library | You are building with TinySuite or Python | pip install tinysuite-search | DDGS |
| 2. One-command MCP | An MCP client should launch TinySearch for you | uvx --from "tinysuite-search[server]" tinysearch | DDGS |
| 3. Docker + SearXNG | You want the full self-hosted stack and HTTP MCP | docker compose ... up -d | Bundled SearXNG |
Tiers 1 and 2 need no search service. Tier 3 adds a dedicated SearXNG service, persistent model storage, and a network MCP endpoint; the installation guide covers it.
With uv installed, add TinySearch to any MCP client:
{
"mcpServers": {
"tinysearch": {
"command": "uvx",
"args": ["--python", "3.12", "--from", "tinysuite-search[server]", "tinysearch"]
}
}
}
The client launches TinySearch over stdio when it needs it. No repository clone, hosted account, or paid search key is required.
Fast search starts without Chromium or an embedding model. The first scrape initializes Chromium, and focused scraping also initializes the configured embedding model. Pre-warm both ahead of time if you will use those workflows:
uvx --from "tinysuite-search[server]" tinysearch setup
From Python, pip install tinysuite-search and call search and scrape_urls directly (Python library). The recommended flow is the same everywhere: search for lightweight discovery, then scrape_urls for the pages worth reading.
Documentation
The full reference lives at tinysuite.dev/docs/tinysearch:
| Topic | Covers |
|---|---|
| Quick start | MCP over stdio |
| Installation | Python, Docker with SearXNG, from source and entrypoints |
| MCP tools | Every tool, its parameters and response contract, including the browser tools |
| What your agent gets | The recommended flow, retrieval rather than summarization, when not to use it |
| Output formats | What search and scrape results look like, the FastAPI endpoints |
| Activity and management | Activity recording and the management views |
| OpenTelemetry | Traces and metrics |
| Configuration | Every setting and environment variable: search backends, browser, CDP, proxies, the fallback fetcher |
| Troubleshooting | Installation checks and common failures |
In this repository: docs/token-savings.md is the benchmark and the script to rerun it, docs/fallback-fetcher.md is the full contract a fallback fetch service implements, and configs/tinysearch_config.json is an annotated example configuration.
Development
git clone https://github.com/TinySuiteHQ/TinySearch
cd TinySearch
uv sync --extra server
uv run python -m unittest discover tests
TinySearch supports Python 3.12 and newer. CI tests Python 3.12, 3.13, and 3.14 across Linux, macOS, and Windows.
Questions, ideas, and bug reports are welcome on Discord, in GitHub issues, or by email.
License
TinySearch reads public pages and returns selected excerpts to the calling client. Search, crawling, local embeddings, and reranking can run without sending page content to an embedding provider. If you choose an OpenAI-compatible embedding backend, that provider receives the text sent for vectorization.
TinySearch is available under the MIT License. Downloaded model weights remain subject to their respective model-card licenses. See NOTICE for third-party distribution details.
Frequently asked questions
What is tinysearch MCP Server?
Fast discovery search and self-hosted web research for MCP agents.
How do I install tinysearch MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. tinysearch MCP Server runs locally from the Docker image docker.io/marcellm01/tinysearch:v0.7.1 with the command docker run -i --rm docker.io/marcellm01/tinysearch:v0.7.1.
Is tinysearch MCP Server free and open source?
Yes. tinysearch MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does tinysearch MCP Server support remote (HTTP) connections?
No remote endpoint is listed for tinysearch MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is tinysearch MCP Server's trust score calculated?
tinysearch MCP Server scores 71 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.