Skip to content
Kagi MCP Server

Kagi MCP Server

by Kagi
Added to Onei
1 views
MIT

Summary

Official Kagi MCP server: ad-free web, news, video and image search plus page extraction as markdown, via hosted or local setup.

Features

  • Web, news, video, podcast and image search
  • Page extraction to markdown
  • Hosted endpoint or local uvx install
  • Kagi lenses and domain filters
  • Hideable parameters to shrink the tool schema

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Kagi MCP Server" tools will be available.
{
  "mcpServers": {
    "kagi-mcp-server": {
      "command": "uvx",
      "args": [
        "kagimcp"
      ],
      "env": {
        "KAGI_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Description

The Kagi MCP server connects an agent to Kagi's paid, ad-free search engine through the Kagi API. It exposes two tools: kagi_search_fetch for web, news, video, podcast and image search with optional page extracts, filters and Kagi lenses, and kagi_extract for pulling a page's full content as clean markdown.

You can use Kagi's hosted endpoint at https://mcp.kagi.com/mcp with an API key as a Bearer token, run it locally with uvx kagimcp, or self-host the HTTP server. Environment variables control timeouts and retries, and KAGI_HIDDEN_PARAMS lets you hide search parameters from the model to keep the tool schema small.

Good to know

  • Needs a Kagi API key (KAGI_API_KEY); OAuth is not supported yet.
  • The earlier FastGPT and summarizer tools were removed and are planned to return.
  • MIT licensed; local install needs uv.

Related MCP Servers

Featured

X's own hosted MCP server: full-archive post search, user and timeline lookup, trends, bookmarks and article drafting, under your account's permissions.

21 views
Featured

Apify's official MCP server — turn thousands of ready-made scrapers into tools your assistant can call.

8 views

MCP: Browserbase

by Browserbase

Featured

Browserbase's official MCP server — cloud browser automation with Stagehand's natural-language actions.

11 views
Browse all MCP servers →