MCP.so
登录

Kagi MCP Server

@mgomes

关于 Kagi MCP Server

Kagi MCP server written in Go

基本信息

分类

搜索

许可证

MIT

运行时

go

传输方式

stdio

发布者

mgomes

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "kagi": {
      "command": "./kagimcp",
      "args": [],
      "env": {
        "KAGI_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Kagi MCP Server?

A Model Context Protocol (MCP) server that integrates with Kagi’s search and summarizer APIs, allowing Large Language Models (LLMs) to search the web and summarize web pages using Kagi’s privacy-focused search and AI capabilities.

How to use Kagi MCP Server?

Install by cloning the repository and building with Go (requires Go 1.18+ and a Kagi API key). Run with -t stdio for subprocess communication or -t sse -port 8080 for an HTTP server. Provide the API key via the KAGI_API_KEY environment variable or the -api-key flag. Integrate with Claude by adding a JSON entry under mcpServers in Claude’s configuration.

Key features of Kagi MCP Server

  • 🔍 Kagi Search: Search the web with Kagi’s privacy-focused search engine
  • 📝 Kagi Summarizer: Summarize web pages using Kagi’s FastGPT APIs
  • 🔄 Multiple Transports: Support for stdio and Server-Sent Events (SSE)
  • 🔑 API Key Management: Flexible options for providing Kagi API keys
  • Two available tools: kagi_search and kagi_summarize

Use cases of Kagi MCP Server

  • Enable an LLM to search the web for current information
  • Summarize any public webpage using AI
  • Integrate web search and summarization into Claude or other MCP-compatible platforms
  • Build privacy-aware research assistants that use Kagi’s search engine

FAQ from Kagi MCP Server

What is the Kagi MCP Server and how does it differ from direct API usage?

It provides a standardized MCP interface so LLMs can call Kagi’s search and summarizer APIs as tools, without the LLM needing direct API credentials or custom code.

What dependencies or runtime requirements are needed?

Go 1.18+ for building from source, and a Kagi API key (available to Kagi subscribers). No external services beyond Kagi’s APIs are required.

Where does data live and what are the transport options?

Data is sent to and from Kagi’s servers. The server supports two transports: stdio (subprocess communication) and SSE (HTTP server, default port 8080).

How do I authenticate and configure the API key?

Set the KAGI_API_KEY environment variable or pass it via the -api-key command-line flag. The key is used to authenticate all requests to Kagi’s APIs.

Can I use the Kagi MCP Server with Claude?

Yes. Start the server in stdio mode and add a matching mcpServers configuration in Claude’s JSON settings, providing the command and API key.

评论

搜索 分类下的更多 MCP 服务器