kagi_mcp_local

kagi_mcp_local

3.3

MCP server for Kagi Search using your local browser.

The kagi_mcp_local is a Model Context Protocol (MCP) server designed to facilitate Kagi Search operations through a local browser. It serves as a personal tool to streamline the process of searching and retrieving information from Kagi without the need for manual copy-pasting. This server is particularly useful for users who prefer to conduct searches locally rather than relying on external servers. It is important to note that this tool is not intended for automated querying or scraping of Kagi search results. Users with access to the official Kagi MCP server are encouraged to use it instead. The setup requires the 'uv' tool, which is essential for running the server.

Features

  • Local Browser Integration: Utilizes your local browser for conducting Kagi searches.
  • Personal Use: Designed for personal use to simplify search operations.
  • Non-Automated: Not intended for automated querying or scraping.
  • Customizable Environment: Allows setting environment variables for browser and connection details.
  • Open Source: Licensed under MIT, encouraging community contributions and modifications.

Usage with Different Platforms

kagi_mcp_local_setup


{
  "mcpServers": {
    "kagi-search": {
      "command": "uvx",
      "args": [
        "--refresh",
        "--from",
        "git+https://github.com/mvkvc/kagi_mcp_local",
        "kagimcplocal"
      ],
      "env": {
        "BROWSER": "/usr/bin/brave-browser",
        "CDP_URL": "http://localhost",
        "CDP_PORT": "9222",
        "RESULTS_MAX": "5",
        "PAGE_TIMEOUT": "30000"
      }
    }
  }
}