Skip to main content
Glama

kothar

kothar MCP server

Контекстно-зависимый советник по MCP-серверам. Подскажет, что установить для вашего конкретного проекта — и почему.

Проблема

В Glama более 19 000 MCP-серверов. У вас есть проект. Но никто не помогает выбрать подходящее решение.

LLM при прямом запросе часто галлюцинируют, выдумывая несуществующие серверы, или рекомендуют устаревшие данные из обучающей выборки. Каталоги предлагают поиск, а не совет.

Kothar заполняет пробел в выборе с учетом контекста: не «вот вам 19 000 вариантов», а «для вашего конкретного проекта прямо сейчас нужно вот это, и вот почему».

Два момента, которые никто не учитывает

Начало проекта: «Я создаю конвейер обработки данных на Python с использованием DuckDB и FastAPI» → что мне установить прямо сейчас?

В процессе работы: «Я только что добавил уровень аутентификации / мне нужно обрабатывать загрузку PDF» → что мне добавить теперь, когда я дошел до этого этапа?

Второй момент более ценен. В начале проекта люди могут воспользоваться Google. В процессе работы они находятся в потоке.

Три инструмента

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"]
    }
  }
}

Использование

После подключения спросите своего ИИ-ассистента:

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 (более 2000 курируемых серверов)

  • Векторизует описания с помощью 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, модель кэшируется в /app/.hf_cache с параметром HF_HUB_OFFLINE=1 во время выполнения.

Стек

Python · FastMCP · DuckDB · sentence-transformers · uv

Лицензия

MIT

Available Tools

4 tools
explain_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

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    Four tools cover the essential recommendation scenarios without redundancy. The count is well-scoped for the server's purpose.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors