kimi-search-mcp
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., "@kimi-search-mcp search the web for recent news about MCP servers"
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.
kimi-search-mcp
基于 Node.js 的本地 stdio MCP Server,将 Kimi 开放平台的联网搜索 Basic、联网搜索 Pro 和网页抓取 REST API 封装为三个 MCP 工具。
工具
工具 | Kimi API | 说明 |
|
| 返回标题、URL、摘要、日期和来源权威性,可选网页正文 |
|
| 返回相关正文片段,支持站点与发布时间过滤,适合问答、RAG 和研究 |
|
| 抓取指定 HTTP/HTTPS 网页,返回标题和 Markdown 正文 |
工程特性:
纯本地 stdio 模式,无需部署 HTTP 服务
API Key 只从环境变量
MOONSHOT_API_KEY读取408、429 和部分 5xx 错误自动重试,最多 3 次
搜索超时参数为 1–60 秒,客户端额外预留 10 秒网络时间
日志只写入 stderr,不干扰 stdio MCP 协议
Related MCP server: web-tools-mcp
要求
Node.js 18 或更高版本
Kimi API 开放平台的 API Key
安装
git clone https://github.com/Wildare-98/kimi-search-mcp.git
cd kimi-search-mcp
npm installKimi Code 配置
在用户级 ~/.kimi-code/mcp.json 或项目级 .kimi-code/mcp.json 中加入:
{
"mcpServers": {
"kimi-search": {
"command": "node",
"args": ["D:/AIFile/kimicode/Chatbot/kimi-search-mcp/index.js"],
"env": {
"MOONSHOT_API_KEY": "sk-你的key"
}
}
}
}将 args 中的路径替换为实际绝对路径。也可以把 MOONSHOT_API_KEY 设为系统环境变量,然后删除配置中的 env 段,避免把密钥写入配置文件。
新增配置只会注册到新会话。保存后新建会话,使用 /mcp 检查连接状态。
其他支持相同 JSON 配置的 MCP 客户端也可使用该配置,只需调整绝对路径。
使用建议
普通搜索先调用
kimi_search,保持include_content=false。需要直接获取相关段落、限定站点或时间时,调用
kimi_search_pro。已知 URL 或需要阅读完整网页时,调用
kimi_fetch。
搜索查询应尽量包含明确的实体、时间和来源限定词。kimi_search_pro 的 time_window 日期格式支持 YYYY、YYYY-MM 和 YYYY-MM-DD,sites 最多包含 5 个站点。
可选环境变量
变量 | 默认值 | 说明 |
| 无,必填 | Kimi API Key |
|
| API 基础地址,用于兼容代理或测试 |
计费
三个接口按成功且非空的结果分别计费;失败、超时或空结果不计费。详见联网搜索定价。
API 文档
Available Tools
3 toolskimi_fetchKimi Web FetchA
Fetch a single HTTP/HTTPS web page with Kimi and return its title and Markdown content. Use after kimi_search to read a specific URL. Subject to site availability, access controls, and Kimi security policy.
Inputs: url (required).
kimi_searchKimi Web Search BasicA
Search the web with Kimi Search Basic. Returns titles, URLs, snippets, dates, and source authority. Keep include_content=false for an overview, then use kimi_fetch on selected URLs, or set it to true when full page text is needed.
Inputs: text_query (required), limit, include_content, timeout_seconds.
kimi_search_proKimi Web Search ProA
Search the web with Kimi Search Pro. Returns relevant page excerpts ranked by relevance, with source URLs and authority. Best for web QA, RAG, research, and reports. Supports site and publication-date filters.
Inputs: text_query (required), limit, sites, time_window, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
kimi_fetch is clearly distinct from the two search tools. kimi_search and kimi_search_pro overlap heavily as web search operations, though the descriptions differentiate basic overview results from relevance-ranked excerpt results with filters.
All tools use a consistent kimi_ prefix with snake_case action names: kimi_search, kimi_search_pro, and kimi_fetch. The naming is predictable and easy to map to the intended operation.
Three tools are well-scoped for a web search and page-fetching server: two search modes plus a fetch operation. No unnecessary tools are present for the apparent purpose.
The server covers web search, advanced search, and single-page fetching, which supports the core search-and-read workflow. A batch fetch or multi-URL operation is missing, but agents can work around this by calling kimi_fetch per URL.
Maintenance
Related MCP Connectors
MCP server (stdio): fetch web pages as clean readable markdown via the AgentForge API
Official Exa MCP for web search, content fetching, and multi-step research.
Docs: https://docs.keenable.ai/mcp-server Keenable is a free, remote MCP server that gives agents access to the web index. Search the web with ranked results and date/site filters, then fetch any indexed page as clean markdown. Works out of the box with no account or API key.
Web search API and MCP server for developers building AI agents.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceEnables agents to perform web searches and fetch page content through Kimi Code's search/fetch capabilities via standard MCP tools.1-
- AlicenseNot gradedqualityCmaintenanceEnables web searching and fetching pages converted to Markdown through local stdio MCP tools, so Claude Code and other MCP clients connected via third-party relays retain internet access instead of failing with a server-side tool protocol error. Includes paginated reading of long articles, SSRF/private-network blocking, and charset handling for legacy Chinese sites.85 npmMIT
- AlicenseAqualityCmaintenanceEnables MCP-compatible clients to search the web and fetch HTTP/HTTPS pages as Markdown, returning result metadata such as titles, URLs, dates, relevance, and summaries.252 npm1MIT
- AlicenseAqualityBmaintenanceEnables MCP-capable AI clients to run web searches through DeepSeek's search engine and fetch individual webpages as Markdown. Search results include relevance scores, authority, and publication times, and support advanced query syntax such as site:, lang:, and date filters.251 npmApache 2.0