ksp-mods-mcp

ksp-mods-mcp

MCP server for searching Kerbal Space Program mods from the CKAN index, with tools for mod search, recommendations, parts listing, and CKAN download cache integration.

Category
Visit Server

README

ksp-mods-mcp

MCP server for searching KSP mods from the CKAN index.

Installation

Requires uv.

uv tool install git+https://github.com/tabbykat113/ksp-mods-mcp

That's it. The index is built automatically on the first tool call.

The database is stored in your platform's data directory (~/.local/share/ksp-mods-mcp/ckan.db on Linux, AppData/Local/ksp-mods-mcp/ckan.db on Windows). Override with the CKAN_DB environment variable if needed.

You can also run harvest manually at any time to update the index — it's a no-op if nothing changed upstream.

Adding to your MCP client

Claude Desktop

Edit claude_desktop_config.json (find it via Settings → Developer):

{
  "mcpServers": {
    "ckan": {
      "command": "ksp-mods-mcp"
    }
  }
}

Other MCP clients

Use ksp-mods-mcp as the command. The server communicates over stdio.

Tools

Tool Description
search_mods_tool Search by name/author regex, tags, KSP version compatibility, cached status. Paginated.
get_mod_tool Details for a mod by identifier. Selectable categories: metadata, relations, install, versions, github, spacedock, raw.
get_recommendations_tool Related mods via dependency/recommendation relationships. Forward and reverse. Paginated.
list_tags_tool All tags in the index ranked by mod count.
list_parts_tool Parts inside a mod's cached ZIP. Three detail levels: summary, basic, long.
get_part_tool Full detail for a single part: formatted module stats (engine thrust/Isp, RCS, reaction wheels, etc.) and resource amounts.
index_status DB stats, last harvest timestamp, and whether the CKAN download cache is detected.
refresh_index Re-harvest the CKAN-meta archive. No-op if unchanged; use force=True to rebuild.

Search options

  • name — regex matched against identifier and display name, e.g. "engineer", "^MechJeb", "visual|scatter"
  • author — regex matched against author(s), e.g. "sarbian", "squad|nertea"
  • tags + tags_mode — "and" (all tags required) or "or" (any tag)
  • ksp_versions — e.g. ["1.12"]; matches any mod with a release supporting that version
  • sort_by — "downloads" (default), "downloads asc", "name", "name desc", "download_size", "install_size", "updated", "updated asc"
  • cached_only — only return mods whose latest-version ZIP is present in the CKAN download cache
  • limit / offset — pagination (max 100 per page)

Recommendations options

  • identifiers — list of CKAN mod identifiers to find relations for
  • categories — which relationship types to include (default: depends, recommends, suggests):
    • Forward: depends, supports, recommends, suggests
    • Reverse: depends_by, supported_by, recommended_by, suggested_by
    • Pass ["all"] to include all categories
  • Results are deduplicated: if the same mod appears via multiple sources or categories, the highest-priority category wins and all source mods are listed in related_mods
  • limit / offset — pagination (max 100 per page)

CKAN download cache integration

If CKAN is installed and has downloaded mods, is_cached: true appears on any result whose latest-version ZIP is present in the local download cache. The cache directory is detected automatically (%LOCALAPPDATA%/CKAN/downloads on Windows, $XDG_DATA_HOME/CKAN/downloads on Linux). Override with the CKAN_DOWNLOAD_CACHE environment variable.

Note: is_cached reflects the latest version of a mod. If you have an older version cached but not the latest, the flag will not appear — the cached copy may not match what CKAN would install. If you're pinned to an older KSP version (e.g. 1.8.1) and intentionally keep older mod versions, use the ksp_versions filter to find compatible mods and disregard the cached status.

Both list_parts_tool and get_part_tool require a cached ZIP to work.

Part detail levels

list_parts_tool has three detail levels:

  • summary — total part count and category breakdown
  • basic — per-part name, resolved title, and category
  • long — basic + cost, mass, tech node, bulkhead profiles, supported module type names, unsupported module names, and carried resource names

get_part_tool always returns full detail: all of the above plus structured module data (engine thrust, Isp, propellants; RCS thrust and propellants; reaction wheel torque; solar panel output; command pod crew; parachute drag; decoupler ejection force; docking node type; generator and converter rates; harvester efficiency) and full resource amounts. Module types with no formatter are listed by name under unsupported_modules.

Development

git clone https://github.com/tabbykat113/ksp-mods-mcp
cd ksp-mods-mcp
uv sync
uv run harvest
uv run ksp-mods-mcp

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured