Unreal Code Analyzer
Provides deep source code analysis for Unreal Engine codebases, allowing AI assistants to understand C++ class structures, search code, and analyze subsystems.
What is Unreal Code Analyzer?
Unreal Code Analyzer is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to provides deep source code analysis for unreal engine codebases, allowing ai assistants to understand c++ class structures, search code, and analyze subsystems.
Provides deep source code analysis for Unreal Engine codebases, allowing AI assistants to understand C++ class structures, search code, and analyze subsystems.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Provides deep source code analysis for Unreal Engine codebas
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx unreal-engine-code-analyzer-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Unreal Code Analyzer
The Unreal Engine Code Analyzer MCP server provides AI assistants with deep structural understanding of Unreal Engine C++ codebases — whether that's the official Unreal Engine source or a custom UE-based project. It parses C++ class hierarchies, finds cross-file references, detects common Unreal coding patterns, surfaces best practices, and can answer questions about major UE subsystems, enabling Claude to give precise, context-aware assistance for game development tasks.
Prerequisites
- Node.js installed (for running the built server)
- Git for cloning the repository
- Access to an Unreal Engine source tree or a local UE-based C++ project
- npm for installing dependencies (tree-sitter and other parsing libraries are installed automatically)
- An MCP-compatible client such as Claude Desktop or Cline
Clone the repository
Clone the unreal-analyzer-mcp repository to your local machine.
git clone https://github.com/ayeletstudioindia/unreal-analyzer-mcp
cd unreal-analyzer-mcpInstall dependencies and build
Install npm dependencies (includes tree-sitter for C++ parsing) and compile the TypeScript source.
npm install
npm run buildAdd the server to your MCP client configuration
Edit your claude_desktop_config.json (or Cline settings) to add the unreal-analyzer entry, pointing to the built index.js file with its absolute path.
Restart your MCP client and initialize the analyzer
After restarting, use the set_unreal_path tool (for the official UE source) or set_custom_codebase tool (for any C++ project) to tell the server where your code lives. This must be done before other tools work.
Analyze classes, find references, and detect patterns
Once initialized, Claude can call the full set of analysis tools: analyze_class, find_class_hierarchy, find_references, search_code, detect_patterns, get_best_practices, query_api, and analyze_subsystem.
Unreal Code Analyzer Examples
Client configuration
Claude Desktop configuration pointing to the built server binary. Replace the path with the actual location where you cloned and built the project.
{
"mcpServers": {
"unreal-analyzer": {
"command": "node",
"args": ["/absolute/path/to/unreal-analyzer-mcp/build/index.js"]
}
}
}Prompts to try
After initializing the server with your UE codebase path, use these prompts with Claude.
- "Set the codebase to my UE5 project at /Users/me/Projects/MyGame and analyze the AMyCharacter class."
- "Show me the full class hierarchy for AActor including all subclasses in my project."
- "Find all references to the PhysicsHandle component across header and source files."
- "Search for all uses of the UFUNCTION macro with BlueprintCallable in my project."
- "Explain how the Unreal Engine subsystem for online multiplayer works and what classes are involved."Troubleshooting Unreal Code Analyzer
Tools return 'codebase not initialized' errors
You must call set_unreal_path (for official UE source) or set_custom_codebase (for any C++ project) with the path to your code before using analysis tools. Do this at the start of each Claude session.
npm install fails or tree-sitter compilation errors
tree-sitter compiles native Node addons during install. Ensure you have build tools: on macOS run 'xcode-select --install', on Linux install build-essential, on Windows install the windows-build-tools npm package.
analyze_class returns partial or empty results for a class
The parser relies on tree-sitter C++ grammar. Ensure the class exists in a .h or .cpp file within the initialized path and that file paths don't contain unusual characters. Large codebases may take a few seconds to index on first access.
Frequently Asked Questions about Unreal Code Analyzer
What is Unreal Code Analyzer?
Unreal Code Analyzer is a Model Context Protocol (MCP) server that provides deep source code analysis for unreal engine codebases, allowing ai assistants to understand c++ class structures, search code, and analyze subsystems. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Unreal Code Analyzer?
Follow the installation instructions on the Unreal Code Analyzer GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Unreal Code Analyzer?
Unreal Code Analyzer works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Unreal Code Analyzer free to use?
Yes, Unreal Code Analyzer is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Unreal Code Analyzer Alternatives — Similar Developer Tools Servers
Looking for alternatives to Unreal Code Analyzer? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Unreal Code Analyzer in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Unreal Code Analyzer?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.