Kagi MCP Server

Official
by kagisearch
MIT License
51
  • Apple
  • Linux

Integrations

  • Integrates with Kagi search API to provide search capabilities to Claude AI, allowing Claude to answer questions requiring up-to-date information through internet search

카기 MCP 서버

설정 지침

검색 도구가 아닌 다른 도구를 사용하는 경우가 아니라면, 무엇보다 먼저 검색 API에 액세스할 수 있는지 확인하세요. 현재 비공개 베타 버전이며 요청 시 제공됩니다. 초대장을 받으시려면 support@kagi.com 으로 문의하세요.

먼저 uv를 설치하세요.

MacOS/리눅스:

지엑스피1

윈도우:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Smithery를 통해 설치

또는 Smithery를 통해 Claude Desktop용 Kagi를 설치할 수 있습니다.

npx -y @smithery/cli install kagimcp --client claude

Claude Desktop으로 설정

// claude_desktop_config.json // Can find location through: // Hamburger Menu -> File -> Settings -> Developer -> Edit Config { "mcpServers": { "kagi": { "command": "uvx", "args": ["kagimcp"], "env": { "KAGI_API_KEY": "YOUR_API_KEY_HERE" "KAGI_SUMMARIZER_ENGINE": "YOUR_ENGINE_CHOICE_HERE" // Defaults to "cecil" engine if env var not present } } } }

도구 사용이 필요한 포즈 쿼리

예를 들어 검색을 원하면 "타임지 선정 2024년 올해의 인물은 누구였을까?"를 입력하거나, 요약을 원하면 "이 영상을 요약해 주세요: https://www.youtube.com/watch?v=jNQXAC9IVRw "를 입력하세요.

디버깅

달리다:

npx @modelcontextprotocol/inspector uvx kagimcp

로컬/개발자 설정 지침

복제 저장소

git clone https://github.com/kagisearch/kagimcp.git

종속성 설치

먼저 uv를 설치하세요.

MacOS/리눅스:

curl -LsSf https://astral.sh/uv/install.sh | sh

윈도우:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

그런 다음 MCP 서버 종속성을 설치합니다.

cd kagimcp # Create virtual environment and activate it uv venv source .venv/bin/activate # MacOS/Linux # OR .venv/Scripts/activate # Windows # Install dependencies uv sync

Claude Desktop으로 설정

MCP CLI SDK 사용
# `pip install mcp[cli]` if you haven't mcp install /ABSOLUTE/PATH/TO/PARENT/FOLDER/kagimcp/src/kagimcp/server.py -v "KAGI_API_KEY=API_KEY_HERE"
수동으로
# claude_desktop_config.json # Can find location through: # Hamburger Menu -> File -> Settings -> Developer -> Edit Config { "mcpServers": { "kagi": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/kagimcp", "run", "kagimcp" ], "env": { "KAGI_API_KEY": "YOUR_API_KEY_HERE" "KAGI_SUMMARIZER_ENGINE": "YOUR_ENGINE_CHOICE_HERE" // Defaults to "cecil" engine if env var not present } } } }

도구 사용이 필요한 포즈 쿼리

예를 들어 검색을 원하면 "타임지 선정 2024년 올해의 인물은 누구였을까?"를 입력하거나, 요약을 원하면 "이 영상을 요약해 주세요: https://www.youtube.com/watch?v=jNQXAC9IVRw "를 입력하세요.

디버깅

달리다:

# If mcp cli installed (`pip install mcp[cli]`) mcp dev /ABSOLUTE/PATH/TO/PARENT/FOLDER/kagimcp/src/kagimcp/server.py # If not npx @modelcontextprotocol/inspector \ uv \ --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/kagimcp \ run \ kagimcp

그런 다음 http://localhost:5173 에서 MCP Inspector에 접속하세요. Inspector의 환경 변수 KAGI_API_KEY 에 Kagi API 키를 추가해야 할 수도 있습니다.

고급 구성

  • 로깅 수준은 FASTMCP_LOG_LEVEL 환경 변수(예: FASTMCP_LOG_LEVEL="ERROR" )를 통해 조정 가능합니다.
  • 요약기 엔진은 KAGI_SUMMARIZER_ENGINE 환경 변수(예: KAGI_SUMMARIZER_ENGINE="daphne" )를 사용하여 사용자 정의할 수 있습니다.
    • 여기에서 다양한 요약 엔진에 대해 알아보세요

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Tools

Kagi 검색 기능과 Claude AI를 통합하는 MCP 서버로, Claude가 최신 정보가 필요한 질문에 답할 때 실시간 웹 검색을 수행할 수 있도록 해줍니다.

  1. 설정 지침
    1. Smithery를 통해 설치
    2. Claude Desktop으로 설정
    3. 도구 사용이 필요한 포즈 쿼리
    4. 디버깅
  2. 로컬/개발자 설정 지침
    1. 복제 저장소
    2. 종속성 설치
    3. Claude Desktop으로 설정
    4. 도구 사용이 필요한 포즈 쿼리
    5. 디버깅
  3. 고급 구성

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      An MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.
      Last updated -
      4
      2
      Python
    • -
      security
      A
      license
      -
      quality
      An MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.
      Last updated -
      1
      JavaScript
      MIT License
      • Apple
    • -
      security
      F
      license
      -
      quality
      An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
      Last updated -
      Python
      • Apple
    • -
      security
      F
      license
      -
      quality
      A MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.
      Last updated -
      5
      TypeScript

    View all related MCP servers

    ID: xabrrs4bka