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.
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.
- `get_unity_api_doc` returns documentation for a class, optionally a specific method, cleaned into markdown
- `search_unity_docs` searches the docs by query, scoped to a version
- `list_unity_versions` returns the supported versions; `suggest_unity_classes` completes 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
`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.
One command — uvx --from git+https://github.com/Saqoosha/unity-docs-mcp unity-docs-mcp
