Skip to main content
Glama
Blindspot MCP

Blindspot MCP

by umuterdal

Blindspot MCP

Blindspot is a local, general-purpose context engine for AI coding agents.

It exists for one job:

  • help the agent understand a project

  • help the agent understand symbols and relationships

  • help the agent estimate change impact before editing

  • do this across different languages and project layouts

Blindspot is intentionally small. It is not trying to be a deployment system, policy engine, rollout manager, or autonomous edit platform.

Why

Most agents can edit files, search text, and run commands. What they usually lack is a compact, reusable understanding layer for:

  • project structure

  • symbol ownership

  • callers and references

  • inheritance and composition

  • likely blast radius of a change

That is the gap Blindspot fills.

Paid context engines already proved this model is useful. Blindspot is the local and reusable alternative.

Related MCP server: Context Zero Engine

Design Goals

  • Small MCP surface

  • Works across languages and frameworks

  • Gives structured context instead of file dumps

  • Helps any agent write better code with fewer blind edits

  • Stays useful even when framework-specific intelligence is missing

Language Coverage

Blindspot keeps one public API and improves the engine underneath it.

  • Strong support: Python, PHP, JavaScript, TypeScript, Go

  • Solid project-structure and syntax-aware support: Dart / Flutter, React Native, Node.js

  • Additional generic support: Java, Kotlin, C#, Ruby, Rust, mixed repos

The contract does not change per language. get_context(...) stays the same; only the quality of the internal enrichment improves.

Core Tools

Blindspot now exposes only the core context-engine surface:

  • set_project_path: call once to bind Blindspot to the repo

  • get_project_snapshot: one-shot repo overview at session start

  • get_context: main entrypoint for file, symbol, relationship, and impact context

  • get_symbol_body: exact symbol metadata or bounded source excerpt

  • get_edit_region: small numbered excerpt around a symbol or line range

  • search_code: fallback text search when structured context is not enough

  • find_files: locate candidate files before drilling into one with get_context

  • refresh_index: rebuild the shallow file index if discovery gets stale

  • build_deep_index: rebuild the deep symbol index for richer relationship analysis

Main Workflow

  1. Call set_project_path(...)

  2. Call get_project_snapshot() once at the start of a session

  3. Before any important edit, call get_context(target=..., intent="before_edit", symbol=...)

  4. If exact source is needed, call get_symbol_body(...) or get_edit_region(...)

  5. If the returned context is still insufficient, use search_code(...)

Tool Selection Rule

Agents should default to get_context.

  • Use get_project_snapshot for orientation

  • use get_context for understanding and edit planning

  • use get_symbol_body for one symbol

  • use get_edit_region for a tight excerpt

  • use find_files to locate candidates

  • use search_code only as fallback

  • use index rebuild tools only when index data is missing or stale

The Main Idea

The agent should not decide between 40 different analysis tools.

Instead, it should call one entrypoint and receive a normalized context envelope:

  • project

  • target

  • overview

  • file_context

  • symbol_context

  • relationship_context

  • impact_context

  • direct_callers

  • indirect_dependents

  • blast_radius

  • risk_reasons

  • safe_edit_hints

  • related_files

  • related_file_reasons

  • missing_context

  • confidence

  • confidence_details

  • edit_plan

  • suggested_next_steps

That is what get_context(...) returns.

Supported Intents

get_context(...) supports these intents:

  • project

  • file

  • symbol

  • before_edit

  • impact

This keeps the public API small while still covering the main agent workflows.

get_context(...) also accepts change_type:

  • modify

  • rename

  • delete

  • signature_change

  • contract_change

Use a stronger change_type when you want Blindspot to plan a coordinated refactor instead of a local edit.

Install

pip install blindspot-mcp

Claude Code

Add this to ~/.claude/settings.json:

{
  "mcpServers": {
    "blindspot": {
      "command": "blindspot-mcp",
      "args": ["--project-path", "/path/to/your/project"]
    }
  }
}

Cursor / VS Code

Add this to .cursor/mcp.json:

{
  "mcpServers": {
    "blindspot": {
      "command": "blindspot-mcp",
      "args": ["--project-path", "."]
    }
  }
}

Example

Developer: Change the User status behavior

