Code Scalpel MCP Server

This release adds crash-safe JSONL streaming, failure-path telemetry for all 23 tools, encrypted error fields, and automatic log retention policies.

Local serverstdioPython

What is the Code Scalpel MCP server?

Most developer tooling work still happens through a UI a human drives. Code Scalpel MCP server moves it into the conversation instead. This release adds crash-safe JSONL streaming, failure-path telemetry for all 23 tools, encrypted error fields, and automatic log retention policies. All telemetry events are now captured with proper error handling and flushed incrementally.

The short version

Code Scalpel is an MCP (Model Context Protocol) server that gives AI assistants like Claude, GitHub Copilot, and Cursor the ability to surgically extract and analyze code instead of reading entire files.

The tools it exposes

The server publishes 5 tools. What each one is for:

  • Problem — Without Code Scalpel
  • Feature — Code Scalpel
  • LLM-Friendly — ✅ Designed for agents
  • Polyglot — ✅ 13 tier-configured languages
  • Method — The Method tool exposed by this server

Getting it running

codescalpel on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Code Scalpel's toolset — Problem, Feature, LLM-Friendly and 2 more — is a fair guide to whether it matches your workflow. It is maintained by 3d-tech-solutions; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ProblemWithout Code Scalpel
FeatureCode Scalpel
LLM-Friendly✅ Designed for agents
Polyglot✅ 13 tier-configured languages
MethodThe Method tool exposed by this server.

How to install the Code Scalpel MCP server

{
  "mcpServers": {
    "code-scalpel": {
      "command": "uvx",
      "args": ["codescalpel"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Code Scalpel to Problem.
  • Use Code Scalpel to Feature.
  • Use Code Scalpel to LLM-Friendly.

Frequently asked questions

It connects Code Scalpel to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (Problem, Feature, LLM-Friendly, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Code Scalpel directly.