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
- -securityFlicense-qualityAn MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.Last updated -Python
- AsecurityFlicenseAqualityMCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.Last updated -154JavaScript
- AsecurityAlicenseAqualityAn MCP server that allows Claude AI to search, explore, and compare arXiv papers efficiently through a custom-built local server.Last updated -45PythonMIT License
- AsecurityAlicenseAqualityMCP server that provides Claude AI assistants with the ability to search the web, get news, and perform research using the You.com API.Last updated -4TypeScriptMIT License