Agent:
1. get_project_snapshot()
2. get_context(target="app/models/user.py", intent="before_edit", symbol="is_active")
3. get_symbol_body("app/models/user.py", "is_active")
4. edit with full awareness of related files and likely impact

What Blindspot Does Not Try To Be

  • a code editor

  • a release gate system

  • a deployment orchestrator

  • a policy approval workflow

  • a giant framework tool catalog

Those concerns make the product noisier and make agents choose tools instead of understanding code.

Local-First

Blindspot runs locally and analyzes the codebase on your machine.

Current Product Direction

Blindspot should become:

  • a stable context layer any AI agent can use

  • easy to plug into different editors and agent runtimes

  • reliable across Python, PHP, TypeScript, JavaScript, Go, Java, Ruby, Rust, C#, and mixed repos

  • reliable across Dart / Flutter, React Native, Node.js, and mixed monorepos

  • useful even in plain projects with no heavy framework detection

The standard for success is simple:

  • fewer blind edits

  • better relationship awareness

  • better change impact awareness

  • better code written by the agent

Development

Run the core test suite:

python3 -m unittest tests.test_context_engine_service -v

Run the lightweight context evaluation harness:

.venv/bin/python evals/run_context_eval.py

Available Tools

9 tools
build_deep_indexB

Build the deep symbol index required for rich relationship and impact analysis.

Inputs: no named parameters. Returns: result

find_filesB

Locate likely files by glob pattern, then use get_context on the best candidate.

Inputs: pattern (required). Returns: result

get_contextA

Primary tool. Returns normalized file, symbol, relationship, and impact context before editing.

Pass owner (for example the enclosing class) when a symbol name is ambiguous within a file, so the engine can disambiguate identically named methods such as User.save vs Order.save.

Pass query as a free-text description (e.g. "pricing quote total") when you do not know the exact file or symbol. The engine runs a BM25 search over the indexed symbols, resolves target/symbol/owner from the top match, and echoes the inference under query_resolution.

If target points to a previously-saved detail file under .blindspot/output/*.json, the stored payload is returned verbatim so oversized responses never strand the caller.

Inputs: target, intent, symbol, include_source, +4 more. Returns: object

get_edit_regionC

Return a tight numbered excerpt around a symbol or line range for precise edits.

Inputs: file_path (required), symbol, start_line, end_line, +1 more. Returns: object

get_project_snapshotA

Session-start overview of the repo. Use this once before drilling into a specific edit.

Inputs: no named parameters. Returns: object

get_symbol_bodyA

Return one symbol's metadata or bounded source. Use this when exact symbol code is needed.

Inputs: file_path (required), symbol_name (required), compact. Returns: object

refresh_indexA

Rebuild the shallow file index when file discovery looks stale.

Inputs: no named parameters. Returns: result

search_codeA

Fallback text search. Use this only when get_context and symbol tools are not enough.

Inputs: pattern (required), case_sensitive, context_lines, file_pattern, +4 more. Returns: object

set_project_pathB

Call this first. Sets the active repo and initializes the available index state.

Inputs: path (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a distinct purpose: initialization, index building, file discovery, context retrieval, symbol extraction, edit region extraction, overview, search fallback, and path setting. No two tools appear to do the same thing, minimizing ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (e.g., build_deep_index, get_context, set_project_path). No mixing of naming conventions, which aids predictability.

    Tool Count5/5

    With 9 tools, the server covers essential operations for code analysis and edit preparation without being bloated. Each tool earns its place, and the scope is well-defined.

    Completeness4/5

    The tool set covers project initialization, index management, file discovery, context retrieval, symbol detail, edit regions, and project overview. Minor gaps like a path-switching tool or direct edit application are absent, but the primary focus on analysis and context is well-served.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A graph-powered code intelligence engine that indexes codebases into a structural knowledge graph to provide AI agents with deep context on function calls, types, and execution flows. It offers local, zero-dependency tools for hybrid search, impact analysis, and dead code detection across Python, JavaScript, and TypeScript projects.
      821
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A local code-intelligence engine for AI agents that indexes repositories into a PostgreSQL-backed code graph and serves structured, token-budgeted context over MCP and HTTP, enabling targeted queries on symbols, dependencies, contracts, and impact analysis.
      7
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to retrieve precise, real-time architectural context—such as domains, models, routes, and events—from a codebase, avoiding the need to dump entire files into prompts.
      19 npm
      1
      MIT