原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Wisegit

作者:Sandip124版本 0.1.1i★ –i在你的电脑上运行
注册名称io.github.Sandip124/wisegit

安装

概览

作者提供的说明(英文原文)

Extracts decision intent from git history and protects intentional code from AI modification.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "wisegit": {
      "command": "npx",
      "args": [
        "-y",
        "@sandip124/wisegit"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add wisegit -- npx -y @sandip124/wisegit

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "wisegit": {
      "command": "npx",
      "args": [
        "-y",
        "@sandip124/wisegit"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "wisegit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sandip124/wisegit"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Sandip124 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 1389 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1389 个服务器的 11% 更新
  • 基础检查结果等于或优于此分类中其他 1389 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Wisegit 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.1)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT3天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT15天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

wisegit

*"Don't take a fence down until you know the reason it was put up."*

— G.K. Chesterton

wisegit is a local MCP server that extracts decision intent from git history and protects intentional code from AI modification.

When Claude Code (or any MCP-compatible agent) is about to edit a file, wisegit injects a decision manifest showing which functions are frozen, stable, or open — so the AI respects what was intentional, not just what compiles.

Zero config. Zero external services. Everything local.

Install
# Set up any repo (one command)

npx @sandip124/wisegit setup

Or add as MCP server globally

claude mcp add wisegit -- npx @sandip124/wisegit serve

Published on

The Problem

LLMs have no concept of intentional code. A manually-tested fix and a broken stub look identical — both are just text. Real scenario:

  1. You fix a Stripe race condition with sleep(350) — manually tested, committed.
  2. Next session: "find bugs." Claude removes sleep(350) — looks like dead code.
  3. Production incident.

Root cause: git history contains proof of intention. Nobody extracts it.

How It Works

Git History → Tree-sitter AST → Intent Extraction → SQLite Event Store → MCP Tools
  1. Indexes your git history — walks every commit, parses diffs at the AST level (function boundaries, not line counts)
  2. Classifies commits — STRUCTURED (fix:, feat:), DESCRIPTIVE (plain sentences), or NOISE (wip, x)
  3. Extracts intent — rule-based for structured/descriptive commits, LLM for noise (Phase 2)
  4. Computes freeze scores — 0–1 per function, derived from protection signals (git, issue, code structure, test, structural, Naur, Aranda) minus adaptive obsolescence penalty (8 signals, entropy-calibrated). Age uses Weibull survival [18]; expertise uses DOE model [19]
  5. Serves decision manifests via MCP — Claude Code calls get_file_decisions before editing any file

What the AI Sees

[DECISION MANIFEST: payment.service.cs]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FROZEN: ProcessPayment() [score: 0.89] [Recovery: L1]

  • sleep(350) → Stripe race condition. Won't Fix. HIGH — commit a3f19b2

STABLE: ValidateOrder() [score: 0.55] [Recovery: L2]

  • Fixed null reference on Safari iOS WebKit. MEDIUM — commit 7c14694

OPEN: FormatReceipt() [score: 0.12] [Recovery: L3] ← safe to modify ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  • FROZEN (score >= 0.80): Do not modify without explicit user approval
  • STABLE (score 0.50-0.79): Proceed with caution, review intent first
  • OPEN (score < 0.50): Safe to modify freely

Quick Start

Prerequisites
  • Node.js >= 20

That's it. No Docker, no PostgreSQL, no external services.

1. Set Up a Repository (one command)
cd /path/to/your/repo

npx @sandip124/wisegit setup

This single command:

  • Creates a local SQLite database at ~/.wisegit/wisegit.db
  • Indexes your entire git history (462 commits in ~13 seconds)
  • Creates .mcp.json for Claude Code auto-discovery
  • Creates CLAUDE.md rules that instruct AI to check before editing
  • Adds .mcp.json to .gitignore
2. Enrich with Issue Context (optional)
# Fetch issue/PR details from GitHub/GitLab

GITHUB_TOKEN=ghp_... npx @sandip124/wisegit enrich

This fetches referenced issues (e.g., #134 in commit messages), detects Won't Fix / By Design decisions, and boosts freeze scores for functions linked to those issues.

3. Done

Open the repo in Claude Code. It will automatically:

  1. Start the wisegit MCP server (via .mcp.json)
  2. Read the protection rules (via CLAUDE.md)
  3. Call get_file_decisions before editing any file

MCP Tools

ToolDescription
get_file_decisionsDecision manifest for a file — freeze scores, intent history, recovery levels, override status
get_freeze_scoreScore + signal breakdown for a specific function
get_function_historyFull chronological decision timeline for a function
get_theory_gapsFunctions with unrecoverable rationale (inactive authors, timeline gaps)
get_branch_contextBranch merge history — what was migrated and why
search_decisionsSearch past decisions by keyword across the entire repo
create_overrideOverride a frozen function (user approves in Claude Code UI)
extract_intentExtract intent for NOISE commits using the host LLM — no Ollama needed
find_similar_functionsSearch for existing functions that solve a similar problem before writing new code
predict_impactPredict what functions will break if a given function is modified
get_codebase_conventionsExtract coding conventions for a file's neighborhood

MCP Resource: wisegit://manifest/{filePath} — decision manifest as auto-discoverable resource

MCP Prompt: check_before_edit — mandatory workflow prompt that returns the decision manifest before editing any file

LLM Intent Extraction Strategy

wisegit uses a smart fallback chain for extracting intent from NOISE commits:

ContextLLM UsedHow
Inside Claude CodeHost LLM (Claude)MCP sampling — asks Claude to analyze the diff. Zero setup.
CLI with OllamaOllama (llama3)wisegit init --ollama — uses local Ollama instance
CLI without OllamaNoneRule-based extraction only, NOISE commits get no intent

Inside Claude Code, call extract_intent to retroactively recover intent for NOISE commits — uses Claude itself, no Ollama installation needed.

CLI Commands

wisegit setup [--path <dir>] [--global]         # One-command repo setup

wisegit init [--full-history] [--path ] # Index git history wisegit enrich [--path ] # Fetch issue/PR context from GitHub/GitLab wisegit audit # Show decision manifest wisegit history [--file ] # Show decision timeline wisegit recompute [--path ] # Recompute scores with PageRank + theory gaps wisegit override --file --reason "..." # Override a frozen function wisegit overrides # List active overrides wisegit sync # Rebuild local cache from git + .wisegit/ wisegit config list # View team configuration wisegit config set # Modify team policy wisegit team-status # Team overview: enrichments, overrides, contributors wisegit team-health # Theory health: healthy/fragile/critical functions wisegit branch-capture # Capture branch context from last merge wisegit branch-list # List all captured branch snapshots wisegit branch-recover # Recover context from old merge commit wisegit calibrate # Show adaptive obsolescence weights vs defaults wisegit report [--output ] # Generate HTML report with scores + insights wisegit serve # Start MCP server (stdio) wisegit hook install|uninstall # Manage git hooks (post-commit + post-merge)

Configure for Claude Code

Option A: Per-repo (recommended)

Run npx @sandip124/wisegit setup in any repo. It creates .mcp.json automatically.

Option B: Global registration
claude mcp add wisegit -- npx @sandip124/wisegit serve
Option C: Manual .mcp.json

Create .mcp.json in your repo root:

{

"wisegit": { "command": "npx", "args": ["@sandip124/wisegit", "serve"] } }

Supported Languages

LanguageExtensions
C#.cs
TypeScript.ts, .tsx
JavaScript.js, .jsx, .mjs, .cjs
Python.py
Go.go
Rust.rs

More languages can be added via Tree-sitter grammar configs in src/ast/languages/.

Issue Enrichment

A commit saying fix: handle null token #134 points to an issue containing reproduction steps, root cause, and explicit decision rationale — everything the commit message never says.

# Fetch issue context from GitHub/GitLab

wisegit enrich --path /path/to/repo

With auth (5000 req/hr instead of 60)

GITHUB_TOKEN=ghp_... wisegit enrich

Supported platforms: GitHub, GitLab (Azure DevOps, Jira, Bitbucket planned)

Auth tokens: GITHUB_TOKEN / GH_TOKEN for GitHub, GITLAB_TOKEN for GitLab. Never stored by wisegit.

Issue-derived freeze signals
SignalFreeze BoostWhen
Won't Fix / By Design+0.35Issue closed as not_planned, or has wontfix/by-design label, or comment says "intentional"
Reproduction steps+0.15Issue body contains "steps to reproduce"
Platform-specific label+0.10Issue labeled ios, safari, windows, etc.
Issue unreachable+0.10Issue ref exists but API returned 404 — absent context = protect more
PR review comments+0.15Linked PR had reviewer discussion

Freeze Score Signals

The freeze score is never stored directly — it's derived by replaying the event stream for each function. Signal categories:

CategoryWeightSource
Git History0.20Reverts, verified keywords, incident refs, contributor count, Weibull age [18]
Issue Enrichment0.20Won't Fix/By Design, reproduction steps, platform labels
Code Structure0.15Inline comments, magic numbers, defensive patterns
Test Signals0.15Dedicated tests, edge case labels, co-committed tests
Structural Importance0.15Call count (PageRank), public API, DOE expertise model [19]
Naur Theory0.10Global patterns, intentional contradictions, removal cost
Aranda Signals0.05Forgotten patterns, timeline gaps, broken issue links
Obsolescence (8 signals)adaptiveDead code, stale subgraph, migration leftover, obsolete deps, superseded, SAAD, change burst absence, co-change divergence

Freeze score formula:

freeze_score = base_score x (1 - obsolescence_penalty)

Protection signals produce the base score (weighted average of present signal categories, not additive sum); obsolescence signals produce the penalty. Obsolescence weights are adaptive — calibrated per-repository using Shannon entropy and Bayesian feedback. Falls back to hardcoded defaults when < 20 functions have signals. Age signal uses Weibull survival model [18] (k=0.7, lambda=2.4y); contributor expertise uses DOE model [19] (4 variables: contribution share, recency, duration, frequency).

Academic grounding: 24 published papers. See REFERENCE.md for full citations.

Cross-Repo Validation

Tested on 3 real-world open-source codebases:

RepoCommitsFunctionsFROZENSTABLEMax Score
pallets/flask5,5654,355722,2720.927
expressjs/express6,38240912470.811
zeeguu/api4,5153,2161120.583

Flask's core APIs (__init__, run, wsgi_app, url_for) c

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx