drio
Open app

kagi-server MCP Server

Source

A Model Context Protocol server implementation for Kagi's API

Catalog onlyCatalog onlySTDIO

Overview

Kagi Server is a Model Context Protocol server implementation that integrates Kagi's Search API, enabling users to perform web searches and other operations seamlessly.

To use Kagi Server, install dependencies, build the server, and configure the environment with your Kagi API key. Once running, connect it to Claude Desktop to perform searches.

  • Implements the kagi_search tool for web searches via Kagi. - Future tools planned include kagi_summarize, kagi_fastgpt, and kagi_enrich for enhanced functionalities.
  1. Performing web searches on demand through Claude.
  2. Analyzing and summarizing search results for better understanding.
  3. Potentially summarizing web pages and enriching news results in future updates.

Add to your AI client

Use these steps to connect kagi-server MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-servers-kagi-ac3xx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-servers-kagi-ac3xx"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-servers-kagi-ac3xx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-servers-kagi-ac3xx"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-servers-kagi-ac3xx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-servers-kagi-ac3xx"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-servers-kagi-ac3xx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-servers-kagi-ac3xx"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-servers-kagi-ac3xx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-servers-kagi-ac3xx"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-servers-kagi-ac3xx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-servers-kagi-ac3xx"
      ]
    }
  }
}

FAQ

**What programming language is Kagi Server built in?**

Kagi Server is developed using TypeScript.

**How can I contribute to the Kagi Server project?**

Contributions are welcome, especially for implementing planned tools and improving documentation.

**What are the planned features for future updates?**

Planned features include summarizing tools, quick response capabilities, and enriched news result fetching.