Skip to main content
Glama

kothar

kothar MCP server

コンテキストを認識するMCPサーバーアドバイザー。あなたのプロジェクトに何をインストールすべきか、そしてその理由を教えてくれます。

課題

Glamaには19,000以上のMCPサーバーが存在します。あなたにはプロジェクトがあります。しかし、その間を埋めるものはありません。

LLMに直接尋ねても、存在しないサーバーを幻覚(ハルシネーション)したり、古い学習データから推奨したりします。ディレクトリは検索機能を提供しますが、アドバイスは提供しません。

kotharはコンテキストに基づいた選択というギャップを埋めます。「19,000の選択肢はこれです」ではなく、「あなたの特定のプロジェクトにおいて、今、何が必要で、なぜそれが必要なのか」を提示します。

誰も対応できていない2つの瞬間

プロジェクト開始時: 「DuckDBとFastAPIを使ってPythonデータパイプラインを構築している」 → 今すぐ何をインストールすべきか

プロジェクト進行中: 「認証レイヤーを追加した / PDFの取り込みが必要になった」 → この段階に達した今、何を追加すべきか

2つ目の瞬間の方が価値があります。プロジェクト開始時はGoogleで検索できますが、進行中はフロー状態にあるからです。

3つのツール

recommend_for_project(description)
  → top MCP servers for your stack with rationale

recommend_next(current_stack, new_context)
  → what to add as your project evolves

explain_why(server_name, project_description)
  → why a specific server fits your project

インストール

前提条件: uv

git clone https://github.com/yahiaklk/kothar
cd kothar
uv sync

インデックスの構築(初回実行時、約30秒):

uv run python -m kothar.indexer

Claude Codeへの追加

claude mcp add --scope user kothar -- uv run --directory /path/to/kothar python -m kothar.server

Claude Desktopへの追加

claude_desktop_config.json に以下を追加します:

{
  "mcpServers": {
    "kothar": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/kothar", "python", "-m", "kothar.server"]
    }
  }
}

使用方法

接続後、AIアシスタントに尋ねてください:

recommend_for_project("Python FastAPI backend with PostgreSQL and JWT auth")

recommend_next("github,filesystem", "adding Stripe payments and PDF invoices")

explain_why("postgres", "multi-tenant SaaS with row-level security")

仕組み

  • awesome-mcp-servers(2,000以上の厳選されたサーバー)を解析

  • all-MiniLM-L6-v2 で説明を埋め込み(ローカル実行、APIコストなし)

  • DuckDBに保存し、コサイン類似度でクエリを実行

  • テンプレートベースの根拠 — レジストリに基づいたものであり、幻覚ではありません

インデックスの再構築

uv run python -m kothar.indexer --force

Docker

埋め込みモデルとDuckDBインデックスを組み込んだマルチステージイメージ — 実行時のネットワーク依存関係はありません。

docker build -t kothar:0.3.0 .
docker run --rm -i kothar:0.3.0   # stdio transport, for local MCP clients

Claude Desktopへの接続:

{
  "mcpServers": {
    "kothar": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "kothar:0.3.0"]
    }
  }
}

非rootユーザー(uid=10001)、固定されたPython 3.12、uv.lockから解決された依存関係、実行時に HF_HUB_OFFLINE=1 を使用して /app/.hf_cache にキャッシュされたモデル。

スタック

Python · FastMCP · DuckDB · sentence-transformers · uv

ライセンス

MIT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
1dRelease cycle
3Releases (12mo)

Related MCP Connectors

  • MCP server for doc2mcp documentation, generated by doc2mcp.

  • Discover and recommend retriever MCP servers. Includes top picks and install config tools.

  • A MCP server built for developers enabling Git based project management with project and personal…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yahiaklk/kothar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server