技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
trakshan-mishra/Diffcontext

trakshan-mishra/Diffcontext

Show an AI coding assistant only the code that matters for the change it's making. Measures whether it actually works on your repo.
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add diffcontext -- npx -y diffcontext
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
4 ★ · trakshan-mishra/Diffcontext · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 4 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 trakshan-mishra/Diffcontext;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

DiffContext

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Show an AI coding assistant only the code that matters for the change it is
making.**
DiffContext is a **context compiler for LLM coding agents**. Give it a Python
repository and a change — a git diff, a branch, or a single function name —
and it returns the small set of functions the model actually needs to make
that change safely: the callers that will break, the subclasses that override
it, the tests that cover it. It fits them to whatever token budget you have,
and it tells the model what it had to leave out.
It is built for people wiring LLMs into real codebases — agent loops, PR
review bots, CI checks — anywhere you have to decide what goes in the prompt
and the repository is far too large to send.
And it grades itself: point it at your repo and it mines your git history,
runs retrieval against real co-change pairs, and prints **NULL RESULT** when
it doesn't fit — finding that out *is* the feature.
The problem
Ask an assistant to change one function in a 50,000-line project and you have
three bad options: paste the whole repository (it does not fit, and models get
worse in very large contexts), paste just that one function (the model breaks
three callers it never saw), or grep for the name (grep cannot find the
subclass that overrides it, or the handler that receives it through
functools.partial — we measured grep's recall *plateauing* no matter how
much budget you give it).
DiffContext is the fourth option. Parse the repository once into a real
dependency graph, then for any change select the few functions that actually
matter and pack them into the smallest useful prompt.
Install
Zero runtime dependencies, Python 3.9+.
For MCP integration (Claude Code / Cursor / Windsurf):
See docs/MCP.md for the server config.
From source for development:
Quick start
More commands: USAGE.md. Production recipes: docs/USE_CASES.md.
Don't trust our benchmarks — run yours (2 minutes)
diffcontext verify --from-history 20 --calibrate mines test cases from
*your* repo's git history and grades retrieval against them — and prints
**NULL RESULT** rather than a decorative number when the tool doesn't fit
your repo. Finding that out *is* the feature.
Does it make the model better?
Yes — measured end to end, not by proxy. On 128 ContextBench Python tasks
judged by each repository's own test suite (no LLM-as-judge), **context
roughly quadruples pass@1: 5.5% → 25.8%**, exact McNemar p < 0.0001.
Two qualifiers, both in benchmarks/contextbench/RESULTS.md
§6: **(a)** the seed functions given to every arm are **oracle** — extracted
from the gold patch — so this measures *"given correct localization, does
context quality matter?"*, not end-to-end issue solving (localization is
handed to every arm for free); **(b)** 121 of the 128 effective tasks are
django, so this is largely a django result.
The honest companion: the three context variants (default / gap / depboost)
are statistically **indistinguishable** from each other, p = 0.36–0.81. The
win is context versus no context — not this selector versus that one. Full
results: benchmarks/contextbench/RESULTS.md.
What this is not
- **Not a code generator.** It selects and packs context; the model writes
the code.
- **Not precision-first.** It casts a wide net — mean precision is under 0.1
at the default top-k. Use --cutoff gap if you pay per token.
来源
awesome · https://github.com/trakshan-mishra/Diffcontext
按领域浏览
MCP 服务
Traction
4 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引