Node implementation of a Kagi MCP server
Node implementation of a Kagi MCP server. That is what the kagi (node.js) mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
A Node.js implementation of the Kagi MCP server that provides web search capabilities to AI assistants using the Kagi search API.
The server publishes 8 tools. What each one is for:
Pre — built and ready to use (no build step required)Name — Kagi SearchType — commandCommand — npx github:elliottlawson/kagi-mcp-serverPrerequisites — The Prerequisites tool exposed by this serverInstallation — 1. Clone the repository: bash git clone https://github.com/elliottlawson/kagi-mcp-server.git cd kagi-mcp-serverBuilding — If you make changes to the TypeScript code, rebuild the project:Running — The Running tool exposed by this serverInstallation goes through your MCP client rather than a global install: point it at github on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: KAGI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Kagi (Node.Js)'s toolset — Pre, Name, Type and 5 more — is a fair guide to whether it matches your workflow. It is maintained by elliottlawson; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Pre | built and ready to use (no build step required) |
| Name | Kagi Search |
| Type | command |
| Command | npx github:elliottlawson/kagi-mcp-server |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | 1. Clone the repository: bash git clone https://github.com/elliottlawson/kagi-mcp-server.git cd kagi-mcp-server |
| Building | If you make changes to the TypeScript code, rebuild the project: |
| Running | The Running tool exposed by this server. |
{
"mcpServers": {
"kagi": {
"command": "npx",
"args": ["-y", "github"],
"env": {
"KAGI_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| KAGI_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.