Loading...

The Kagi MCP server provides access to Kagi Search and Summarizer APIs, enabling language models to retrieve information and summarize content.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
The Kagi MCP server provides access to Kagi Search and Summarizer APIs, enabling language models to retrieve information and summarize content.
The Kagi MCP server is relatively safe for read-only operations like search and summarization. However, the risk of API key compromise and the potential for biased summarization outputs should be carefully considered. Limiting summarization engine choices and monitoring API usage can mitigate some risks.
Performance depends on the Kagi API's response times and the size of the content being summarized. Consider implementing caching to improve performance for frequently accessed content.
Kagi API usage is subject to rate limits and pricing. Monitor API usage to avoid unexpected costs.
npx -y @smithery/cli install kagimcp --client claude{
"mcpServers": {
"kagi": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/kagimcp",
"run",
"kagimcp"
],
"env": {
"KAGI_API_KEY": "YOUR_API_KEY_HERE",
"KAGI_SUMMARIZER_ENGINE": "YOUR_ENGINE_CHOICE_HERE" // Defaults to "cecil" engine if env var not present
}
}
}
}KAGI_API_KEYFASTMCP_LOG_LEVELKAGI_SUMMARIZER_ENGINEsearchRetrieves search results from Kagi's search index based on a given query.
Read-only operation, no side effects.
summarizeSummarizes the content of a given URL or text using Kagi's summarization API.
Read-only operation, no direct system modifications.
API Key
The Kagi MCP server is relatively safe for read-only operations like search and summarization. However, the risk of API key compromise and the potential for biased summarization outputs should be carefully considered. Limiting summarization engine choices and monitoring API usage can mitigate some risks.
The server primarily supports read-only operations, limiting the risk of unintended consequences. However, the quality of the summarization depends on the chosen engine.
Production Tip
Monitor API usage and error rates to ensure optimal performance and identify potential issues.
The Kagi API key is used to authenticate your requests to the Kagi Search and Summarizer APIs.
You can request an invite to the Kagi Search API beta by contacting support@kagi.com.
Available summarization engines include cecil, daphne, and others. Refer to the Kagi API documentation for a complete list.
You can specify the desired engine using the KAGI_SUMMARIZER_ENGINE environment variable.
Adjust the FASTMCP_LOG_LEVEL environment variable to control the level of logging and monitor API usage.
The server will return an error message. Implement retry logic to handle temporary outages.
Summarizing content from untrusted sources may expose the model to biases or misinformation. Exercise caution and consider implementing content filtering.