get_unity_api_docLABSCO SUMMARY
Version-pinned answers, which is the whole point with Unity.
Unity's API moves between LTS releases, and a model answering from training data will happily hand you a method that does not exist in your project's version. Pinning every lookup to a version — and, when something is missing, naming the versions that do have it — turns a plausible-sounding answer into a checkable one. This is a community project and not affiliated with Unity Technologies.
What it is
An unofficial Unity documentation server. It downloads and caches Unity's own JavaScript search index and runs the search in Python, so lookups do not depend on executing page scripts.
What you get
get_unity_api_docreturns documentation for a class, optionally a specific method, cleaned into markdownsearch_unity_docssearches the docs by query, scoped to a versionlist_unity_versionsreturns the supported versions;suggest_unity_classescompletes a partial class name- Versions from 2019.1 to 6000.2 are covered, and a full version string like 6000.0.29f1 normalises to 6000.0 — alpha, beta, final and patch forms all accepted
- Namespace resolution is dynamic, so NavMeshAgent finds AI.NavMeshAgent without you typing the prefix
- When an API is missing from the version you asked for, the answer lists which versions do have it
Requirements
uvx --from git+https://github.com/Saqoosha/unity-docs-mcp unity-docs-mcp over stdio, or the PyPI package unity-docs-mcp, version 0.2.2. No account, no key. Caching is layered — 6 hours for API availability, 24 hours for the search index.
Setup effort
One command — uvx --from git+https://github.com/Saqoosha/unity-docs-mcp unity-docs-mcp
USE CASES
Checking an API against the version you actually ship
Ask about a class or method and pin the answer to 2022.3 or 6000.0 rather than whatever the model remembers.
Finding the right class when you only know the concept
Search by phrase and let the index rank exact title matches to the top.
Recalling a half-remembered name
Type the fragment you remember and get the completions back.
Planning an engine upgrade
When an API is missing from your version, the answer names which versions have it.
4 tools
Listed in project docs. Your client may show a different list.
search_unity_docslist_unity_versionssuggest_unity_classesBEFORE YOU INSTALL
What to know first
Tools you get
4 tools named in the project's documentation.
INSTALLATION
Connect your client
Server setup
Any MCP client
uvx --from git+https://github.com/Saqoosha/unity-docs-mcp unity-docs-mcpMCP Clients
Claude Code
claude mcp add unity-docs -s user -- uvx --from git+https://github.com/Saqoosha/unity-docs-mcp unity-docs-mcpClaude Desktop
{
"mcpServers": {
"unity-docs": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Saqoosha/unity-docs-mcp",
"unity-docs-mcp"
]
}
}
}