Kagi MCP Server

by mgomes

2 250 downloads Not rated yet MIT
GitHub

About

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.

Details

License
MIT

Explore

- 🔍 Kagi Search: Search the web with Kagi's privacy-focused search engine
- 📝 Kagi Summarizer: Summarize web pages using Kagi's FastGPT summarization APIs
- 🔄 Multiple Transports: Support for both stdio and Server-Sent Events (SSE) protocols
- 🔑 API Key Management: Flexible options for providing Kagi API keys

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Kagi MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Go 1.18+ (for building from source)
- Kagi API key (available to Kagi subscribers)

go mod download

This mode is useful for direct integration with LLM platforms that support subprocess communication.


This mode starts an HTTP server that communicates using Server-Sent Events (SSE).

bash

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

A Model Context Protocol (MCP) server that integrates with Kagi's search and summarizer APIs. This server allows Large Language Models (LLMs) to search the web and summarize web pages using Kagi's high-quality search and AI capabilities.

Features

- 🔍 Kagi Search: Search the web with Kagi's privacy-focused search engine
- 📝 Kagi Summarizer: Summarize web pages using Kagi's FastGPT summarization APIs
- 🔄 Multiple Transports: Support for both stdio and Server-Sent Events (SSE) protocols
- 🔑 API Key Management: Flexible options for providing Kagi API keys

Prerequisites

- Go 1.18+ (for building from source)
- Kagi API key (available to Kagi subscribers)

Installation

Using Go

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.