CodeRadius

CodeRadius

coderadius•bycoderadius-ai

A local-first tool that statically builds an architecture knowledge graph across repos and ships a native MCP server for querying contracts, consumers, and change impact.

License: Apache-2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes an analyze_blast_radius tool that reports upstream producers and downstream consumers of a resource such as a table, channel, or endpoint.
  • •Provides a get_data_contract tool returning the exact schema of a payload, event, or database table before modification.
  • •Offers resolve_service_context to map a file path, git remote, or repo name to its service, team, and repository.
  • •Includes evaluate_code_change_impact to compute blast radius of a proposed change via in-memory topological diff before committing.

BEST FOR

  • •AI coding agents that need architectural context before refactoring an API payload or renaming a database field.
  • •Engineers checking cross-repo impact of a change before merge.

ABOUT CODERADIUS

CodeRadius is cataloged as an MCP server attributed to coderadius-ai. A local-first tool that statically builds an architecture knowledge graph across repos and ships a native MCP server for querying contracts, consumers, and change impact. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache-2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for CodeRadius are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does my code leave my machine?

No; CodeRadius is local-first, using your own LLM key or a fully local Ollama setup, with no telemetry beyond a once-daily version check.

Can the graph span multiple repositories?

Yes; analyzing multiple repos into the same graph makes blast radius cross-repo.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 6cab9ccb67d8 · 采集于 2026-11-13 10:42:08 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

CodeRadius logo

CodeRadius

Prevent cross-repo architectural breakage before merge.

CI License: Apache-2.0 npm MCP Ready

Documentation · Live demo · Quick start

[!NOTE] CodeRadius is in maintenance mode and no longer under active development. The code stays available under Apache-2.0 and works as documented. See Project Status.

As teams adopt AI coding tools, code is written faster than ever, but without global system context. CodeRadius statically builds a live knowledge graph of your entire architecture, covering every service, API, queue, and database across every repo, so engineers and AI agents can measure blast radius, enforce policy, and ship without breaking downstream systems.

cr blast finding a cross-repo breaking change

An innocent-looking rename in order-service; cr blast finds the consumer it breaks in notification-service, in seconds. Explore the live demo dashboard →


Why

AI coding agents are fast but architecturally blind. They will flawlessly refactor an API payload or rename a database field, unaware they just broke a downstream consumer three teams away. Even without AI, undocumented dependencies accumulate until every cross-service change turns into an archaeological dig.

CodeRadius fixes this with three capabilities on one graph:

  • Blast radius before merge: cr blast is terraform plan for architecture. It provides an in-memory topological diff of your changes against the graph, returning structured findings in seconds. Semantic exit codes (0 SAFE, 1 WATCH, 2 BREAKING) let CI and agents branch without parsing text.
  • Live context for AI agents: A native MCP server lets any agent query data contracts, downstream consumers, and change impact before writing code.
  • Governance as code: Declarative YAML policies evaluated against the live architecture graph, not file-level lint: unowned services, deprecated dependencies on exposed APIs, shared-database anti-patterns.

Local-first. Your code never leaves your machine: bring your own LLM key, or run fully local with Ollama. No telemetry. The only other network call is a once-daily version check (CR_NO_UPDATE_CHECK=1 disables it).


Project Status

CodeRadius is in maintenance mode. There is no roadmap and no planned release; issues and pull requests are not actively triaged.

The deterministic core (AST parsing, import and taint analysis, graph building, blast radius) is pinned by 5,400+ unit tests plus a deterministic eval suite, and every framework marked eval-verified in the compatibility matrix is regression-gated by committed fixtures.

LLM semantic extraction quality varies by stack and provider.

Forks are welcome under the Apache-2.0 license.


Quick Start

Requirements: Docker (for the local graph database). The CLI ships as a self-contained binary for macOS and Linux (x64/arm64), nothing else to install.

npm i -g coderadius     # or: bun add -g coderadius

or without a package manager:

curl -fsSL https://raw.githubusercontent.com/coderadius-ai/coderadius/main/scripts/install.sh | bash

To run from source instead (contributors; requires Bun ≥ 1.0 and Node.js ≥ 22):

git clone https://github.com/coderadius-ai/coderadius.git
cd coderadius
bun install
bun link        # exposes the `cr` binary globally (runs from source, no build step)

Then, from the repo you want to analyze:

cr init                              # configure your LLM provider, generate a smart .crignore
cr up                                # start the local graph database (Memgraph via Docker)

