Kagi MCP Server
Kagi MCP 服务器
MCP 服务器允许使用 Kagi API 搜索网页
成分
资源
服务器实现API方法的调用:
fastgpt
丰富/网络
丰富/新闻
提示
服务器没有提供任何提示:
工具
该服务器实现了几个工具:
使用 ask_fastgpt 搜索网页并找到答案
enrich_web 使用网络内容丰富模型上下文
enrich_news 使用最新新闻来丰富模型内容
Related MCP server: Kagi MCP Server
配置
快速入门
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Kagi MCP 服务器:
npx -y @smithery/cli install kagi-mcp --client claude克劳德桌面
在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json
发展
构建和发布
准备分发包:
同步依赖项并更新锁文件:
uv sync构建软件包分发版:
uv build这将在dist/目录中创建源和轮子分布。
发布到 PyPI:
uv publish注意:您需要通过环境变量或命令标志设置 PyPI 凭据:
令牌:
--token或UV_PUBLISH_TOKEN或用户名/密码:
--username/UV_PUBLISH_USERNAME和--password/UV_PUBLISH_PASSWORD
调试
npx @modelcontextprotocol/inspector uv --directory path_to_project run kagi-mcpAvailable Tools
3 toolsask_fastgptC
Ask fastgpt to search web and give an answer with references
Inputs: query (required).
enrich_newsC
Enrich context with web content focused on non-commercial news and discussions.
Inputs: query (required).
enrich_webC
Enrich context with web content focused on general, non-commercial web content.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools have overlapping purposes that could cause confusion. 'enrich_news' and 'enrich_web' both enrich context with web content, differing mainly in focus (news vs general), which may not be clear to an agent. 'ask_fastgpt' also involves web content for answers, creating ambiguity in tool selection.
The naming follows a consistent verb_noun pattern throughout (ask_fastgpt, enrich_news, enrich_web), which is predictable and readable. There are no deviations in style, making it easy to parse.
With only 3 tools, the count feels thin for a web search and enrichment server, potentially limiting functionality. While not extreme, it may lack coverage for common operations like filtering or managing searches.
The tool set has significant gaps for a web content server. There are no tools for basic operations like searching without enrichment, filtering results, or handling different content types beyond news and general web. This could lead to agent failures when trying to perform common tasks.
Maintenance
Related MCP Connectors
30+ web-access and AI APIs behind one key: search, scraping, browsers, voice, OCR and LLMs.
Web search, page fetch and cited research for AI agents: 26 engines, 8 tools, one key, from $15/mo.
Web search and page-reading for AI agents. One-click OAuth connect, or a Caesar API key.
Real-time web search, reasoning, and research through Perplexity's API
Related MCP Servers
- MIT
- AlicenseNot gradedqualityDmaintenanceEnables integration with Kagi search engine services including web search, content summarization from URLs, and AI assistant conversations. Uses session tokens to access Kagi's search API, summarizer, and AI models directly within MCP-compatible applications.14 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform real-time web searches, deep research, content extraction, and AI-powered answers via the KEIRO API.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to search Kagi using a personal Kagi Session Link, providing web search results and account lens information.24 npmMIT