Kagi MCP Server

Kagi MCP Server

允许使用 Kagi 的 API 进行网页搜索和内容增强,通过诸如 fastgpt、enrich/web 和 enrich/news 等方法实现。

网络搜索集成
编程文档访问
内容获取
数据库交互
访问服务器

Tools

ask_fastgpt

Ask fastgpt to search web and give an answer with references

enrich_web

Enrich context with web content focused on general, non-commercial web content.

enrich_news

Enrich context with web content focused on non-commercial news and discussions.

README

Kagi MCP 服务器

smithery badge MCP 服务器,允许使用 Kagi API 搜索网络

<a href="https://glama.ai/mcp/servers/rl6yu8g58l"><img width="380" height="200" src="https://glama.ai/mcp/servers/rl6yu8g58l/badge" alt="Kagi Server MCP server" /></a>

组件

资源

该服务器实现了 API 方法 的调用:

  • fastgpt
  • enrich/web
  • enrich/news

提示词

该服务器不提供任何提示词:

工具

该服务器实现了几个工具:

  • ask_fastgpt:搜索网络并找到答案
  • enrich_web:使用网络内容丰富模型上下文
  • enrich_news:使用最新新闻丰富模型上下文

配置

快速开始

安装

通过 Smithery 安装

要通过 Smithery 自动为 Claude Desktop 安装 Kagi MCP 服务器:

npx -y @smithery/cli install kagi-mcp --client claude

Claude Desktop

在 MacOS 上:~/Library/Application\ Support/Claude/claude_desktop_config.json

<details> <summary>开发/未发布的服务器配置</summary>

"mcpServers": {
  "kagi-mcp": {
    "command": "uv",
    "args": [
      "--directory",
      "path_to_project",
      "run",
      "kagi-mcp"
    ],
    "env": {
      "KAGI_API_KEY": "YOUR API KEY"
    }
  }
}

</details>

开发

构建和发布

要准备用于分发的软件包:

  1. 同步依赖项并更新 lockfile:
uv sync
  1. 构建软件包分发:
uv build

这将在 dist/ 目录中创建源和 wheel 分发。

  1. 发布到 PyPI:
uv publish

注意:您需要通过环境变量或命令标志设置 PyPI 凭据:

  • Token:--tokenUV_PUBLISH_TOKEN
  • 或用户名/密码:--username/UV_PUBLISH_USERNAME--password/UV_PUBLISH_PASSWORD

调试

npx @modelcontextprotocol/inspector uv --directory path_to_project run kagi-mcp

推荐服务器

e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

MCP server for interacting with Neon Management API and databases

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mult-fetch-mcp-server

mult-fetch-mcp-server

A versatile MCP-compliant web content fetching tool that supports multiple modes (browser/node), formats (HTML/JSON/Markdown/Text), and intelligent proxy detection, with bilingual interface (English/Chinese).

精选
本地
AIO-MCP Server

AIO-MCP Server

🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from

精选
本地
Knowledge Graph Memory Server

Knowledge Graph Memory Server

为 Claude 实现持久性记忆,使用本地知识图谱,允许 AI 记住用户的信息,并可在自定义位置存储,跨对话保持记忆。

精选
本地
Hyperbrowser

Hyperbrowser

欢迎来到 Hyperbrowser,人工智能的互联网。Hyperbrowser 是下一代平台,旨在增强人工智能代理的能力,并实现轻松、可扩展的浏览器自动化。它专为人工智能开发者打造,消除了本地基础设施和性能瓶颈带来的麻烦,让您能够:

精选
本地
any-chat-completions-mcp

any-chat-completions-mcp

将 Claude 与任何 OpenAI SDK 兼容的聊天完成 API 集成 - OpenAI、Perplexity、Groq、xAI、PyroPrompts 等。

精选
Exa MCP Server

Exa MCP Server

一个模型上下文协议服务器,它使像 Claude 这样的人工智能助手能够以安全和受控的方式,使用 Exa AI 搜索 API 执行实时网络搜索。

精选
BigQuery MCP Server

BigQuery MCP Server

这是一个服务器,可以让你的大型语言模型(LLM,比如Claude)直接与你的BigQuery数据对话!可以把它想象成一个友好的翻译器,它位于你的AI助手和数据库之间,确保它们可以安全高效地进行交流。

精选