MCP Server for Claude Code

MCP Protocol | RETER Engine | Multi-Language

Reter Code
MCP Server

AI-powered code reasoning MCP server. Logical reasoning with RETER engine, multi-language code analysis, and session-based thinking with persistence.

$ claude
> Analyze the project architecture

● reter_code:code_inspection action="get_architecture"
  4 modules, 12 classes, 87 methods

  Entry points: main.py, api/router.py
  Core: AuthService, UserManager
  Hub classes: BaseController (5 subclasses)

> Generate class diagram

● reter_code:diagram type="class_hierarchy"
  ✓ Mermaid diagram generated
7
MCP Tools
4
Languages
26
Code Actions
UML
Diagrams
MCP Tools

What Claude Code
Can Do

thinking

Record reasoning steps, analysis, and decisions with structured thought chains.

session

Manage reasoning sessions - start, get context, and end with persistence.

code_inspection

Code analysis with 26 actions - list classes, find callers, analyze dependencies.

recommender

Refactoring recommendations and test coverage analysis.

diagram

Generate UML diagrams - class hierarchy, sequence, dependencies.

instance_manager

Manage RETER instances and sources for multi-project analysis.

Features

What You Get

Logical Reasoning

RETER engine for semantic code understanding and pattern matching.

Multi-Language

Python, C#, C++, and JavaScript code analysis.

Session Persistence

Requirements and task tracking across reasoning sessions.

UML Diagrams

Class hierarchy, sequence, and dependency diagrams.

Quick Start

Get Running in Minutes

1. Pre-cache Dependencies

Run uvx command from your project directory to download and sync.

2. Add to Claude Code

claude mcp add reter_code -s user -- uvx ...

3. Start Claude

Everything is cached, Claude starts fast.

4. Use Tools

thinking, code_inspection, recommender, diagram

Use Cases

From Analysis
to Action

REASONING

Structured Thinking

Session-based reasoning with persistence. Track thoughts, requirements, and tasks across conversations.

Learn More →
ANALYSIS

Code Understanding

Multi-language code analysis. List classes, find callers, analyze dependencies across your codebase.

Learn More →
QUALITY

Refactoring & Tests

Get recommendations for refactoring opportunities and test coverage improvements.

Learn More →

Add code intelligence
to Claude Code.

Install the Reter Code MCP server and unlock semantic code analysis.