Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Fleet memory MCP: cross-repo memory, trackers, idea register, lessons and roadmaps under lane law.
作者提供的原文
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 0/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 12/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
ChatGPT 暂时无法连接 Bloch
开发者尚未在 MCP 注册表中填写安装方式
B · 法律与政府数据 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
Claude Code 暂时无法连接 Bloch
开发者尚未在 MCP 注册表中填写安装方式
Cursor 暂时无法连接 Bloch
开发者尚未在 MCP 注册表中填写安装方式
VS Code 暂时无法连接 Bloch
开发者尚未在 MCP 注册表中填写安装方式
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
GooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日
注册名称已通过域名 qompass.ai 验证(注册中心会核实域名所有权)
代码最后更新于前天
使用 Apache-2.0
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/qompass-bloch)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于前天,最新版本(1.0.3)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Rust。
同一分类中有:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| 本项 Bloch | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | Apache-2.0 | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Ranked, budgeted codebase maps for coding agents — with session handoff fidelity.
Named for the Bloch sphere: the geometric map of a qubit's quantum state. Just as the Bloch sphere maps the two-dimensional Hilbert space (C²) of single-qubit states onto a 3D unit sphere, bloch maps the sprawling state of a codebase onto a compact, ranked representation. See QUANTUM.md for the full physics-to-code analogy with equations, diagrams, and published research supporting this approach.
Note: bloch is a classical tool. It does not perform quantum computation or simulate qubits. The Bloch sphere is a metaphor for dimensional reduction, not a physical model. See QUANTUM.md for the explicit disclaimer.
bloch /path/to/repo walks a repo's text files, extracts structure, ranks definitions by qualified cross-file references with recency weighting, and emits a budgeted map. Agents read the map instead of the whole tree.
Handoff fidelity: The output leads with a HANDOFF section containing:
.ai/memory/ contents (handoff.md first, then patterns/decisions)So any AI model can pick up exactly where the last one left off.
| Language | Method |
|---|---|
| Rust | Full tree-sitter extraction + qualified-reference ranking |
| Python | Tree-sitter: functions, classes, methods |
| Lua | Tree-sitter: functions |
| TypeScript / TSX | Tree-sitter: functions, classes, interfaces |
| Kotlin | Tree-sitter (tree-sitter-kotlin-ng): functions, classes, objects |
| Bash / Shell | Tree-sitter: functions |
| Nix | Tree-sitter: top-level attributes |
| Markdown | Tree-sitter: headers |
| Ruby | Regex: lanes, platforms, methods |
| TOML, YAML, JSON | Regex: tables, keys |
| Other text | File metadata fallback |
bloch can read SCIP indexes for precise, compiler-accurate definitions and references instead of heuristic tree-sitter extraction.
# Generate an index (Rust example via rust-analyzer)
rust-analyzer scip . --output index.scip
bloch /path/to/repo --scip
Behavior:
.scip/index.scip or index.scip (in that order)bloch: using SCIP index (N files) on stderr when activeSCIP provides fully-qualified symbol names and cross-file references that tree-sitter cannot infer. For Rust, rust-analyzer scip is the recommended indexer. Other languages need their own SCIP indexers.
bloch maintains agent session memory in .ai/memory/:
# Write current map to .ai/memory/bloch-last.json and summary to .ai/memory/bloch-summary.md
bloch /path/to/repo --update-memory
bloch /path/to/repo --diff
bloch memory list # list .ai/memory/ files with sizes bloch memory show # print a memory file
Memory files:
bloch-last.json — machine-readable cached map (written atomically)bloch-summary.md — human-readable summaryhandoff.md — manual session notes (surfaced first in output)The HANDOFF section of bloch output includes .ai/memory/ contents so the next agent session starts with full context.
bloch init adds a repo-kind-specialised roadmap that takes a repo from its v0.1 baseline to a fully functional v1 — any agent can pick it up and work it, and bloch itself keeps the tracker honest:
bloch init # detect kind (evidence reported), scaffold .ai/roadmap.md
bloch init --kind mcp # or force the kind: mcp|game|app|education|tutorial bloch task start R-101 --agent claude --confidence 80 bloch task done R-101 --note "what I did" # runs every verify: command; green only if all pass bloch task fail R-101 --error "what went wrong" bloch task status # % green, current phase, next open, live attempts bloch task lessons --export # distilled fixes from fail -> pass sequences bloch task export --format opst # attempts as OPST trajectory material (read-only)
R-101, R-102, …) are never renumbered; dropped tasks are struck through, not deleted.task done executes the task's verify: commands (600 s timeout each, output tail capped; repo-authored trusted input, the Makefile trust class) and flips [x] only on all-pass. A task with no verify: lines can never go green..ai/memory/attempts.jsonl is append-only: agent, timing, self-rated confidence, error/evidence per attempt. Failures auto-file memory inbox entries; a fail → pass sequence auto-files an attempt-fix- entry for promotion into .ai/memory/lessons.md, and the HANDOFF section leads with the roadmap state and the most recent lessons.origin_lane, content_label (sfw|nsfw), and label evidence. Defaults fail closed (content from a restricted-lane origin without positive SFW evidence is labeled nsfw), and labels never change at transfer time.last_verified / applies_to staleness fields and a disposition slot (extract / reverse-engineer / adapt / clean-build).bloch serve is the shared, multi-repo surface over the same files. Files stay canonical — the server is an index, a query surface, and a write gate, never the store; with the server down, the CLI + files carry the full workflow and the index rebuilds identically on restart.
bloch serve --root ~/repos/a --root ~/repos/b \
--policy policy.toml --ideas ~/register/IDEAS.md --board ~/board/TRACKER.md
13 tools, annotations from birth: memory_search / memory_get (read), memory_propose (inbox-only; requires the repo's current fencing generation and a live attention lease, verified server-side from the policy file), memory_promote (curator gate; proposer ≠ promoter; evidence must resolve), tracker_state / tracker_rollup, idea_lookup / idea_register (gated), lessons_search (cross-repo lessons + attempt aggregates), roadmap_state / roadmap_rollup, outcome_record / outcome_list (finished-run outcome records; lane labels enforced at write, reads lane-filtered). Content lanes are enforced in server code: nsfw-labeled entries are never served to callers whose clearance covers only the general lane, and nsfw content cannot be proposed into a general-lane repo. The operator's own private memory directories are refused as index roots and never served. Transport is stdio JSON-RPC, hand-rolled on serde_json (no new dependencies), with a dual-era posture (legacy initialize + server/discover). Access posture: declared access above matches the detected surface — read tools are read-only, writes are inbox-only or gate-class, no tool exceeds its annotations; license Apache-2.0.
bloch detects active skills from .ai/skills/ and boosts definitions in matching languages:
# Auto-detect from .ai/skills/
bloch /path/to/repo
bloch /path/to/repo --skill tiger-style-rust --skill docs
bloch /path/to/repo --no-skill-boost
A skill named tiger-style-rust boosts Rust definitions by 1.5×. Skills are matched to languages by name (e.g., tiger-style-python boosts Python). This helps agents focus on the languages relevant to their current task.
cargo install blochs # package name is `blochs` (`bloch` was taken); the installed binary is `bloch`
# Map a repo to stdout (12,000 char budget)
bloch /path/to/repo
bloch /path/to/repo --budget 15000 --out .bloch.txt
bloch /path/to/repo --scip
bloch /path/to/repo --sphere --sphere-points 20
use bloch::{map_repo, MapConfig};
use std::path::Path;
let root = Path::new("/path/to/repo"); let config = MapConfig { use_scip: true }; let repo_map = map_repo(root, &config)?;
println!("{} files, {} definitions", repo_map.files.len(), repo_map.total_definitions); for (lang, count) in &repo_map.languages { println!(" {}: {}", lang, count); }
The library also exposes:
detect_skills(root) — find active skills in .ai/skills/skill_boost(lang, skills) — get boost factor for a languageread_scip_index(root) — parse SCIP index directlyrender_sphere(...) — ASCII Bloch sphere visualizationwrite_memory_cache / read_memory_cache — persistent memoryThis project is licensed under the Apache License, Version 2.0.