Are you the author? Sign in to claim
MCP search and evidence tool for AI agents with query rewriting, source zoom-in, sourced answers, and runtime metrics.
Better Answers, Bounded Extra CostDirect search baseline vs Zoom Search workflow | ||
Useful results | Answer quality | Extra budget |
1-5 -> 4-12more good sources | 2.0-7.2 -> 7.8-8.7stronger final answers | +5.9s to +12.2s+2.3k to +5.1k tokens |
Quickstart · Agent Tool · Agents · Benchmarks · Advanced Configuration
Zoom Search is a search and evidence tool for AI agents. It helps agents rewrite search questions, gather broader web evidence, zoom into high-value source domains, and return sourced answers with metrics.
It is built for agentic applications that need stronger source discovery, traceability, and answer grounding than a single search call.
pip install zoom-search
Run a deterministic local demo without API keys:
import asyncio
from zoom_search import search
async def main() -> None:
response = await search(
question="What hotels in Shenzhen have rooms with exercise bikes?",
demo_mode=True,
output_mode="answer_with_sources",
seed=7,
)
print(response.answer)
print(response.results)
asyncio.run(main())
Install the MCP extra:
pip install "zoom-search[mcp]"
Add Zoom Search to your MCP client:
{
"mcpServers": {
"zoom-search": {
"command": "zoom-search-mcp",
"env": {
"ZOOM_SEARCH_LLM_ENGINE": "gemini",
"ZOOM_SEARCH_LLM_MODEL": "gemini-2.5-flash",
"ZOOM_SEARCH_LLM_API_KEY": "YOUR_GEMINI_API_KEY",
"ZOOM_SEARCH_SEARCH_ENGINE": "tavily",
"ZOOM_SEARCH_SEARCH_API_KEY": "YOUR_TAVILY_API_KEY"
}
}
}
}
Your agent can then call the zoom_search tool with a question argument:
{
"question": "Which vector databases support hybrid search and metadata filtering for Python apps?",
"output_mode": "answer_with_sources"
}
The tool returns sourced answers, source-domain zoom-in, warnings, and runtime metrics.
Or wrap it as a LangGraph/LangChain tool:
import os
from langchain.tools import tool
from zoom_search import search
@tool
async def zoom_search_evidence(query: str) -> dict:
response = await search(
question=query,
llm_engine=os.environ["ZOOM_SEARCH_LLM_ENGINE"],
llm_model=os.environ["ZOOM_SEARCH_LLM_MODEL"],
llm_api_key=os.environ["ZOOM_SEARCH_LLM_API_KEY"],
search_engine=os.environ["ZOOM_SEARCH_SEARCH_ENGINE"],
search_api_key=os.environ["ZOOM_SEARCH_SEARCH_API_KEY"],
output_mode="answer_with_sources",
)
return response.to_dict()
See docs/agent-integration.md for MCP client configuration and provider environment variables.
Historical evaluations compare direct search against the Zoom Search agent workflow, showing better useful result coverage and stronger final answers with bounded extra time and token cost.
| Case | Good results | Answer quality | Extra time | Extra tokens |
|---|---|---|---|---|
| Playwright authentication reuse | 5 -> 7 | 6.6 -> 8.7 | +5.89s | +2,324 |
| GitHub Actions secrets inherit | 1 -> 4 | 2.0 -> 7.8 | +8.93s | +2,936 |
| Hydrangea pruning comparison | 4 -> 12 | 7.2 -> 8.4 | +12.17s | +5,073 |
See the full benchmark notes in docs/benchmarks.md.
Runnable examples for demo mode, streaming, conversation history, and LangGraph are available in the examples/ directory.
Zoom Search is open source under the MIT License.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows