kothar
kothar
コンテキストを認識する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.indexerClaude Codeへの追加
claude mcp add --scope user kothar -- uv run --directory /path/to/kothar python -m kothar.serverClaude 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 --forceDocker
埋め込みモデルとDuckDBインデックスを組み込んだマルチステージイメージ — 実行時のネットワーク依存関係はありません。
docker build -t kothar:0.3.0 .
docker run --rm -i kothar:0.3.0 # stdio transport, for local MCP clientsClaude 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
ライセンス
Available Tools
4 toolsexplain_whyB
Explain why a specific MCP server is a good fit for a given project. Example: server_name="github", project_description="open source Python library with CI/CD"
Inputs: server_name (required), project_description (required). Returns: result
recommend_for_goalA
Decompose a multi-part goal into sub-queries and recommend MCP servers for each part. Splits on hard boundaries: '. ', '; ', ' then ', ', then ', ' and then ' (not bare ' and '). project: optional project context prepended to each sub-query for richer semantic matching. Example: goal="integrate GitHub. add Stripe payments", project="Python FastAPI backend"
Inputs: goal (required), project. Returns: result
recommend_for_projectA
Given a project description, recommend the top MCP servers to install and explain why each one fits. Example: "Python FastAPI backend with PostgreSQL and JWT auth"
Inputs: description (required). Returns: result
recommend_nextA
Mid-project advisor: given your current MCP stack (list of server names) and a new development context, recommend what to add next and why. Example: current_stack=["github", "filesystem"], new_context="adding Stripe payments and PDF invoices" session_file: optional path to a session notes file whose content is appended to new_context.
Inputs: current_stack (required), new_context (required), session_file. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct purpose: explaining a specific server, recommending for a multi-part goal, for a full project, or for next steps. No overlap.
All names follow verb_noun pattern (explain_why, recommend_for_goal, etc.), but 'explain_why' uses 'why' as a noun, slightly deviating from standard action-object convention.
Four tools cover the essential recommendation scenarios without redundancy. The count is well-scoped for the server's purpose.
The set covers main use cases: explaining, recommending for goals, projects, and next steps. Missing features like comparing or updating recommendations, but not critical.
Maintenance
Related MCP Connectors
The MCP server index that vets servers, not just lists them. Advisory screen before you install.
MCP server for developer documentation, generated by doc2mcp.
Search a directory of 800+ open-source MCP servers: find, compare and get install configs.
Search MCP servers and agent skills, compare them, and get install configs for your client.