Kagi Search
MCP server by Kagi
Search the web, news, videos, podcasts and images with Kagi, and extract full page content as markdown.
Connect to Kagi Search
Kagi Search needs an API key. Connect with its own URL and your key:
Send your key in the Authorization header. mcp.tc never sees or stores keys. Where to get a key
Share this server
Opens this page, with the URL and setup steps.
mcp.tc/i/kagiAbout
Connects an assistant to the Kagi API. It can run web, news, video, podcast and image searches with optional page extracts, filters and Kagi lenses, and fetch the full content of a page as markdown.
Kagi hosts a streamable HTTP endpoint at https://mcp.kagi.com/mcp. It needs a Kagi API key sent as a Bearer token in the Authorization header. OAuth is not supported yet. The same server can be run locally with uvx kagimcp, or self-hosted with the Dockerfile in the repository.
What you can do
- Search the web, news, videos, podcasts and images
- Include page extracts in search results
- Filter by domain, date, file type or Kagi lens
- Extract the full content of a page as markdown
Tools
Kagi Search lists its tools only to clients with a key, so we can’t show them here.
Example prompts
Who was Time's 2024 person of the year?
Extract the full content of https://en.wikipedia.org/wiki/Model_Context_Protocol
Search recent news about open source LLMs and summarize the top results
Find podcasts about home networking from the last year
Set up
Every client connects to mcp.kagi.com. Pick yours; the page remembers your choice.
Claude Code
- Run this in a terminal, in your project folder:
claude mcp add --transport http kagi https://mcp.kagi.com/mcp --header "Authorization: Bearer <YOUR_API_KEY>"- Replace the placeholder with your key before you run it, then check it with
/mcpinside Claude Code.
Add --scope user to make it available in every project, not just this one.
Claude Desktop
- Use the
mcp-remotebridge, which keeps the key on this computer (a connector added on claude.ai with the key under Request headers also shows up here). Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"kagi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.kagi.com/mcp",
"--header",
"Authorization: Bearer <YOUR_API_KEY>"
]
}
}
}- Replace the placeholder with your key and restart Claude Desktop.
The bridge needs Node.js on your computer.
claude.ai
- Open the connector form on claude.ai. This button fills in the name and URL for you:
Add to claude.ai (opens in a new tab)
- Check that the URL reads
https://mcp.kagi.com/mcp. Under Request headers, addAuthorization: Bearer <YOUR_API_KEY>with your key from Kagi, then click Add. - Turn it on in a chat from the tools menu.
Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.
Cursor
Add to Cursor (opens in a new tab)
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"kagi": {
"url": "https://mcp.kagi.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}VS Code
Add it to .vscode/mcp.json. VS Code asks for the key the first time and stores it securely:
{
"servers": {
"kagi": {
"type": "http",
"url": "https://mcp.kagi.com/mcp",
"headers": {
"Authorization": "Bearer ${input:api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "api-key",
"description": "API key",
"password": true
}
]
}Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"kagi": {
"serverUrl": "https://mcp.kagi.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}- Refresh the MCP server list in Cascade.
Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.
Codex
codex mcp add kagi --url https://mcp.kagi.com/mcp --bearer-token-env-var KAGI_API_KEYOr edit ~/.codex/config.toml directly:
[mcp_servers.kagi]
url = "https://mcp.kagi.com/mcp"
bearer_token_env_var = "KAGI_API_KEY"Set KAGI_API_KEY to your key in the shell that runs Codex.
Gemini CLI
gemini mcp add --transport http --header "Authorization: Bearer <YOUR_API_KEY>" kagi https://mcp.kagi.com/mcpThis adds it to the current project. Add -s user to use it everywhere.
Any client
Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.
{
"mcpServers": {
"kagi": {
"type": "http",
"url": "https://mcp.kagi.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.
Client only starts local servers? Bridge it with npx -y mcp-remote https://mcp.kagi.com/mcp.
Embed
Show Kagi Search in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work
The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.
README badge
[](https://mcp.tc/i/kagi)<a href="https://mcp.tc/i/kagi"><img src="https://mcp.tc/i/kagi/badge.svg" alt="Kagi Search on mcp.tc" height="20"></a>It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.
Website card
<script src="https://mcp.tc/w/kagi.js" async></script>The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.
iframe
<iframe src="https://mcp.tc/embed/kagi" title="Kagi Search on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.
JSON
The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).
https://mcp.tc/i/kagi.jsonAI prompt
Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the Kagi Search card to your site.
Add the mcp.tc card for Kagi Search, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.
Put this tag where the card should appear. The card renders right before it:
```html
<script src="https://mcp.tc/w/kagi.js" async></script>
```
To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.
```html
<div data-mcptc="kagi"><a href="https://mcp.tc/i/kagi">Kagi Search on mcp.tc</a></div>
```
Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.
If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).
For a README or other Markdown docs, use the badge instead:
```markdown
[](https://mcp.tc/i/kagi)
```
Reference: https://mcp.tc/embedChange history
Its tools are behind a sign-in, so we can’t read them. Edits by its owner show up here.
Nothing recorded yet. Edits by the server’s owner will show up here.
FAQ
Can I paste mcp.tc/i/kagi into my MCP client?
No. mcp.tc links are pages, not server addresses. Connect with https://mcp.kagi.com/mcp, so your client talks to Kagi Search directly. Your key goes there too, never to mcp.tc. The quick link is for sharing: it opens this page, with setup steps for every client.
Does Kagi Search need an API key or a sign-in?
Yes. Kagi Search needs an API key, sent as the Authorization header. Get one from Kagi and keep it in your client’s config, never in a shared file.
Is Kagi Search a remote or a local server?
Remote. Kagi hosts it at https://mcp.kagi.com/mcp, and it speaks Streamable HTTP. There’s nothing to install.
What can Kagi Search do?
You can search the web, news, videos, podcasts and images, include page extracts in search results and filter by domain, date, file type or Kagi lens.
Which clients can use it?
Any client that supports remote MCP servers and can send your key: Claude Code, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. On claude.ai and Claude Desktop, add the key as a request header when you create the custom connector. ChatGPT can’t send a key, so it can’t use it.
Does mcp.tc track changes to Kagi Search?
Partly. Kagi Search’s tools are behind a sign-in, so its History tab shows only edits by its owner. Follow the listing to get an email when it changes.
Who wrote this page?
mcp.tc’s robot read Kagi Search’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.
mcp.tc isn’t affiliated with Kagi. This page was built from Kagi Search’s public metadata, last checked on 17 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.