← All extensions

Kagi MCP Server

v0.0.31 · by John Mylchreest · added 3 November 2026

Model Context Protocol Server for Kagi Search

MCP servers

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for Kagi MCP Server. The extension's id is kagimcp.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

Kagi MCP Server

Kagi Search and Universal Summarizer integration through the Model Context Protocol (MCP). Works with Claude Code, Claude Desktop, Cursor, Zed, and any MCP-compatible client.

This repository provides:

  • kagiapi - Standalone Rust client library for Kagi's APIs (crates.io)
  • kagi-mcp-server - MCP server binary exposing Kagi tools to AI assistants (crates.io)
  • Zed extension - Direct integration with the Zed editor via the extension marketplace

Prerequisites

Get Kagi API access:

  1. Request API access by emailing support@kagi.com (currently in closed beta)
  2. Get your API key from Kagi Settings

Quick Start

Install via cargo

cargo install kagi-mcp-server

Install via npm (pre-built binaries, no Rust toolchain needed)

npx -y kagi-mcp-server@latest

Zed Editor

  1. Install the extension: Extensions > Search "Kagi MCP Server" > Install
  2. Add to your Zed settings:
{
  "context_servers": {
    "kagimcp": {
      "settings": {
        "kagi_api_key": "YOUR_KAGI_API_KEY_HERE",
        "kagi_summarizer_engine": "cecil"
      }
    }
  }
}

Claude Code (CLI)

claude mcp add -s user kagi -e KAGI_API_KEY="<YOUR-KEY-HERE>" -- kagi-mcp-server

Claude Desktop / Cursor / Other MCP Clients

See the kagi-mcp-server documentation for detailed configuration examples for all supported clients.

Available Tools

ToolDescription
kagi_search_fetchWeb search using Kagi's privacy-focused search API
kagi_fastgptQuick AI-powered answers with automatic web search
kagi_enrich_webFind non-commercial "small web" content and discussions
kagi_enrich_newsFind non-mainstream news sources and alternative perspectives
kagi_summarizerSummarize web pages, documents, PDFs, and videos

Configuration Options

OptionRequiredDescription
KAGI_API_KEYYesYour Kagi API key
--summarizer-engineNoSummarizer engine: cecil (default), agnes, daphne, or muriel

Usage Examples

Ask your AI assistant:

Using the Kagi API Library

If you want to use Kagi's APIs in your own Rust project:

[dependencies]
kagiapi = "0.0.30"
use kagiapi::KagiClient;

#[tokio::main]
async fn main() -> Result<(), kagiapi::Error> {
    let client = KagiClient::new("your-api-key");
    let results = client.search("rust programming", Some(10)).await?;
    Ok(())
}

See the kagiapi documentation for full API reference.

Troubleshooting

API errors?

  • Ensure you have Kagi Search API access (closed beta)
  • Double-check your API key

Server not responding?

  • Test manually: KAGI_API_KEY=your-key kagi-mcp-server --help
  • Check your client's logs for error messages

Links

License

MIT License - see LICENSE