strata-mcp
Enables site-scoped search across GitHub as part of social/developer platform search.
Provides integration with Google SERP for multi-engine web search, enabling search, ranking, and passage extraction from Google results.
Provides real-time Google News search with time-window filtering (tbs: qdr:w) and retrieval of dated news articles.
Offers REST API integration for LangChain workflows to use Strata search, extraction, mapping, and similarity capabilities.
Offers REST API integration for n8n workflows to use Strata search, extraction, mapping, and similarity capabilities.
Enables site-scoped search across Reddit as part of social platform search.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@strata-mcpsearch for asyncio TaskGroup docs and keep the results under 600 tokens"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Strata (strata-mcp & strata CLI)
Multi-layer web search, Hindsight TEMPR ranking, deterministic token-budget packing (max_tokens), serverless PDF parsing, and JS SPA extraction for AI Agents.
Agent Self-Onboarding: Are you an AI coding agent (Claude Code, OpenCode, Cursor, Codex)? Read
SKILL.mdorllms.txtto mint a free2,500-credit sandbox key and start querying in one command.
Why Strata? (The 3 Structural Advantages Over Tavily, Exa & Firecrawl)
Teams building production AI agents today are forced to stitch together multiple expensive APIs—and pay a heavy 2x credit penalty every time an agent extracts relevant passages from search results.
Strata consolidates Search + Passage Highlights + PDF/Markdown Extraction + Site Mapping + Similarity Discovery into one deterministic engine accessible via 4 channels:
MCP Server (
stdio& Remote HTTP): 12 native tools for Claude Code, Cursor, OpenCode, and Windsurf.Zero-Token Bash CLI (
npx strata ...): Saves ~3,000system-prompt tokens per turn compared to loading MCP schemas at rest.1-Line Drop-In Tavily Replacement (
POST /compat/tavily/search): Accepts standard Tavily SDK payloads (api_key,query,search_depth: "advanced") while charging 1 flat credit instead of 2.REST API (
POST /v1/search,/v1/extract,/v1/map,/v1/similar): Built for LangChain, Mastra, LlamaIndex, and n8n workflows.
Related MCP server: MyWebSearch MCP
1. Cost & Credit Efficiency Comparison (Verified October 2026)
Tavily and Firecrawl double your credit usage (2 credits) whenever your agent requests search with extracted passages (search_depth: "advanced"). Because Strata runs URL-aware Okapi BM25 and Hindsight TEMPR ranking on our own CPU layer, passage highlights are included for 1 flat credit.
Monthly Agent Workload | Strata (1x Flat Credit) | Tavily API ( | Exa AI ( | Firecrawl (2 cr / search) | Your Savings with Strata |
Free Tier Allowance |
|
|
|
| 2.5× more free searches |
25,000 Searches + Highlights | $19 / mo (Starter Plan) | $250 – $400 / mo (50k credits) | $175 / mo | $99 / mo (Standard Plan) | Save 81% – 95% |
100,000 Searches + Highlights | $49 / mo (Team Plan) | $1,000 – $1,600 / mo (200k credits) | $700 / mo | $399 / mo (Growth Plan) | Save 88% – 96% |
400,000 Searches + Highlights | $149 / mo (Scale Plan) | $4,000+ / mo (800k credits) | $2,800 / mo | $749 / mo (Scale Plan) | Save 80% – 96% |
Sources verified 2026-10-15 (Grade A primary documentation): docs.tavily.com/documentation/api-credits, exa.ai/pricing, firecrawl.dev/pricing.md.
2. Live E2E Latency, Multilingual Precision & Token Efficiency
All benchmarks below are reproducible and versioned in benchmarks/search-quality/runs/2026-10-15-phase2-serper-tempr/live-results.json.
Head-to-Head Benchmark Ledger
Task ID | Workload / Query | Tavily MCP | Strata v1.5 (Google SERP + TEMPR) | Key Engineering Takeaway |
| Repeat Agent Query ( |
|
| -99.8% latency when multiple agents or turns query the same topic. |
| Hindsight TEMPR Token Budget ( | Unsupported (fixed top-K) |
| Packs best-first into |
| Technical Search EN + 3-Page Highlights |
|
| URL-aware BM25 + official |
| Academic Paper Search + PDF Highlights |
|
| Also extracts |
| Multilingual Technical Docs (Italian) |
|
| Explicit locale routing ( |
| Negative Control (Invented Product) | 5 False Positives ( |
| Clean abstention prevents downstream LLM hallucinations on non-existent entities. |
| Real-Time Google News ( | N/A |
| Sub-800ms fresh news retrieval via |
How Hindsight TEMPR Saves 60–80% of Your LLM Input Tokens
Adapted from vectorize-io/hindsight, Strata replaces naive character truncation with three deterministic scoring stages:
URL-Aware Okapi BM25 (
k1 = 1.5, b = 0.75): Tokenizes title (2xweight), URL host/path slugs (docs,python,asyncio), and body text, applying a1.35xboost to official documentation hosts (docs.*,developers.*,*.readthedocs.io).Multiplicative Recency × Proof-Count Boost: $$\text{final_score} = \text{score} \times \bigl(1 + 0.2(\text{recency} - 0.5)\bigr) \times \bigl(1 + 0.1(\text{proof_norm} - 0.5)\bigr)$$ where $\text{proof_norm} = \text{clamp}(0.5 + \ln(\text{providers.length})/10, 0, 1)$ rewards URLs corroborated by multiple search engines without letting a fresh but irrelevant page leapfrog a high-relevance match.
Token Budget Packing (
max_tokens): Packs extracted passages best-first into your exact context window budget (max_tokens: 600), skipping an oversized chunk to fit higher-density shorter chunks ranked behind it.
3. Quickstart (10 Seconds)
Step 1: Mint a Free Sandbox API Key (2,500 Credits/Month, No Card)
curl -s -X POST https://api.strata.sh/v1/keys/free \
-H "Content-Type: application/json" \
-d '{"label": "github-quickstart"}'Step 2: Connect via Your Preferred Channel
Channel A — MCP Server (Claude Code, Cursor, OpenCode, Windsurf)
Add to ~/.config/opencode/opencode.jsonc or claude_desktop_config.json:
{
"mcpServers": {
"strata": {
"command": "npx",
"args": ["-y", "strata-mcp"],
"env": {
"STRATA_API_KEY": "st_free_YOUR_API_KEY",
"STRATA_API_URL": "https://api.strata.sh"
}
}
}
}Channel B — Zero-Token Bash CLI (0 System-Prompt Overhead)
export STRATA_API_KEY="st_free_YOUR_API_KEY"
export STRATA_API_URL="https://api.strata.sh"
# 1. Search with Hindsight TEMPR token budget cap
npx strata-mcp search "Python asyncio TaskGroup exception handling" --limit 5 --max-tokens 600
# 2. Extract HTML, /llms.txt, or PDF files
npx strata-mcp extract "https://docs.python.org/3/library/asyncio-task.html"
# 3. Map a documentation site (<sitemapindex> + 4-worker concurrent BFS)
npx strata-mcp map "https://modelcontextprotocol.io" --limit 20
# 4. Find externally similar pages (Entity-Overlap tanh + BM25)
npx strata-mcp similar "https://docs.python.org/3/library/asyncio-task.html" --limit 5
# 5. Calculate monthly workload savings vs Tavily, Exa & Firecrawl
npx strata-mcp cost --searches 25000 --extracts 5000 --research 500Channel C — 1-Line Drop-In Replacement for Tavily SDKs (POST /compat/tavily/search)
Already using Tavily? Change only the endpoint URL to https://api.strata.sh/compat/tavily/search and pay 1 credit instead of 2 on search_depth: "advanced":
curl -X POST https://api.strata.sh/compat/tavily/search \
-H "Content-Type: application/json" \
-d '{
"api_key": "st_free_YOUR_API_KEY",
"query": "Google Search Central robots.txt documentazione italiano",
"search_depth": "advanced",
"max_results": 5
}'4. All 12 MCP Tools & Credit Weights
MCP Tool | REST Endpoint | Credit Cost | Description |
|
| 1 credit | Multi-engine search, RRF fusion, BM25/semantic reranking, Hindsight TEMPR boosts, |
|
| 1 credit | Site-scoped search across X ( |
|
| 1 credit | Seed URL profiling + lexical cosine + BM25 + Entity-Overlap |
|
| 1 credit |
|
|
| 1 credit | Single-URL extraction across HTML, |
| Local / MCP | 1 credit | DOM table & row extraction with deterministic |
| Local / MCP | 1 credit | Deterministic SERP domain-diversity score ( |
| Local / MCP | 1 credit | Reads the cached discovery report from disk with zero network calls. |
| Local / MCP | 2–3 credits | Parallel extraction for up to 20 URLs ( |
| Local / MCP | 3 cr ( | 2-hop adaptive research: parallel Hop-1 sub-queries, emergent term extraction for Hop 2, RRF fusion & cited report. |
| Local / MCP | 3 credits | Queries 10 authoritative AI/engineering sources and saves |
| Local / MCP | 5 credits | Combines |
5. Self-Hosted Local Mode (Optional Docker Stack)
If you prefer to run Strata 100% locally with deedy5/ddgs (Rust primp TLS impersonation) and Crawl4AI:
git clone https://github.com/alexgenovese/strata.git
cd strata
npm install && npm run build
docker compose up -d
STRATA_MODE=local npm testLicense
MIT © Alex Genovese
This server cannot be deployed
Maintenance
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
Search the agentic web. 4,100+ sites, 11 tools incl. check_url + verify_mcp for probe-before-use.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides local-first web intelligence over MCP with tools for search, fetch, crawl, extract, cache, find-similar, research, and autonomous agent loops, requiring no API keys.10677 npm5,478AGPL 3.0
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to perform unified web research through a single MCP server, including search, page fetching, recursive crawling, document parsing, YouTube transcript extraction, and deep multi-query research.3-
- AlicenseBqualityBmaintenanceEnables AI agents to perform web searches and extract full-text content from web pages via standard MCP tools, with fallback search and semantic reranking.22MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform web research over MCP: search with a real browser, fetch JS-rendered pages, download PDFs and convert them to Markdown, then search and page through large documents using bounded previews so the context window isn't flooded.BSD Zero Clause