# tinysearch [Health: Active]

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

## Description
Self-hosted web research for MCP agents.

## 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 tinysearch does

tinysearch provides a local web-research layer for MCP agents. It combines web discovery, page extraction, passage selection, and optional browser interaction so an agent can investigate a question without sending entire webpages to the model.

The default workflow is to call `search` for lightweight discovery, review the returned results, and then pass selected URLs to `scrape_urls`. Scraped output contains original page text selected for relevance, along with the URL it came from. The system is retrieval-oriented: it does not rewrite the passages into summaries.

Five MCP tools are available:

- `search` for web discovery
- `scrape_urls` for extracting content from selected pages
- `browser_navigate` for opening pages in a real browser
- `browser_act` for interacting with visible browser elements
- `get_current_datetime` for obtaining the current date and time

Calls can be batched to cover independent subquestions.

## How it works

DDGS supplies the default search backend, while local BM25 and embedding-based reranking select relevant pages and passages within a configurable evidence budget. Local ONNX embeddings are the default, so page content can be processed without sending it to an embedding provider.

Browser support reuses the Chromium instance used by the scraper. Browser actions are limited to elements the model has already seen, and the browser tools cannot execute code. An external browser over CDP, SearXNG, OpenAI-compatible embeddings, proxies, and an optional fallback fetcher can be used when the default stack is not suitable.

Search starts without Chromium or an embedding model. The first scraping operation initializes Chromium, while focused scraping also initializes the configured embedding model. Running the setup command beforehand can pre-warm these components.

## Setup and configuration

For an MCP client using stdio, install `uv` and configure the client to launch:

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

The package requires Python 3.12 or newer. Install `tinysuite-search` to use the functionality directly from Python, or use the Docker setup for an HTTP MCP endpoint with SearXNG, persistent model storage, and the broader self-hosted stack. The repository also supports installation from source with `uv sync --extra server`.

Run `uvx --from "tinysuite-search[server]" tinysearch setup` to initialize Chromium and the embedding model before using workflows that need them. Configuration covers search backends, browser behavior, CDP, proxies, fallback fetching, activity recording, and telemetry.

## Limitations and notes

The default setup does not require a TinySearch account, hosted search key, per-request billing, or a paid search service. Activity recording is opt-in, and OpenTelemetry export excludes queries, URLs, and page text.

Search and scraping read public pages and return selected excerpts. If an OpenAI-compatible embedding backend is configured, text sent for vectorization is shared with that provider. Downloaded model weights retain the licenses specified by their model cards and third-party notices.

TinySearch is licensed under MIT. It can run over stdio or Streamable HTTP and is also included with TinyWebUI.

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

