Kagi Search
Web search using the Kagi Search API
Kagi MCP server
MCP server that allows to search web using Kagi API
Components
Resources
The server implements calls of API methods:
- fastgpt
- enrich/web
- enrich/news
Prompts
The server provides doesn't provide any prompts:
Tools
The server implements several tools:
- ask_fastgpt to search web and find an answer
- enrich_web to enrich model context with web content
- enrich_news to enrich model context with latest news
Configuration
Quickstart
Install
Installing via Smithery
To install the Kagi MCP server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install kagi-mcp --client claude
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
``` "mcpServers": { "kagi-mcp": { "command": "uv", "args": [ "--directory", "path_to_project", "run", "kagi-mcp" ], "env": { "KAGI_API_KEY": "YOUR API KEY" } } } ```Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/ directory.
- Publish to PyPI:
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
npx @modelcontextprotocol/inspector uv --directory path_to_project run kagi-mcp
Related Servers
Haloscan
Interact with the Haloscan SEO API for search engine optimization tasks.
招投标大数据服务
Provides comprehensive bidding and tender information query services, including statistics, searches, and planned project queries.
CryptoPanic News
Provides the latest cryptocurrency news to AI agents, powered by the CryptoPanic API.
USDA api
This server allow you to ask questions with way more accurate nutrition facts.
Brave Search
A server for Brave Search, enabling web search capabilities via its API.
PubMed Search
Search for biomedical literature from the PubMed database.
Azure AI Agent & Search
Search content using Azure AI Agent Service and Azure AI Search.
Docs MCP
A server for efficiently searching and referencing user-configured local documents.
Legal MCP Server
Court records, patent search, trademark lookup, and legal document research
iMessage Query
An MCP server for querying your iMessage database on macOS, allowing LLMs to safely access and search conversations.