# Trawlia [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/ayhoung/trawlia-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 197  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/trawlia

## Description
Web search and page extraction for agents, returned as readable text rather than raw JSON.

## Tools
Capabilities this server exposes over MCP:

- **trawlia_search** — Search the live web and get back ranked, deduplicated results. Use search_depth 'basic' (1 credit, ~10x faster) for most questions: it returns titles, URLs and snippets, which is enough to answer or to decide what to read. Use 'advanced' (2 credits) only when you need the actual text of the pages, because it fetches and extracts every result. Set topic 'news' for anything time-sensitive; it is tuned for recent events and returns publication dates.
- **trawlia_extract** — Fetch URLs you already have and return their readable content, with navigation, cookie banners and newsletter modals removed. Costs 1 credit per 5 URLs, so pass the whole list at once rather than calling this repeatedly. Use it when you already know which pages you want; use trawlia_search when you do not.

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

```json
"mcpServers": {
  "trawlia": {
    "command": "npx",
    "args": ["-y","trawlia-mcp"],
    "env": {
      "TRAWLIA_API_KEY": "",
      "TRAWLIA_BASE_URL": ""
    }
  }
}
```

**Requires environment variables:** `TRAWLIA_API_KEY`, `TRAWLIA_BASE_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Trawlia MCP server does

The Trawlia MCP server connects an MCP client to Trawlia’s API for two related tasks: searching the live web and extracting content from URLs. Its search tool can target general web results or news indexes, while its extraction tool processes URLs that the agent already has. Both return readable text designed for model context rather than exposing raw API response structures.

Search results are ranked and deduplicated. Queries are written in natural language, and optional controls can narrow the request by topic, domain, excluded domain, result count, or recency. News searches include publication dates. A basic search returns snippets, while an advanced search includes full page text.

## How it works

The client starts the server with `npx -y trawlia-mcp` and provides an API key through the environment. The server exposes `trawlia_search` and `trawlia_extract` over MCP. Search charges one credit in basic mode or two credits in advanced mode. Extraction costs one credit for each group of up to five URLs, so passing a list together is more efficient than making separate calls.

The Trawlia MCP server presents failed reads explicitly, including the reason a page was unavailable. It can also return a coverage notice when some sources could not be used. Human-readable error messages distinguish conditions such as exhausted credits from rate limiting and indicate whether retrying is appropriate.

## Setup and configuration

Create an account at Trawlia’s signup page to obtain an API key. The required variable is `TRAWLIA_API_KEY`; a search-scoped key is sufficient for deployment. The server uses `https://api.trawlia.co` by default. Set `TRAWLIA_BASE_URL` when pointing the client at a local or alternative server endpoint.

Claude Code can register the server with `claude mcp add`, passing the key with `--env`. Claude Desktop and Cursor can use a JSON MCP configuration containing the `npx` command, the `-y` argument, and the environment variable. A smoke test can be run with `TRAWLIA_API_KEY=... node smoke.mjs`; it calls the live API and consumes credits, so it is not suited to CI.

## Tools and capabilities

- `trawlia_search`: searches the web or news indexes using a natural-language query.
- `trawlia_search`: supports `basic` and `advanced` depth, with snippets or full page text respectively.
- `trawlia_search`: limits results by count, included or excluded host, and day, week, month, or year time ranges.
- `trawlia_extract`: retrieves readable content from one or more known URLs.
- Page extraction removes navigation, cookie notices, and newsletter modals.
- Results use readable text and report unavailable sources rather than silently presenting incomplete content as successful.

## Limitations and notes

The Trawlia MCP server only searches and extracts pages. It does not provide a crawler or a long-running job that an agent can poll, so it is not intended for walking an entire website. Search and extraction depend on the live web and the configured API service.

Credits are charged before work begins and refunded when a hard failure occurs. Set `max_results` for narrow tasks because the returned results enter the model’s context; omitting it may return roughly 20 to 60 results.

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

