Kagi Search MCP Server

Search the web using Kagi's search API

Remote serverstreamable-http

What is the Kagi Search MCP server?

Kagi search mcp server connects Kagi Search to AI assistants that speak the Model Context Protocol. Search the web using Kagi's search API.

What Kagi Search does

An MCP server backed by the Kagi API. It exposes search and extraction tools to MCP-compatible clients.

Tools it exposes

Once connected, the assistant can call these 5 tools directly:

  • Search — Who was Time's 2024 person of the year?
  • Extract — extract the full content of https://en.wikipedia.org/wiki/Model_Context_Protocol
  • Smithery — The Smithery tool exposed by this server
  • Kiro — Add to your Kiro MCP config file (~/.kiro/settings/mcp.json for global, or .kiro/settings/mcp.json for project-scoped) using the same mcpServers JSON as
  • OpenCode — Edit the OpenCode configuration file in ~/.config/opencode/opencode.json and add the following:

Installing the kagi search mcp server

The server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply one environment variable: KAGI_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • A Kagi API key in KAGI_API_KEY. - uv for the recommended uvx install path. Install uv: Windows:

Where it fits

Knowledge and memory servers address the most frustrating trait of language models — walking into every conversation with no recollection of the last one. Kagi Search sits in that group, and the shape of its toolset — Search, Extract, Smithery among others — tells you what it is really for. Worth comparing against the other knowledge memory servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This is a hosted server — you point your client at an endpoint rather than running a local process, so there is nothing to keep updated on your machine.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the kagi search mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
SearchWho was Time's 2024 person of the year?
Extractextract the full content of https://en.wikipedia.org/wiki/Model_Context_Protocol
SmitheryThe Smithery tool exposed by this server.
KiroAdd to your Kiro MCP config file (~/.kiro/settings/mcp.json for global, or .kiro/settings/mcp.json for project-scoped) using the same mcpServers JSON as [Claude Desktop](#claude-desktop). See the [Kiro MCP documentation]
OpenCodeEdit the OpenCode configuration file in ~/.config/opencode/opencode.json and add the following:

How to install the Kagi Search MCP server

{
  "mcpServers": {
    "kagi": {
      "command": "uvx",
      "args": ["kagimcp"],
      "env": {
        "KAGI_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • A Kagi API key in KAGI_API_KEY. - uv for the recommended uvx install path. Install uv: Windows:
VariableDescriptionRequired
KAGI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Kagi Search to Search.
  • Use Kagi Search to Extract.
  • Use Kagi Search to Smithery.

Frequently asked questions

It connects Kagi Search to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (Search, Extract, Smithery, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Kagi Search directly.