MCP ExplorerExplorer

Kagi Search Mcp

@apridachinon 9 months ago
2 MIT
FreeCommunity
AI Systems
MCP server for Kagi Search

Overview

What is Kagi Search Mcp

Kagi-search-mcp is an MCP server designed to facilitate web searches using the Kagi API, providing users with an efficient way to access information online.

Use cases

Use cases for kagi-search-mcp include academic research, news aggregation, content generation, and enhancing chatbot responses with real-time web data.

How to use

To use kagi-search-mcp, install it via Smithery with the command ‘npx -y @smithery/cli install kagi-mcp --client claude’. Ensure to configure your KAGI_API_KEY in the environment variables.

Key features

Key features include the ability to search the web using the ‘ask_fastgpt’ tool, enrich model context with web content through ‘enrich_web’, and stay updated with the latest news using ‘enrich_news’.

Where to use

Kagi-search-mcp can be utilized in various fields such as research, content creation, and any domain where quick and relevant information retrieval is essential.

Content

Kagi MCP server

smithery badge
MCP server that allows to search web using Kagi API

Kagi Server MCP server

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:

npx -y @smithery/cli install kagi-mcp --client claude

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "kagi-mcp": { "command": "uv", "args": [ "--directory", "path_to_project", "run", "kagi-mcp" ], "env": { "KAGI_API_KEY": "YOUR API KEY" } } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You’ll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

npx @modelcontextprotocol/inspector uv --directory path_to_project run kagi-mcp

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers