Kagi MCP 服务器
设置说明
首先,除非您只使用非搜索工具,否则请确保您有权访问搜索 API。该 API 目前处于封闭测试阶段,可根据要求提供。请联系support@kagi.com获取邀请。
首先安装 uv。
MacOS/Linux:
视窗:
通过 Smithery 安装
或者,您可以通过Smithery安装 Kagi for Claude Desktop:
使用 Claude Desktop 进行设置
需要使用工具的姿势查询
例如搜索“谁是《时代》杂志 2024 年度人物?”,或总结“总结这个视频: https://www.youtube.com/watch?v =jNQXAC9IVRw”。
调试
跑步:
本地/开发设置说明
克隆仓库
git clone https://github.com/kagisearch/kagimcp.git
安装依赖项
首先安装 uv。
MacOS/Linux:
视窗:
然后安装 MCP 服务器依赖项:
使用 Claude Desktop 进行设置
使用 MCP CLI SDK
手动
需要使用工具的姿势查询
例如搜索“谁是《时代》杂志 2024 年度人物?”,或总结“总结这个视频: https://www.youtube.com/watch?v =jNQXAC9IVRw”。
调试
跑步:
然后通过http://localhost:5173
访问 MCP 检查器。您可能需要在检查器的环境变量中,将 Kagi API 密钥添加到KAGI_API_KEY
下。
高级配置
- 可以通过
FASTMCP_LOG_LEVEL
环境变量调整日志记录级别(例如FASTMCP_LOG_LEVEL="ERROR"
) - 可以使用
KAGI_SUMMARIZER_ENGINE
环境变量定制摘要引擎(例如KAGI_SUMMARIZER_ENGINE="daphne"
)- 了解不同的摘要引擎
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.Last updated -42Python
- -securityFlicense-qualityAn MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.Last updated -1Python
- -securityFlicense-qualityA MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.Last updated -5TypeScript
- AsecurityAlicenseAqualityAn MCP server implementation that allows AI assistants to access, search, and interact with Dev.to content, including fetching articles, retrieving user information, and publishing new content.Last updated -1053PythonMIT License