
Searchpin
from telly6
Self-hosted web search for AI agents โ multi-engine parallel search with embedding-based result reranking. Zero API keys, pip install.
Searchpin
Self-hosted web search for AI agents โ zero API keys, zero cost. In 2026, the center of gravity in AI development is shifting from "chatting" to "autonomous task execution" โ locally deployed, long-running agents are becoming the norm. When an agent runs 24/7, every web search must not be interrupted by API quotas or billing. Searchpin was designed for this from day one: zero external dependencies, zero usage limits. Agents can search, fetch, and verify without restriction, and developers never worry about cost.
Why Searchpin
๐จ๐ณ Optimized for Chinese Network Environments
Defaults to Baidu, Sogou, Bing CN, and Bing Intl โ four search engines queried in parallel. Works natively within China's network, no proxy or VPN needed. Most overseas alternatives rely on Google, DuckDuckGo, or Brave, which are largely inaccessible inside China.
๐ง Semantic Re-ranking โ a Differentiator Few Offer
Results from all four engines are not simply concatenated. They are merged and re-ranked by an embedding model based on semantic similarity to the query. What your AI receives is a curated list of high-quality results, not a pile of noisy links. Among free MCP search servers, very few offer this capability.
๐ฐ Completely Free, Zero Barrier
No account registration, no API key application, no usage limits. No dependency on any commercial API โ no risk of sudden paywalls or quota restrictions. The entire pipeline runs on your own machine.
๐ Built for Modern Websites
Built-in SSR content extraction can parse pages rendered by Next.js, Nuxt, and similar frameworks, and extract JSON-LD structured data and microdata. Plain HTML scraping gets nothing from these sites.
๐ก๏ธ Pollution Detection + Cross-Verification
Automatically detects and flags results unrelated to your query. Four independent search engines provide cross-verifiable results, enabling your LLM to corroborate information across sources for more credible answers.
โก Deliberate Engineering Trade-offs
Every design decision was made with real-world usage in mind:
- Token-conscious โ Search results return only titles, URLs, and snippets. Structured extraction data is compact and truncated. Your LLM decides which pages are worth fetching in full, without wasting context window.
- Fast response โ Four engines queried asynchronously in parallel. Total time depends on the slowest engine, not the sum of all four. A typical search completes in 1โ2 seconds.
- Memory-friendly โ The embedding model (~118MB) is downloaded once through hf-mirror.com (HuggingFace mirror for China), then reused from local cache.
pip install searchpin && searchpin-setupQuick Start
pip install searchpin && searchpin-setupOn first run, the embedding model (~118MB) is downloaded once via hf-mirror.com (HuggingFace mirror for China). That is the only one-time setup.
Configuration
Claude Desktop / Cursor / any MCP client
Add to your mcpServers config:
{
"mcpServers": {
"Searchpin": {
"command": "searchpin-server",
"args": []
}
}
}VS Code
Or manually, add to .vscode/mcp.json:
{
"servers": {
"Searchpin": {
"command": "searchpin-server",
"args": []
}
}
}Docker
docker run -i --rm ghcr.io/telly6/searchpin:latestPython API
from searchpin import SearchEngine
engine = SearchEngine()
results = engine.search("Python 3.13 ๆฐ็นๆง")
page = engine.fetch("https://docs.python.org/3/whatsnew/3.13.html")
engine.close()No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.