Curate-Ipsum
概览
作者提供的说明(英文原文)
Code synthesis through belief revision, mutation testing, and verification
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价来自已登录用户的评价,有评价后显示平均分
- 我们的基础检查i2 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 23/周 · ★ 0
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:2 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
CURATE_IPSUM_GRAPH_BACKEND,MUTATION_TOOL_DATA_DIR,MUTATION_TOOL_LOG_LEVEL,CHROMA_HOST,EMBEDDING_MODEL
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add curate-ipsum --env CURATE_IPSUM_GRAPH_BACKEND=your-value --env MUTATION_TOOL_DATA_DIR=your-value --env MUTATION_TOOL_LOG_LEVEL=your-value --env CHROMA_HOST=your-value --env EMBEDDING_MODEL=your-value -- uvx curate-ipsum运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"curate-ipsum": {
"command": "uvx",
"args": [
"curate-ipsum"
],
"env": {
"CURATE_IPSUM_GRAPH_BACKEND": "your-value",
"MUTATION_TOOL_DATA_DIR": "your-value",
"MUTATION_TOOL_LOG_LEVEL": "your-value",
"CHROMA_HOST": "your-value",
"EMBEDDING_MODEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"curate-ipsum": {
"type": "stdio",
"command": "uvx",
"args": [
"curate-ipsum"
],
"env": {
"CURATE_IPSUM_GRAPH_BACKEND": "your-value",
"MUTATION_TOOL_DATA_DIR": "your-value",
"MUTATION_TOOL_LOG_LEVEL": "your-value",
"CHROMA_HOST": "your-value",
"EMBEDDING_MODEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
CURATE_IPSUM_GRAPH_BACKENDenvGraph store backend: 'sqlite' (default) or 'kuzu'MUTATION_TOOL_DATA_DIRenvDirectory for persistent data (default: .mutation_tool_data)MUTATION_TOOL_LOG_LEVELenvLog level: DEBUG, INFO, WARNING, ERROR (default: INFO)CHROMA_HOSTenvChromaDB server host for Docker mode (default: use ephemeral in-process)EMBEDDING_MODELenvsentence-transformers model name (default: all-MiniLM-L6-v2)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 egoughnour 验证,该账户拥有此仓库
- ! 注意
仍在维护
代码最后更新于9个月前,已超过 6 个月
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5742 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5742 个服务器的 3% 更新
- 基础检查结果等于或优于此分类中其他 5742 个服务器的 12%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Curate-Ipsum 安全吗?
它在 2 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于9个月前,最新版本(2.5.1)于9个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), MCPB。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Curate-Ipsum
A graph-spectral MCP server for verified code synthesis through belief revision
Curate-Ipsum bridges the gap between LLM-generated code (fast, plausible, unverified) and formally verified patches (slow, correct, trustworthy). It treats mutation testing as one component of a larger system for maintaining robust, self-healing codebase metadata that supports reachability analysis, symbolic execution, and automated test generation.
Install
# PyPI
pip install curate-ipsum
or with uv
uv pip install curate-ipsum
Docker (includes baked-in embedding model)
docker pull ghcr.io/egoughnour/curate-ipsum:latest
Claude Desktop / MCP Client
Add to your claude_desktop_config.json:
{
"mcpServers": { "curate-ipsum": { "command": "uvx", "args": ["curate-ipsum"] } } }
Or with Docker (embedding model pre-loaded, no Python needed):
{
"mcpServers": { "curate-ipsum": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/egoughnour/curate-ipsum:latest"] } } }
MCP Tools
Curate-Ipsum exposes 30 tools over the MCP stdio transport, organised into six groups:
Testing — run_unit_tests, run_integration_tests, run_mutation_tests, get_run_history, get_region_metrics, detect_frameworks, parse_region, check_region_relationship, create_region
Belief Revision — add_assertion, contract_assertion, revise_theory, get_entrenchment, list_assertions, get_theory_snapshot, store_evidence, get_provenance, why_believe, belief_stability
Rollback & Failure — rollback_to, undo_last_operations, analyze_failure, list_world_history
Graph-Spectral — extract_call_graph, compute_partitioning, query_reachability, get_hierarchy, find_function_partition, incremental_update, persistent_graph_stats, graph_query
Verification — verify_property (Z3/angr), verify_with_orchestrator (CEGAR budget escalation), list_verification_backends
Synthesis & RAG — synthesize_patch (CEGIS + genetic + LLM), synthesis_status, cancel_synthesis, list_synthesis_runs, rag_index_nodes, rag_search, rag_stats
Current Status
Last Updated: 2026-02-08
| Component | Status |
|---|---|
| Multi-framework parsing (5 frameworks) | Complete |
| Graph Infrastructure (Spectral/Kameda) | Complete |
| Belief Revision Engine (AGM/Provenance) | Complete |
| Synthesis Loop (CEGIS/Genetic) | Complete |
| Verification Backends (Z3/angr) | Complete |
| Graph Persistence (SQLite/Kuzu) | Complete |
| RAG / Semantic Search (Chroma) | Complete |
The Problem
LLMs produce code that is:
- ✅ Syntactically valid (usually)
- ✅ Statistically plausible
- ❌ Semantically correct (sometimes)
- ❌ Type-safe (by accident)
- ❌ Formally verified (never)
Current approaches either trust LLM output blindly or reject it entirely. Neither is optimal.
The Solution
Use LLMs for cheap candidate generation, then invest computational resources to achieve formal guarantees:
LLM Candidates (k samples)
↓ Seed Population ↓ ┌───────────────────────────┐ │ CEGIS + CEGAR + Genetic │ ← Verification loop │ + Belief Revision │ └───────────────────────────┘ ↓ Strongly Typed Patch (with proof certificate)
Key Differentiators from State of the Art
vs. Traditional Mutation Testing (Stryker, mutmut, cosmic-ray)
| Traditional | Curate-Ipsum |
|---|---|
| Single tool, single language | Multi-framework orchestration |
| Flat file-level analysis | Hierarchical graph-spectral decomposition |
| Mutation score as output | Mutation testing as *input* to synthesis |
| No formal verification | CEGIS/CEGAR verification loop |
| Manual test writing | Automated patch generation |
vs. LLM Code Generation (Copilot, Claude, GPT)
| LLM-only | Curate-Ipsum |
|---|---|
| Trust model output | Verify model output |
| Single sample or best-of-k | Population-based refinement |
| No formal guarantees | Proof certificates |
| Stateless generation | Belief revision with provenance |
| Plausible code | Provably correct code |
vs. Program Synthesis (Sketch, Rosette, SyGuS)
| Traditional Synthesis | Curate-Ipsum |
|---|---|
| Hand-written sketches | LLM-generated candidates |
| Cold-start search | Warm-start from LLM population |
| No learning across runs | Totalizing theory accumulates knowledge |
| Single specification | Multi-framework implicit regions |
vs. Symbolic Execution (KLEE, S2E)
| Symbolic Execution | Curate-Ipsum |
|---|---|
| Path exploration only | Integrated with synthesis |
| Boolean constraint solving | Mathematical reformulation (SymPy) |
| Single-tool analysis | Graph DB + SMT + mutation orchestration |
| No code generation | Generates verified patches |
Novel Contributions
- Graph-Spectral Code Decomposition
- Fiedler vector partitioning for optimal reachability
- Hierarchical SCC condensation
- Planar subgraph identification → O(1) Kameda queries
- Kuratowski subgraphs as atomic non-planar units
- Belief Revision for Synthesis
- AGM-compliant theory revision
- Entrenchment ordering for minimal contraction
- Provenance DAG for failure mode analysis
- Rollback sharpens validity (failures refine the universal model)
- Implicit Region Detection
- Spectral anomalies reveal undertested code
- Cross-framework mutation resistance identifies critical regions
- Historical mutability guides partition optimization
- Mathematical Constraint Reformulation
- Boolean-intractable → differential/root-finding
- SymPy path condition encoding
- Hybrid SMT + numerical solving
Architecture
flowchart TB
subgraph MCP["MCP Interface"] direction TB
subgraph Sources["Analysis Sources"] direction LR MUT["🧬 Mutation Orchestrator Stryker mutmut cosmic-ray "] SYM["🔬 Symbolic Execution KLEE · Z3 SymPy "] GRAPH["📊 Graph Analysis Joern Neo4j Fiedler "] end
MUT --> BRE SYM --> BRE GRAPH --> BRE
BRE["🧠 Belief Revision Engine AGM Theory · Entrenchment · Provenance DAG "]
BRE --> SYNTH
SYNTH["⚙️ Synthesis Loop CEGIS · CEGAR · Genetic Algorithm "]
SYNTH --> |"counterexample"| BRE
SYNTH --> OUTPUT
OUTPUT["✅ Strongly Typed Patch Proof Certificate ·Type Signature Pre/Post Conditions "] end
LLM["🤖 LLM Candidates top-k samples "] --> SYNTH
style MCP fill:#1a1a2e,stroke:#16213e,color:#eee style Sources fill:#16213e,stroke:#0f3460,color:#eee style MUT fill:#0f3460,stroke:#e94560,color:#eee style SYM fill:#0f3460,stroke:#e94560,color:#eee style GRAPH fill:#0f3460,stroke:#e94560,color:#eee style BRE fill:#533483,stroke:#e94560,color:#eee style SYNTH fill:#e94560,stroke:#ff6b6b,color:#fff style OUTPUT fill:#06d6a0,stroke:#118ab2,color:#000 style LLM fill:#ffd166,stroke:#ef476f,color:#000
Roadmap
Phase 1: Foundation ✅
- MCP server infrastructure
- Stryker report parsing
- Run history and PID metrics
- Flexible region model (hierarchical: file → class → function → lines)
- mutmut parser integration
- Framework auto-detection
- Unified parser interface
Phase 2: Graph Infrastructure ✅
- Graph models (CodeGraph, Node, Edge)
- Call graph extraction (AST-based)
- ASR extractor (import/class analysis)
- Dependency graph extraction (module-level imports)
- Laplacian construction from call/dependency graphs
- Fiedler vector computation (scipy.sparse.linalg)
- Recursive Fiedler partitioning with virtual sink/source
- SCC detection and hierarchical condensation
- Planar subgraph identification (Boyer-Myrvold)
- Kameda preprocessing for O(1) reachability
- MCP tools (extract, partition, reachability, hierarchy, find)
Phase 3: Multi-Framework Orchestration ✅
- Unified mutation framework interface
- cosmic-ray parser
- poodle parser
- universalmutator parser
Phase 4: Belief Revision Engine ✅
- py-brs library integration (AGM core)
- Evidence adapter (mutation results → beliefs)
- Theory manager for curate-ipsum
- AGM contraction (py-brs v2.0.0 released)
- Entrenchment calculation (py-brs v2.0.0)
- Provenance DAG storage and queries
- Failure mode analyzer
- Rollback mechanism
Phase 5: Synthesis Loop ✅
- CEGIS implementation with LLM seeding
- Genetic algorithm with AST-aware crossover
- Entropy monitoring and diversity injection
- Counterexample-directed mutation
- CEGAR budget escalation (10s → 30s → 120s)
Phase 6: Verification Backends ✅
- Z3 integration for SMT solving (default backend)
- angr Docker symbolic execution (expensive tier)
- CEGAR orchestrator with budget escalation
- Verification harness builder (C source generation)
- Mock backend for testing
- Alternative solvers (CVC5, Boolector)
- SymPy path condition encoding
Phase 7: Graph Persistence ✅
- Abstract GraphStore ABC
- SQLite graph store (primary)
- Kuzu graph store (optional)
- Synthesis result persistence
- Kameda & Fiedler persistence
- Incremental update engine
Phase 8: RAG / Semantic Search ✅
- ChromaDB vector store integration
- sentence-transformers embedding provider (all-MiniLM-L6-v2)
- Graph-expanded RAG pipeline (vector top-k → neighbor expansion → rerank)
- Decay scoring for temporal relevance
- CEGIS integration for context-aware synthesis
Phase 9: Production Hardening ✅
- CI/CD (GitHub Actions — lint, test matrix, integration, lockfile)
- Release pipeline (tag push → PyPI + GHCR + MCP registry)
- uv lockfile (149 packages)
- pre-commit hooks (ruff format + lint + lock check)
- MCP bundle packaging (server.json, smithery.yaml, manifest.json)
- HTML/SARIF reporting
- IDE extensions (VSCode)
- Regression detection and alerting
Future Work
Advanced Orchestration (Deferred)
- Implicit region detection (spe