Skip to main content
Glama
Kagi MCP Server

Kagi MCP Server

by apridachin

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

发展

构建和发布

准备分发包:

  1. 同步依赖项并更新锁文件:

uv sync
  1. 构建软件包分发版:

uv build

这将在dist/目录中创建源和轮子分布。

  1. 发布到 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-mcp

Available Tools

3 tools
ask_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

    C2.6/5.0

    Scored across 3 tools

    Disambiguation2/5

    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.

    Naming Consistency4/5

    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.

    Tool Count3/5

    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.

    Completeness2/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers