
Compass
io.github.LicentiumIO由 GitHub 账号 LicentiumIO 发布v1.0.1更新于 Oct 24, 2026
Ground your LLM in EU financial, crypto and AI regulation, verbatim and cited, via Compass.
概览
Compass 让助手以欧盟金融、加密与人工智能监管原文为依据,返回逐字条文并标注条款出处,还可核验引文。
- 可以做什么
- 检索适用条文:用自然语言提出监管问题,返回 MiCA、DORA、MiFID II、反洗钱一揽子法规、AI 法案、GDPR 等核心法案的逐字文本、条款级引用与交叉引用,并可指定返回条数。
- 核验引文:根据条文的 node_id 检查某段引文是否为该条文的逐字片段,避免模型误引法律。
- 适用场景
- 适合需要以欧盟金融、加密或人工智能监管原文为依据作答、并要求可引用一手法律文本的场景,例如合规调研、范围界定问题,或在引用某段法条前先行核对。
- 运行要求
- 以本地 stdio 进程运行,需要 Node.js(npm 包 @licentium/compass-mcp,或克隆仓库后自行构建)。需在 COMPASS_API_KEY 环境变量中提供 Compass API 密钥,密钥在 Compass 开发者站点创建。需能访问 Compass API;自托管端点可用 COMPASS_API_URL 覆盖。
安装
在 SourceWeft 中
- 打开 控制台中的 Compass,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
compass-mcp
An MCP server that grounds your LLM in EU financial, crypto and AI regulation via Compass. Add it to Claude Desktop, Cursor, or any MCP host, and the model can pull the governing EU provisions, verbatim and article-cited, before it answers.
It exposes two tools over Compass's public grounding API:
compass_retrieve: a question in, the top governing provisions out (verbatim text, article-level citations, cross-references) from the core EU acts (MiCA, DORA, MiFID II, the AML package, the AI Act, GDPR and more).compass_verify: check that a quote is a verbatim span of a specific provision, so the model never misquotes the law.
1. Get an API key
Create a key at compass.licentium.ai/developers. It looks like ck_live_.... The first calls are free; after that, usage is metered against your Compass credits. Keep the key secret.
2. Install and build
This produces dist/index.js. (Once published to npm, hosts can run it with npx -y @licentium/compass-mcp and skip the clone/build.)
3. Configure your MCP host
Set COMPASS_API_KEY to your key in the server's environment.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
Restart Claude Desktop. You should see compass_retrieve and compass_verify in the tools list.
Cursor
Add to ~/.cursor/mcp.json (or the project's .cursor/mcp.json):
Any other MCP host
Run the binary over stdio with COMPASS_API_KEY set:
Tools
compass_retrieve
Returns the governing provisions as verbatim text, each with its reference (e.g. MiCA, Article 59), a node_id, and any cross-references. Feed a node_id into compass_verify to confirm a quote.
compass_verify
Returns whether the quote is a verbatim span of that provision.
Configuration
Notes
Compass returns primary-law text only. It is a research and scoping tool, not legal advice. When the corpus does not govern a question, compass_retrieve returns nothing rather than guessing, so instruct your model not to assert an ungrounded answer.
Logs go to stderr so they never corrupt the stdio JSON-RPC stream.
来源:README.md,提交 1f2e13d
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分