cr analyze code .                    # build the graph (default: --depth semantic)
cr analyze code . --depth structure  # AST-only scan, zero LLM calls
cr analyze code . --depth contracts  # full semantic extraction with data contracts

cr blast                             # blast radius of your current changes vs origin/main
cr blast feature/checkout            # blast radius of a branch (shorthand for --head)
cr ui                                # generate the architecture dashboard
cr mcp start                         # MCP server for your IDE agent

Analyze multiple repos into the same graph (cr analyze code ../orders ../payments ../shipping) and blast radius becomes cross-repo.


How It Works

Unlike observability tools that rely on runtime traffic, CodeRadius builds its graph statically through a four-stage pipeline:

  1. Auto-Discovery: Detects service boundaries, monorepos, and multi-repo architectures from your codebase or Backstage catalogs.
  2. Taint Analysis Engine: Tree-sitter AST parsing identifies only the functions that perform external I/O (HTTP calls, DB queries, message broker events). Pure business logic is ignored. The taint engine filters approximately 85% of functions before a single LLM token is spent.
  3. Semantic Extraction: Tainted functions are sent to your chosen LLM to extract intents, payloads, and infrastructure dependencies. A Merkle hash cache makes incremental runs take seconds instead of hours.
  4. Global Edge Resolution: Matches emergent client calls in Service A to canonical OpenAPI endpoints in Service B, bridging the cross-repo gap.

Every node and edge carries grounding: who produced the fact (AST, LLM, declaration, infra), the supporting evidence, and how much to trust it.

Built on Bun, tree-sitter, Mastra + Vercel AI SDK, and Memgraph.


MCP Server

CodeRadius ships a native MCP server that plugs into any MCP-compatible agent (Claude Code, Cursor, Windsurf, Gemini CLI). The agent discovers these tools and checks impact before writing code:

{
  "mcpServers": {
    "coderadius": {
      "command": "cr",
      "args": ["mcp", "start"]
    }
  }
}
ToolPurpose for the Agent
resolve_service_contextOrient the agent: map a file path, git remote, or repo name to its service, team, and repository.
list_servicesInventory all services with owners, languages, and deployment topology.
get_service_detailsDeep-dive one service: exposed APIs, endpoint counts, deployment units, CI/CD and Docker infrastructure.
get_repository_detailsRepository posture: services, pipelines, Docker images, tool configurations, build tasks, commit liveness.
get_data_contractExact schema (fields and types) of a payload, event, or database table, before modifying it.
analyze_blast_radiusUpstream producers and downstream consumers of a resource (table, channel, endpoint).
evaluate_code_change_impactBlast radius of a proposed change via in-memory topological diff, before committing.
trace_data_lineageFollow a data field across services, brokers, and APIs.
analyze_architecture_gravitySPOFs, shared-database anti-patterns, and coupling hotspots ranked by score.
analyze_agentic_contextAI-tooling adoption per repository: tools, configurations, skills, workflows.

Full guide: coderadius.ai/docs/guide/mcp-server


Current Support

Languages: TypeScript · PHP · Python · Go · Java

Frameworks (eval-verified): NestJS · Express · Fastify · Hono · Koa · Symfony · Laravel · Slim · Spring Boot · JAX-RS

Frameworks (heuristic + LLM): FastAPI · Flask · Django · Gin · Fiber

Protocols & infra: REST · OpenAPI · GraphQL · RabbitMQ · Google Pub/Sub · PostgreSQL · MySQL

CI/CD ingestion: GitHub Actions · GitLab CI

LLM providers: Google Vertex AI · Google Gemini API · OpenAI · Anthropic · Amazon Bedrock · Ollama (fully local, no API key)

→ Full compatibility matrix


Beyond the Basics

  • Architecture Dashboard: Self-contained HTML report with service inventory, SPOF analysis, governance violations, and dependency health (cr ui).
  • Agent Harness: Maps AI tooling adoption across the fleet: maturity levels, context gaps, team coverage.
  • Runtime Traces: Overlay Datadog/Jaeger traces (cr analyze traces) on the static graph to validate architecture against reality.
  • Living Docs: Auto-generate ARCHITECTURE.md for any service (cr docs generate).

Documentation


Contributing

The project is not accepting new features. If you fork it, language plugins, framework signals, and connection extractors are designed as isolated extension points. See CONTRIBUTING.md.


License

Apache-2.0

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for CodeRadius from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/coderadius)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools