Skip to main content
Glama

kothar

kothar MCP server

Kontextbewusster MCP-Server-Berater. Sagt dir, was du für dein spezifisches Projekt installieren solltest — und warum.

Das Problem

Glama hat über 19.000 MCP-Server. Du hast ein Projekt. Niemand schließt die Lücke dazwischen.

LLMs, die direkt gefragt werden, halluzinieren Server, die nicht existieren, und empfehlen basierend auf veralteten Trainingsdaten. Verzeichnisse bieten dir eine Suche, aber keine Beratung.

kothar füllt die Lücke der Auswahl unter Kontext: nicht „hier sind 19.000 Optionen“, sondern „für dein spezifisches Projekt, genau jetzt, hier ist, was du brauchst und warum.“

Die zwei Momente, die niemand bedient

Projektstart: „Ich baue eine Python-Datenpipeline mit DuckDB und FastAPI“ → was muss ich jetzt installieren

Während des Projekts: „Ich habe gerade eine Auth-Schicht hinzugefügt / ich muss PDF-Ingestion handhaben“ → was muss ich jetzt hinzufügen, wo ich an diesem Punkt angekommen bin

Der zweite Moment ist wertvoller. Beim Projektstart können Leute googeln. Während des Projekts sind sie im Flow.

Drei Tools

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

Installation

Voraussetzungen: uv

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

Erstelle den Index (erster Durchlauf, ca. 30s):

uv run python -m kothar.indexer

Zu Claude Code hinzufügen

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

Zu Claude Desktop hinzufügen

Füge dies zu deiner claude_desktop_config.json hinzu:

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

Verwendung

Sobald die Verbindung hergestellt ist, frage deinen KI-Assistenten:

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")

Funktionsweise

  • Analysiert awesome-mcp-servers (über 2000 kuratierte Server)

  • Bettet Beschreibungen mit all-MiniLM-L6-v2 ein (lokal, keine API-Kosten)

  • Speichert in DuckDB, Abfragen mittels Kosinus-Ähnlichkeit

  • Vorlagenbasierte Begründung — fundiert im Verzeichnis, nicht halluziniert

Index neu erstellen

uv run python -m kothar.indexer --force

Docker

Multi-Stage-Image mit eingebettetem Embedding-Modell + DuckDB-Index — keine Laufzeit-Netzwerkabhängigkeit.

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

In Claude Desktop einbinden:

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

Nicht-Root-Benutzer (uid=10001), festes Python 3.12, Abhängigkeiten aufgelöst aus uv.lock, Modell zwischengespeichert unter /app/.hf_cache mit HF_HUB_OFFLINE=1 zur Laufzeit.

Stack

Python · FastMCP · DuckDB · sentence-transformers · uv

Lizenz

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