Godot Docs MCP

This project is
Look up documentation in Godot using fuzz search. Supports stable, latest, 4.5, 4.4, and 4.3 versions. The default version is "stable".
Tools
search_docs (searchTerm: string, version: "stable" | "latest" | "4.5" | "4.4" | "4.3" = "stable")
Search the Godot docs by term. Will return URLs to the documentation for each matching term. The resulting URLs will need to have their page content fetched to see the documentation.
get_docs_page_for_term (searchTerm: string, version: "stable" | "latest" | "4.5" | "4.4" | "4.3" = "stable")
Get the Godot docs content by term. Will return the full documentation page for the first matching result.
Configure the MCP server
To use the hosted HTTP server:
Or, to connect to the MCP server using a stdio server:
How this works
The docs site uses a frontend search tool to handle the docs search. There is a file called searchindex.js in the docs site that contains an index of all the pages (URLs and titles, not content) on the site.
This project takes advantage of that in the following ways:
downloads each of those
searchindex.jsfiles for each version of the docsconverts the
searchindex.jsto asearchindex.js.jsonthat is just json we needindexes that new json using lucaong/minisearch
when a docs page is requested, the URL for the page is converted from HTML to markdown
Local development
MCP server
Then, set up your tool:
To debug the server, you can use this browser tool:
Then open http://localhost:6274/#tools.
You can also use https://www.mcpplayground.io/ to look at the tools in the live HTTP server.
Generating the docs
This server cannot be installed