MCP.so
Sign In

Kagi MCP Server (Node.js)

@elliottlawson

Basic information

Category

Search

License

MIT

Transports

stdio

Author

elliottlawson

About Kagi MCP Server

Node implementation of a Kagi MCP server

Kagi MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "kagi-mcp-server": {
      "command": "npx",
      "args": [
        "github:elliottlawson/kagi-mcp-server"
      ],
      "env": {
        "KAGI_API_KEY": "your_api_key_here"
      }
    }
  }
}

Kagi MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Kagi MCP Server (Node.js)?

A Node.js implementation of the Kagi MCP server that provides web search capabilities to AI assistants using the Kagi search API. It is built with TypeScript and the official MCP SDK, and is pre‑built for immediate use.

How to use Kagi MCP Server (Node.js)?

Requires Node.js 18+ and a Kagi API key (currently in closed beta – request an invite from support@kagi.com). Run directly with npx github:elliottlawson/kagi-mcp-server or clone the repo and run node build/index.js. Configure in Claude Desktop, Cursor, or Claude Code using the provided MCP configurations.

Key features of Kagi MCP Server (Node.js)

  • Web search using the Kagi API
  • Pre‑built, no build step required
  • Unique tool name (kagi_web_search) avoids conflicts
  • Built with TypeScript and the official MCP SDK
  • Supports multiple search queries in parallel
  • Formatted search results

Use cases of Kagi MCP Server (Node.js)

  • AI assistants performing web searches for up‑to‑date information
  • Integration with Claude Desktop, Cursor, and Claude Code
  • Avoiding tool name conflicts with other MCP search servers
  • Retrieving Kagi search results directly in AI conversations

Frequently asked questions

1

What is the Kagi MCP Server (Node.js)?

It is a Node.js implementation of an MCP server that provides web search capabilities to AI assistants using the Kagi search API.

2

What are the prerequisites?

You need Node.js 18 or higher, a Kagi API key (currently in closed beta – request an invite from support@kagi.com), and access to the search API.

3

How do I set it up?

You can run it directly with npx: `KAGI_API_KEY=your_key npx github:elliottlawson/kagi-mcp-server`. Alternatively, clone the repo and run `node build/index.js`. No build step is required.

4

How does it avoid conflicts with other MCP servers?

The tool is named `kagi_web_search` instead of a generic `search`, preventing conflicts with other MCP search servers.

5

What transport does it use?

The server uses stdio for communication with the MCP client.

Comments

More Search MCP servers