kagi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KAGI_SESSION_TOKEN | Yes | Your Kagi session token or session link (obtained from https://kagi.com/settings/user_details). Treat it like a password. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| kagi_searchA | Search the web with Kagi (high-quality, ad-free results). Returns titles, URLs, dates and snippets. The query supports operators: "exact phrase", site:example.com, -excludeterm, OR. Use from_date/to_date to restrict by publication date, page for more results, region for country-specific results, and lens to restrict to a curated scope (forums, academic, ...). |
| kagi_lensesA | List the Kagi lenses (curated search scopes such as Forums, Academic, Programming) available on this account, with their ids. Pass a lens name or id to kagi_search's lens parameter. |
| kagi_newsA | Search recent news with Kagi. Returns headlines with source, publication time and snippets. Best for current events; use kagi_search for general web results. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: kagi_lenses lists curated search scopes, kagi_news searches recent news, and kagi_search performs general web searches. Descriptions explicitly differentiate use cases.
All tools follow a consistent kagi_<service> pattern, using clear nouns/verbs that reflect the tool's function. No deviations or mixed conventions.
Three tools is appropriate for a focused search server, covering lens listing, news search, and general search without unnecessary bloat or gaps.
The surface covers the core functionality of the Kagi search API: discovering lenses, searching news, and general web search. No obvious missing operations for the stated purpose.