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) - kagisearch - Perform web searches using Kagi - Takes a query string and optional limit as parameters - Returns search results from Kagi's
Add this skill
npx mdskills install ac3xx/mcp-servers-kagiWell-documented MCP server with clear setup and usage, but over-scoped permissions for its capabilities.
1# kagi-server MCP Server23[](https://smithery.ai/protocol/kagi-server)4MCP server for Kagi API integration56This is a TypeScript-based MCP server that integrates the Kagi Search API. It demonstrates core MCP concepts by providing:78- Tools for performing web searches and other operations using Kagi's API (currently in private beta)910## Features1112### Implemented Tools13- `kagi_search` - Perform web searches using Kagi14 - Takes a query string and optional limit as parameters15 - Returns search results from Kagi's API1617### Planned Tools (Not Yet Implemented)18- `kagi_summarize` - Generate summaries of web pages or text19- `kagi_fastgpt` - Get quick responses using Kagi's FastGPT20- `kagi_enrich` - Fetch enriched news results on specific topics2122## Development2324Install dependencies:25```bash26npm install27```2829Build the server:30```bash31npm run build32```3334For development with auto-rebuild:35```bash36npm run watch37```3839## Environment Setup4041Create a `.env` file in the root directory with your Kagi API key:4243```44KAGI_API_KEY=your_api_key_here45```4647Make sure to add `.env` to your `.gitignore` file to keep your API key secure.4849## Installation5051### Installing via Smithery5253To install Kagi Server for Claude Desktop automatically via [Smithery](https://smithery.ai/protocol/kagi-server):5455```bash56npx @smithery/cli install kagi-server --client claude57```5859To use with Claude Desktop, add the server config:6061On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`62On Windows: `%APPDATA%/Claude/claude_desktop_config.json`6364```json65{66 "mcpServers": {67 "kagi-server": {68 "command": "/path/to/kagi-server/build/index.js",69 "env": {70 "KAGI_API_KEY": "your_api_key_here"71 }72 }73 }74}75```7677### Debugging7879Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:8081```bash82npm run inspector83```8485The Inspector will provide a URL to access debugging tools in your browser.8687## Usage8889Once the server is running and connected to Claude Desktop, you can use it to perform web searches. For example:90911. Ask Claude: "Can you search for information about the latest advancements in quantum computing?"922. Claude will use the `kagi_search` tool to fetch results from Kagi's API.933. Claude will then summarize or analyze the search results for you.9495Note: The planned tools (summarize, fastgpt, enrich) are not yet implemented and cannot be used.9697## Contributing9899Contributions are welcome! Please feel free to submit a Pull Request. Some areas for contribution include:100101- Implementing the planned tools (summarize, fastgpt, enrich)102- Improving error handling and input validation103- Enhancing documentation and usage examples104105## License106107This project is licensed under the MIT License.108109## Roadmap110111- Implement `kagi_summarize` tool for webpage and text summarization112- Implement `kagi_fastgpt` tool for quick responses113- Implement `kagi_enrich` tool for fetching enriched news results114- Improve error handling and add more robust input validation115- Add more comprehensive usage examples and documentation116- Publish the package to npm for easy installation and use with Claude Desktop and npx
Full transparency — inspect the skill content before installing.