Made a MCP server for offline Godot API documentation reference

I built a small MCP server that serves the official Godot API docs from local XML so coding agents stop guessing and start reading the real thing. Tools like Claude Code and Codex CLI often misuse Godot classes or call non‑existent methods; this keeps them grounded by offering fast,
offline search and precise lookups over stdio. It parses 4.x docs (tolerates 3.x), builds an in‑memory index, and exposes stable tools (godot_search, godot_get_class, godot_get_symbol, godot_list_classes). There’s no networking—just your local docs.

If there’s demand, I’ll package and publish it to npm. Feedback and real‑world XML edge cases are welcome. Repo: GitHub - tkmct/godot-doc-mcp

2 Likes

This awesome - just got it all set up and running, and I’m using it with Codex inside VScode.

Small suggestion: It took me a while to figure out how to get XML docs using --doctool, mentioning here as it might be a good candidate for the Readme.

1 Like

Thank you for the suggestion, I added a README to how to fetch the fresh doc using godot --doctool command. Also, I’m always welcome for the PR and suggestion!