Kagi MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Allows to search web using Kagi API, providing tools for web search (fastgpt), web content enrichment, and news enrichment
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:
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
- Build package distributions:
This will create source and wheel distributions in the dist/
directory.
- Publish to PyPI:
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--token
orUV_PUBLISH_TOKEN
- Or username/password:
--username
/UV_PUBLISH_USERNAME
and--password
/UV_PUBLISH_PASSWORD
Debugging
You must be authenticated.
Allows the use of Kagi's API for web searching and content enrichment through methods like fastgpt, enrich/web, and enrich/news.