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.
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 versionsort_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 cachelimit/offset— pagination (max 100 per page)
Recommendations options
identifiers— list of CKAN mod identifiers to find relations forcategories— 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
- Forward:
- 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 breakdownbasic— per-part name, resolved title, and categorylong— 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。