Kagi MCP server
@kagisearch
关于 Kagi MCP server
The Official Model Context Protocol (MCP) server for Kagi Search & other tools.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"kagimcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"kagimcp",
"--client",
"claude"
]
}
}
}工具
2web, news, videos, podcasts, and image search with optional page extracts, filters, and Kagi lenses.
fetch a page's full content as markdown.
概览
What is Kagi MCP server?
The Kagi MCP server is an MCP‑compatible server backed by the Kagi API. It exposes web, news, video, podcast, and image search tools, as well as a page‑extraction tool, enabling AI assistants to search the web and retrieve full page content as markdown.
How to use Kagi MCP server?
Use the hosted server at https://mcp.kagi.com/mcp with any HTTP‑capable MCP client, authenticating with your Kagi API key via a Bearer token. Alternatively, install the server locally using uvx kagimcp after setting the KAGI_API_KEY environment variable. Configuration options include search/extract timeouts, retry count, and hidden search parameters.
Key features of Kagi MCP server
- Web, news, video, podcast, and image search with filters and lenses.
- Full page extraction returning content as markdown.
- Hosted HTTP server available at
https://mcp.kagi.com/mcp— no install required. - Self‑hostable via the provided Dockerfile, supporting multi‑tenant HTTP mode.
- Configurable timeouts, retries, and hidden parameters for LLM‑facing schemas.
- Supports multiple MCP clients: Claude Desktop, Claude Code, Codex CLI, Smithery, Kiro, OpenCode.
Use cases of Kagi MCP server
- AI assistants performing live web searches for current events or research.
- Extracting full article or documentation content from a URL for further processing.
- Searching across multiple media types (news, videos, images) with fine‑grained filters.
FAQ from Kagi MCP server
Do I need a Kagi account and API key?
Yes. A Kagi API key is required and must be set as the KAGI_API_KEY environment variable or passed via the Authorization: Bearer <key> HTTP header.
What are the runtime dependencies?
The recommended install uses uv. For local setups, uv must be installed. The server runs as a Python package (kagimcp) via uvx.
Does the server support OAuth2 authentication?
Not yet. OAuth2 is on the roadmap; for now you must use a Kagi API key with Bearer authentication.
Where do search queries and extracted data go?
All requests are sent to the Kagi API. The server does not store data locally; results are returned directly to the MCP client.
Can I control timeouts or retries?
Yes. Set KAGI_SEARCH_TIMEOUT (default 10s), KAGI_EXTRACT_TIMEOUT (default 30s), and KAGI_MAX_RETRIES (default 2) environment variables.
搜索 分类下的更多 MCP 服务器
SerpApi MCP Server
ilyazubSerpApi MCP Server for Google and other search engine results
MCP SearXNG Enhanced Server
OvertliDSEnhanced MCP server for SearXNG: category-aware web-search, web-scraping, and date/time retrieval.
Perplexity MCP Server
wysh3MCP web search using perplexity without any API KEYS
Tavily Mcp
tavily-aiProduction ready MCP server with real-time search, extract, map & crawl.
Google Search Console MCP Server
ahonnA Model Context Protocol (MCP) server providing access to Google Search Console
评论