mcp-servers-kagi

mcp-servers-kagi

31

Kagi-server is an MCP server designed to integrate the Kagi Search API for enhanced web search capabilities. It aims to implement tools for search, summarization, and quick responses, with features available for use in Claude Desktop.

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

Planned Tools (Not Yet Implemented)

  • kagi_summarize - Generate summaries of web pages or text
  • kagi_fastgpt - Get quick responses using Kagi's FastGPT
  • kagi_enrich - Fetch enriched news results on specific topics

Development

Install dependencies: Build the server: For development with auto-rebuild:

Environment Setup

Create a .env file in the root directory with your Kagi API key:

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:

To use with Claude Desktop, add the server config:

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

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 to search for information and it will use the kagi_search tool to fetch results from Kagi's API.