FRENES

Version control · MCP server

Diffctx: MCP server, setup and security

Diffctx is an open-source MCP server that lets an AI agent select minimal code context needed to understand a git diff. Its repository has 6 stars and its last commit is from October 22, 2026 and it is licensed under Apache-2.0.

Actively maintained

What Diffctx does

According to its repository: “Selects the minimum code context needed to understand a git diff, using deterministic graph-based fragment selection under a token budget.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Diffctx is listed under Version control, a category of 17 servers in the directory, where it ranks #15 by stars.

Topics declared by the repository: cli, python, anthropic, claude, code-context, context-window.

Installing and connecting Diffctx

Distribution modes declared in the official MCP registry:

  • PyPI package (Python, started with uvx or pip)

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python. Listed systems: macOS, Windows, Linux.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Diffctx. That does not replace reading the code.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on October 18, 2024, the nikolay-e/diffctx repository has 6 stars and 2 forks, with 152 open issues. It has more stars than 17% of the servers in the directory. It received changes this month. Version published in the registry: 1.20.0 (October 22, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

GitHubGitHub : 33.9K33.9KMCP server azure devopsMCP server azure devops : 397397MCP git ingestMCP git ingest : 314314Atlassian dc MCPAtlassian dc MCP : 105105Gitlab mr MCPGitlab mr MCP : 9494Forgejo MCPForgejo MCP : 7070GitLab MCP Server (jmrplens)GitLab MCP Server (jmrplens) : 4545Github enterprise MCPGithub enterprise MCP : 2929DiffctxDiffctx : 66
GitHub stars of the most followed servers in the category (log scale); Diffctx in orange. Checked October 25, 2026.

Verdict

Diffctx is a reasonable choice; check the points below before connecting it.

Strengths

  • Active project: recent commit
  • Listed in the official MCP registry
  • Permissive licence (Apache-2.0)

Limitations

  • Few visible users

Frequently asked questions

How do I install Diffctx?

Diffctx is distributed as PyPI package (Python, started with uvx or pip). Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of nikolay-e/diffctx.

Is Diffctx free?

The code is published under the Apache-2.0 licence and can be used free of charge.

Is Diffctx safe?

No risk signal found (system access, secrets, licence, abandonment). As with any MCP server, keep rights minimal and read the code before sensitive use.

Is it an official server?

Nothing says so: it is a project published by nikolay-e on GitHub. Check who maintains it before giving it access.

What are the alternatives to Diffctx?

In the same category: GitHub, GitWarren, MCP server azure devops, and GitLab MCP Server (jmrplens). GitHub and GitWarren score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score