NNYK / BLUEPRINTSAI SYSTEMS EXPLAINED
SYSTEM BLUEPRINT / 01 · LOCAL PYTHON / STDIO MCP

CodeAtlas MCP.

A map of your Python code — for coding assistants. CodeAtlas reads a local Python repository, builds a structural index of symbols and possible calls, then lets an MCP-compatible coding assistant ask focused questions without repeatedly reading whole files.

Local executable server · Public browser samplePython · AST · SQLite · MCP16 documented tests
01 / START HERE

What is it, really?

A coding assistant may need to know which function calls another or which tests could be relevant. Reading many full files creates extra context and noise. A structural index lets the assistant ask smaller, more targeted questions.

IN EVERYDAY LANGUAGE

Think of a large codebase as a city. Before visiting every building, a map shows where roads connect. CodeAtlas makes a map of Python definitions and likely call relationships; it cannot tell you everything inside each building.

WHO IT HELPS

The practical use case

A coding assistant may need to know which function calls another or which tests could be relevant. Reading many full files creates extra context and noise. A structural index lets the assistant ask smaller, more targeted questions.

WHAT YOU CAN VERIFY

Local MCP server

Public source code, architecture documentation, tests and the labeled browser demo are linked below. The implementation boundaries are documented, not hidden.

02 / INTERACTIVE BLUEPRINT

Follow the architecture.

Select any stage below. The explanation shows what enters that part of the system, what it does and what comes out. This diagram explains real code architecture; it is not connected to the running backend.

IN FOCUS / Step 1 of 5

Choose source

The user supplies a local Python repository that the tool is allowed to inspect. The indexer reads eligible .py files as text; it does not import or execute the application.

WHAT GOES INA repository root containing Python files
WHAT COMES OUTEligible .py text and parse errors
Tip: use ← → arrow keys while a stage is focused.

The visual flow is an educational representation. For the exact code paths, open the source and engineering documentation.

03 / WALK THROUGH A QUESTION

What does it look like?

These simplified examples are drawn from the repository's documented behavior. They explain what to expect; they do not execute an API request from this page.

EXAMPLE INPUT

What you provide

def add(a, b): return a + b

def twice(x): return add(x, x)

# test_maths.py
# test_twice() calls twice(2)
EXAMPLE OUTCOME

What the system determines

Query: get_call_graph('maths.py:twice')
Candidate relationship: twice → add

Query: find_impacted_tests('maths.py:add')
Candidate test: test_maths.py:test_twice

Illustrative fixture from the repository README; the actual MCP server runs locally, not in this browser. Relationships are static candidates, not proof of runtime execution or test coverage.

04 / WHY THE TECH EXISTS

Every component has a job.

Instead of a giant list of tools, these are the actual responsibilities each technology has in this project.

Python AST

Parses syntax without executing the target source.

SQLite

Stores a repeatable local symbol and candidate-call snapshot.

MCP stdio

Lets a compatible tool client request index, graph and summary operations.

CLI and tests

Make the indexing behavior inspectable and testable locally.

05 / OPEN THE EVIDENCE

Show the working parts.

✓ Implemented

  • Indexes Python classes, functions, nested and async definitions.
  • Handles direct-name and some import-alias static call candidates.
  • Offers five local MCP tools and a CLI; queries support edge/depth bounds.
  • Reports possible test callers by walking reverse graph candidates.
  • Has 15 indexing tests and one stdio protocol integration test.

○ Not claimed

  • Python-only; uses standard-library AST rather than Tree-sitter.
  • Static candidates cannot resolve arbitrary runtime dispatch, inheritance, reflection or wildcard imports.
  • An impacted test is a possible caller, not confirmed test coverage.
  • The public graph demo is a fixed fixture; private repositories are not uploaded.
  • Token payload comparisons are real measurements of different information; no agent cost-saving percentage is proven.
06 / QUESTIONS THAT MATTER

Understand the trade-offs.

COMMON QUESTION

Does it read the code?

Yes. It reads eligible Python files while indexing, then returns focused structural summaries for later questions.

COMMON QUESTION

Does it generate answers with an LLM?

No. This repository is an indexing and MCP-tool project; it does not run a language model.

COMMON QUESTION

Are the call graphs exact?

No. The code creates static candidate relationships. Dynamic behavior can produce missed or incorrect edges.

Being clear about limitations is part of engineering: the project shows patterns and testable code, not a promise of production security, measured cost reduction or unconfigured model inference.

07 / KEY WORDS

No jargon left behind.

AST
A tree describing the syntax of Python source code.
Symbol
A named item such as a function, method or class.
Call graph
A map of which functions may call other functions.
MCP
A standard way for AI clients to call tools and access structured context.