local-search-gateway-mcp
Enables web searching through DuckDuckGo's HTML search interface.
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., "@local-search-gateway-mcpsearch for ceramic candle holder importers in Germany"
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.
Local Search Gateway MCP
本项目是一个运行在本地的 No-paid-API Search Gateway MCP Server,用于给 Codex / Hermes / AI Agent / Skills / Plugins 提供统一、透明、可控的免费联网搜索入口。
当前初始化版本
已落地 Phase 1 的基础闭环:
MCP stdio server
search_webfetch_urlsearch_extracthealthDuckDuckGo HTML 搜索适配器
Bing HTML 搜索适配器
静态 HTML 正文抽取
短期内存缓存
NO_PAID_API=true强约束语义SEARCH_PROXY_MODE=env配置语义与 health 透明输出
当前版本不接任何付费搜索 API,不写死代理,不自动切换代理节点。
Related MCP server: DuckDuckGo MCP Server
安装
npm install
npm run build本地开发
npm run dev运行
npm run build
npm startCodex MCP 配置示例
[mcp_servers.local_search]
command = "node"
args = ["/absolute/path/to/local-search-gateway-mcp/dist/server.js"]
[mcp_servers.local_search.env]
NO_PAID_API = "true"
SEARCH_PROXY_MODE = "env"
SEARCH_ENGINE_ORDER = "duckduckgo_html,bing_html"
SEARCH_HEADLESS = "false"如果用户自己需要代理,请自行在 MCP env 中传入:
[mcp_servers.local_search.env]
HTTP_PROXY = "http://127.0.0.1:7890"
HTTPS_PROXY = "http://127.0.0.1:7890"
ALL_PROXY = "socks5://127.0.0.1:7891"MCP Tools
search_web
{
"query": "ceramic candle holder importer Germany",
"limit": 5,
"policy": "free_auto"
}fetch_url
{
"url": "https://example.com",
"max_chars": 4000
}search_extract
{
"query": "site:example.com products",
"limit": 3,
"mode": "abstract"
}health
{}环境变量
变量 | 默认值 | 说明 |
|
| 语义强约束,不使用付费搜索 API |
|
| 只继承用户环境变量代理配置 |
|
| 搜索源顺序 |
|
| 单次请求超时 |
|
| 搜索请求 UA |
|
| 为后续 browser fallback 预留 |
产品文档
完整 PRD 见:docs/PRD.md
This server cannot be deployed
Maintenance
Related MCP Connectors
Web search and any page as LLM-ready Markdown for AI agents. Free keyless tier, no signup.
Search, scrape, and crawl the web for AI agents. Batch scraping and answers with citations.
Web search and page reading for AI agents with zero API credits
Free web search for AI agents. No API key required. Hosted MCP in active development.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables web search without API keys using DuckDuckGo and Bing search engines, and retrieves webpage content. Supports multiple search engines simultaneously with privacy protection and asynchronous processing.274 PyPI10MIT
- AlicenseNot gradedqualityDmaintenanceA free and unlimited web search server that enables AI models to search, crawl, and research web content using DuckDuckGo without requiring API keys. It features parallel crawling and a smart ranking system to prioritize the most relevant information for complex queries.111 npm4MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to search the web, find news, and read page content via DuckDuckGo without an API key.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform query-driven web searches and fetch page content via Bing and DuckDuckGo engines, with automatic fallback and no API keys needed.MIT