# MarcellM01/TinySearch [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/MarcellM01/TinySearch  
**GitHub Stars:** 243  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/marcellm01-tinysearch

## Description
Self-hosted web research for MCP agents: search (SearXNG, with DuckDuckGo fallback), crawl, dense+BM25 rerank, and dedupe into a source-grounded, cited prompt. Local ONNX embeddings by default, or bring an OpenAI-compatible embedding API.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "tinysearch": {
    "command": "uvx",
    "args": ["--from","tinysuite-search[server]","tinysearch"]
  }
}
```

## Documentation

## What MarcellM01/TinySearch does

MarcellM01/TinySearch gives MCP clients a retrieval layer for web research. It finds candidate pages, reads selected URLs, removes low-value content, and returns original passages linked to their source URLs. The output is intended to help an agent produce answers whose claims can be traced to retrieved page text.

The project treats retrieval and summarization as separate jobs. TinySearch selects evidence before the language model sees it; it does not rewrite the returned passages into a summary. Search results and scraped content can be batched so one request covers multiple independent research questions.

## How it works

The default lightweight search path uses DDGS and requires no search service or paid search key. A fuller deployment can use SearXNG, including the bundled SearXNG service in the Docker setup. After discovery, TinySearch crawls or scrapes relevant pages and applies BM25 and embedding-based reranking to choose pages and passages within a configured evidence budget.

Local ONNX embeddings are the default, which keeps page content away from an embedding provider. An OpenAI-compatible embedding endpoint can be selected when preferred. TinySearch also includes a Chromium-backed browser for pages that need interactive navigation. Browser actions are restricted to elements already shown to the model, and the browser cannot execute code.

The recommended workflow is to use `search` for discovery, then pass worthwhile URLs to `scrape_urls` for focused extraction. The server communicates through MCP over stdio or Streamable HTTP. Python library and Docker entry points are also available.

## Setup and configuration

For an MCP client that launches the process locally, install `uv` and configure the server with the `uvx` entry point:

```json
{
  "mcpServers": {
    "tinysearch": {
      "command": "uvx",
      "args": ["--python", "3.12", "--from", "tinysuite-search[server]", "tinysearch"]
    }
  }
}
```

The Python package can be installed with `pip install tinysuite-search`. The Docker deployment adds SearXNG, persistent model storage, and an HTTP MCP endpoint. Running the setup command before use can initialize Chromium and the configured embedding model ahead of the first scrape.

Python 3.12 or newer is supported. Configuration covers search backends, browser behavior, CDP connections, proxies, fallback fetching, activity recording, and OpenTelemetry. An external browser can be used over CDP, and an optional fallback fetcher is available for supported deployments.

## Tools and capabilities

The MCP interface exposes five tools:

- `search` discovers web results and can handle batched queries.
- `scrape_urls` extracts selected page content for focused research.
- `browser_navigate` opens a page in the managed or external browser.
- `browser_act` interacts with visible page elements without running page code.
- `get_current_datetime` returns the current date and time.

Search and scraping preserve source URLs with returned text. Local BM25 and embedding reranking reduce the material passed to the model, while deduplication removes repeated evidence. Activity recording is optional, and OpenTelemetry exports exclude queries, URLs, and page text.

## Limitations and notes

TinySearch reads public web pages and depends on the selected search, scraping, browser, proxy, and embedding configuration. It returns retrieved evidence rather than a finished summary, so the calling agent remains responsible for synthesis and citation formatting. Using an OpenAI-compatible embedding backend sends the text selected for vectorization to that provider. Downloaded embedding model weights have their own model-card licenses; the project itself uses the MIT License.

_Full upstream README: https://allmcps.com/mcp/marcellm01-tinysearch/readme_

