MCP Research Tools
Local-first MCP server that gives Claude Code web search, page reading, video transcription, and image analysis — without paid API keys. Runs SearXNG + whisper.cpp natively on Apple Silicon for zero-cost, low-latency research workflows.
README
MCP Research Tools
Local-first MCP server that gives Claude Code web search, page reading, video transcription, and image analysis — without paid API keys. Runs SearXNG + whisper.cpp natively on Apple Silicon for zero-cost, low-latency research workflows.
Why this exists
If you run AI agents that search the web as part of their workflow, the API bills add up fast. A single search API call costs fractions of a cent, but when your agent is working around the clock — researching, fetching pages, pulling transcripts — those fractions compound into real money. This server eliminates that cost entirely by running everything locally: SearXNG aggregates 70+ search engines with no API key, trafilatura extracts clean text from any page, and whisper.cpp transcribes audio on-device using Metal acceleration. Plug it into Claude Code via MCP and your agent can research freely without a meter running.
Architecture
Docker Native (Mac mini)
┌──────────────┐ ┌─────────────────────────┐
│ SearXNG │◄── JSON API ──────│ MCP Server (FastMCP) │
│ :8080 │ │ ├─ searxng_search │
│ Redis │ │ ├─ web_fetch │
└──────────────┘ │ ├─ process_video │
│ └─ analyze_image │
└────────┬────────────────┘
stdio │ streamable-http
Claude Code / Agent Harness
SearXNG + Redis run in Docker. The MCP server and media tools (ffmpeg, yt-dlp, whisper-cli) run natively so whisper gets Apple Silicon Metal acceleration.
Quick Start
git clone https://github.com/hippogriff-ai/mcp-research-tools.git
cd mcp-research-tools
chmod +x install.sh
./install.sh
The install script:
- Installs
ffmpeg,yt-dlp,whisper-cppvia Homebrew - Downloads the Whisper
smallmodel (~465MB) - Starts SearXNG + Redis via Docker Compose
- Creates a Python venv and installs the project
Tools
searxng_search — Web Search
Queries local SearXNG instance (70+ search engines aggregated, zero API cost).
searxng - searxng_search(query="your search", max_results=10, engines="duckduckgo,brave")
Returns: { query, results: [{ title, url, snippet, engine, score }], count }
web_fetch — Page Fetch
Downloads a web page and extracts clean readable text via trafilatura. No DOM bloat.
searxng - web_fetch(url="https://example.com", extract_text=true)
Returns: { status_code, url, content_type, content_text, title }
process_video — Video Processing
Downloads YouTube/TikTok videos, trims to 120s, extracts audio + keyframes every 3s, transcribes audio via whisper-cli.
searxng - process_video(url="https://youtube.com/watch?v=...")
Returns: { transcript, frames: ["/tmp/.../frame_0001.jpg", ...], audio_path, duration_seconds }
analyze_image — Image Analysis
Fetches images from URLs (cached locally) or validates local paths for Claude vision reasoning.
searxng - analyze_image(source="https://example.com/photo.jpg")
Returns: { path, exists, content_type }
Usage
Claude Code (stdio)
Add to your project .mcp.json:
{
"mcpServers": {
"searxng": {
"command": "/path/to/mcp-research-tools/venv/bin/python",
"args": ["-m", "mcp_research_tools.server"]
}
}
}
Or add globally in ~/.claude.json under the mcpServers key for every session.
Remote Agent Harness (streamable-http)
source venv/bin/activate
MCP_TRANSPORT=streamable-http MCP_HOST=0.0.0.0 MCP_PORT=9000 \
python -m mcp_research_tools.server
Connect from client at http://<mac-mini-ip>:9000/mcp.
Configuration
All settings via environment variables:
| Variable | Default | Description |
|---|---|---|
SEARXNG_URL |
http://localhost:8080 |
SearXNG instance URL |
MCP_TRANSPORT |
stdio |
Transport: stdio or streamable-http |
MCP_HOST |
127.0.0.1 |
Bind host for HTTP transport |
MCP_PORT |
9000 |
Port for HTTP transport |
MAX_VIDEO_SECONDS |
120 |
Max video duration to process |
FRAME_EVERY_SECONDS |
3 |
Keyframe extraction interval |
WHISPER_MODEL |
small |
Whisper model (tiny/base/small/medium/large) |
WHISPER_CPP_BIN |
whisper-cli |
Whisper binary name |
WHISPER_MODEL_PATH |
~/.cache/whisper-cpp/ggml-small.bin |
Path to whisper model |
MAX_FETCH_SIZE_MB |
10 |
Max page download size |
FETCH_TIMEOUT_SECONDS |
30 |
Page fetch timeout |
Requirements
- macOS with Apple Silicon (M1/M2/M3/M4)
- Docker Desktop
- Homebrew
- Python 3.13+
Development
source venv/bin/activate
# Run tests
pytest tests/ -v
# Lint
ruff check src/ tests/
Managing SearXNG
# Start
docker compose up -d
# Stop
docker compose down
# Logs
docker compose logs -f searxng
# Test JSON API
curl 'http://localhost:8080/search?q=test&format=json' | python3 -m json.tool
Acknowledgements
This project is built on top of SearXNG, a free internet metasearch engine that aggregates results from 70+ search services. SearXNG is what makes zero-cost, private web search possible — massive thanks to their maintainers and contributors.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。