kagi-server MCP Server
TypeScript-based MCP server for Kagi Search API integration.
Key Features
Use Cases
README
kagi-server MCP Server
MCP server for Kagi API integration
This is a TypeScript-based MCP server that integrates the Kagi Search API. It demonstrates core MCP concepts by providing:
- Tools for performing web searches and other operations using Kagi's API (currently in private beta)
Features
Implemented Tools
kagi_search- Perform web searches using Kagi- Takes a query string and optional limit as parameters
- Returns search results from Kagi's API
Planned Tools (Not Yet Implemented)
kagi_summarize- Generate summaries of web pages or textkagi_fastgpt- Get quick responses using Kagi's FastGPTkagi_enrich- Fetch enriched news results on specific topics
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Environment Setup
Create a .env file in the root directory with your Kagi API key:
KAGI_API_KEY=your_api_key_here
Make sure to add .env to your .gitignore file to keep your API key secure.
Installation
Installing via Smithery
To install Kagi Server for Claude Desktop automatically via Smithery:
npx @smithery/cli install kagi-server --client claude
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"kagi-server": {
"command": "/path/to/kagi-server/build/index.js",
"env": {
"KAGI_API_KEY": "your_api_key_here"
}
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Usage
Once the server is running and connected to Claude Desktop, you can use it to perform web searches. For example:
- Ask Claude: "Can you search for information about the latest advancements in quantum computing?"
- Claude will use the
kagi_searchtool to fetch results from Kagi's API. - Claude will then summarize or analyze the search results for you.
Note: The planned tools (summarize, fastgpt, enrich) are not yet implemented and cannot be used.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. Some areas for contribution include:
- Implementing the planned tools (summarize, fastgpt, enrich)
- Improving error handling and input validation
- Enhancing documentation and usage examples
License
This project is licensed under the MIT License.
Roadmap
- Implement
kagi_summarizetool for webpage and text summarization - Implement
kagi_fastgpttool for quick responses - Implement
kagi_enrichtool for fetching enriched news results - Improve error handling and add more robust input validation
- Add more comprehensive usage examples and documentation
- Publish the package to npm for easy installation and use with Claude Desktop and npx
Star History
Repository Owner
User
Repository Details
Programming Languages
Tags
Topics
Join Our Newsletter
Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.
Related MCPs
Discover similar Model Context Protocol servers
Kagi MCP Server
Integrate Kagi Search and Summarization as Model Context Protocol tools.
Kagi MCP Server enables easy integration of Kagi's search and summarization capabilities with AI systems via the Model Context Protocol. It facilitates tool-based queries such as searching web results or summarizing content, and offers setup instructions for various platforms including Claude Desktop. Users can install and configure the server through package managers, Smithery, or direct Python environments. The project provides configurable environment variables for API access and summarization engine selection, supporting both local development and production usage.
- ⭐ 216
- MCP
- kagisearch/kagimcp
NYTimes Article Search MCP Server
Search New York Times articles via a Model Context Protocol server.
NYTimes Article Search MCP Server is a TypeScript-based implementation of the Model Context Protocol that enables searching for New York Times articles from the past 30 days using keywords. It integrates with the official New York Times API and exposes a tool for streamlined article queries. Designed for use with systems like Claude Desktop, it includes support for installation via Smithery and provides development utilities such as an inspector for debugging MCP communication. The server handles MCP requests over stdio and securely accesses the NYT API via environment variables.
- ⭐ 15
- MCP
- angheljf/nyt
Confluence Communication Server MCP Server
Seamlessly interact with Confluence using standardized MCP tools.
Confluence Communication Server MCP Server is a TypeScript-based implementation that enables seamless interaction with Confluence through the Model Context Protocol. It provides tools for running CQL queries, retrieving, and updating Confluence page content, thus showcasing and adhering to core MCP concepts. The server is compatible with Claude Desktop and supports installation via Smithery, emphasizing ease of integration and automation for Confluence management tasks.
- ⭐ 13
- MCP
- KS-GEN-AI/confluence-mcp-server
tavily-search MCP server
A search server that integrates Tavily API with Model Context Protocol tools.
tavily-search MCP server provides an MCP-compliant server to perform search queries using the Tavily API. It returns search results in text format, including AI responses, URLs, and result titles. The server is designed for easy integration with clients like Claude Desktop or Cursor and supports both local and Docker-based deployment. It facilitates AI workflows by offering search functionality as part of a standardized protocol interface.
- ⭐ 44
- MCP
- Tomatio13/mcp-server-tavily
Brave Search MCP Server
MCP-compliant server providing advanced Brave Search API tools via STDIO and HTTP.
Implements a Model Context Protocol (MCP) server for integrating with the Brave Search API, offering tools for web, local business, image, video, and news searches along with AI-powered summarization. Supports both STDIO and HTTP transports and adheres to established MCP conventions for context management. Provides structured tool schemas and customizable parameters to handle sophisticated search queries and results. Enables advanced filtering, multi-type result aggregation, and seamless integration for AI model workflows.
- ⭐ 337
- MCP
- brave/brave-search-mcp-server
MCP ChatGPT Server
Enables direct access to OpenAI's ChatGPT API from Claude Desktop via the Model Context Protocol.
MCP ChatGPT Server runs as an MCP-compliant server, allowing users to access OpenAI's ChatGPT API seamlessly within Claude Desktop. It supports customizable model parameters, automated conversation state management, integrated web search for up-to-date information, and facilitates interactive discussions between Claude and ChatGPT. Users can configure model selection, temperature, token limits, and use their own OpenAI API keys.
- ⭐ 14
- MCP
- billster45/mcp-chatgpt-responses
Didn't find tool you were looking for?