Kagi MCP Server

by mgomes

2 stars
250 downloads
Not rated
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

Author
mgomes
GitHub stars
2
Downloads
250
Categories
Search

- 🔍 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

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

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.

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"
        }
    }
}

Kagi MCP Server

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.