Unreal Code Analyzer

v1.0.0Developer Toolsstable

Provides deep source code analysis for Unreal Engine codebases, allowing AI assistants to understand C++ class structures, search code, and analyze subsystems.

unreal-engine-code-analyzer-mcp-servermcpai-integration
Share:
152
Stars
0
Downloads
0
Weekly
0/5

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

Provides deep source code analysis for Unreal Engine codebases, allowing AI assi
LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx unreal-engine-code-analyzer-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-mcp
2

Install dependencies and build

Install npm dependencies (includes tree-sitter for C++ parsing) and compile the TypeScript source.

npm install
npm run build
3

Add 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.

4

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.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "unreal-engine-code-analyzer-mcp-server": { "command": "npx", "args": ["-y", "unreal-engine-code-analyzer-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides