Skip to content
MCP server

AIContextBuilder

Roslyn-based impact, usage and context tools for agents editing C# and .NET solutions

Runs locallyStatus and history
Install
Pricing
Freemium
Platforms
CLI, Windows, self-hosted
Runs
Locally
Version
0.5.520.1
Listing updated
today

Similar MCP servers

About AIContextBuilder

AIContextBuilder is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.

AIContextBuilder, shortened to aicb, loads a .sln, .slnx or .slnf the way the build would and answers symbol questions from the Roslyn semantic graph rather than text search. That means it tells overloads apart, follows interface and override links, understands partial types and records dependency injection construction paths, plus XAML and AXAML bindings.

The tools fall into three groups: change intelligence (impact_of_change, find_tests_for, review_context, verify_claim), semantic lookup (find_usages, find_implementations, resolve_injection, find_by_side_effects) and context packing (prepare_task, pack_for_task, get_context, explain_symbol, measure). Packing accepts a token budget, and a leading note says what was left out. The first question on a solution is slowest; later ones reuse the analysis.

It runs locally over stdio as a NuGet package and also has a CLI and a Windows desktop app. The README says it sees saved files, not unsaved editor buffers, and cannot certify that a trimmed bundle is enough to solve a task. It is free for individuals, education and smaller organizations, with commercial licences above the thresholds.

Install

Run in a terminal

claude mcp add aicb-roslyn-mcp -- dnx aicb-roslyn-mcp --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "aicb-roslyn-mcp": {
      "command": "dnx",
      "args": [
        "aicb-roslyn-mcp",
        "--yes"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "aicb-roslyn-mcp": {
      "command": "dnx",
      "args": [
        "aicb-roslyn-mcp",
        "--yes"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "aicb-roslyn-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "aicb-roslyn-mcp",
        "--yes"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "aicb-roslyn-mcp": {
      "command": "dnx",
      "args": [
        "aicb-roslyn-mcp",
        "--yes"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "aicb-roslyn-mcp": {
      "command": "dnx",
      "args": [
        "aicb-roslyn-mcp",
        "--yes"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

impact_of_change
Direct and transitive impact of changing a symbol, with risk level.
find_tests_for
Tests that cover a symbol.
review_context
Review evidence after a change.
verify_claim
Check a claim about the code.
find_usages
Find usages of a symbol.
find_implementations
Find implementations of an interface or member.
resolve_injection
Resolve what dependency injection provides.
find_by_side_effects
Find code with side effects.
prepare_task
Goal-focused context plus covering tests and likely siblings.
pack_for_task
Pack context for a natural-language goal.
measure
Token count of planned tool answers.
get_context
A symbol plus its direct dependencies and callees.
explain_symbol
Callers, callees, implementations and tests for a symbol.

What it does

Impact of a change
Shows direct and transitive users, covering tests and a risk level before an edit.
Semantic symbol search
Finds usages, implementations and DI resolutions with Roslyn accuracy.
Side-effect search
find_by_side_effects locates code that reaches outside the program.
Token-budgeted context
pack_for_task and prepare_task fit relevant code into the agent's budget.
Cost measurement
measure counts tokens of planned answers without returning them.
Desktop and CLI
A CLI and a Windows desktop app share configuration and snapshots.

Good for

  • Check what a refactor will break before editing
  • Find which tests cover a method
  • Build a compact context for a coding task
  • Trace how a service is resolved by dependency injection
  • Review evidence after an agent change

Pricing

Freemium

Free below license thresholds; commercial licenses for larger teams

AIContextBuilder FAQ

Which clients does it work with?

Claude Code, Codex, OpenCode, Cursor and any client that starts a stdio server.

What does it cost?

The README says it is free for individuals, education and organizations below license thresholds, with commercial licenses for larger teams.

Does it see unsaved edits?

No, only saved files.

What project files does it read?

Solutions in .sln, .slnx or .slnf format, plus C# and XAML or AXAML.

Is AIContextBuilder free?

AIContextBuilder has a free plan, with paid plans for more usage or features.

How do I add AIContextBuilder to Claude Code?

Run this command in your terminal: claude mcp add aicb-roslyn-mcp -- dnx aicb-roslyn-mcp --yes

What are the best alternatives to AIContextBuilder?

The closest alternatives to AIContextBuilder are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers