Skip to main content
Glama
real-jiakai

kagi-mcp

by real-jiakai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KAGI_SESSION_TOKENYesYour 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 3 tools

Disambiguation5/5

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.

Naming Consistency5/5

All tools follow a consistent kagi_<service> pattern, using clear nouns/verbs that reflect the tool's function. No deviations or mixed conventions.

Tool Count5/5

Three tools is appropriate for a focused search server, covering lens listing, news search, and general search without unnecessary bloat or gaps.

Completeness5/5

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.

Maintenance

ActivityStale
ResponsivenessNo issues