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.

已驗證STDIO僅桌面金融知識與記憶

概覽

AI 產生的概覽

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 覆寫。
安裝前請注意
API 金鑰屬機密,須妥善保管,透過伺服器環境變數傳入。最初數次呼叫免費,之後依 Compass 額度計費,查詢可能產生費用。問題與引文會傳送至 Compass 的 API。此服務僅回傳一手法規文本,屬研究與範圍界定工具,不構成法律意見。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Compass,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
git clone <this-repo> compass-mcpcd compass-mcpnpm installnpm run 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):

json
{  "mcpServers": {    "compass": {      "command": "node",      "args": ["/absolute/path/to/compass-mcp/dist/index.js"],      "env": { "COMPASS_API_KEY": "ck_live_your_key_here" }    }  }}

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):

json
{  "mcpServers": {    "compass": {      "command": "node",      "args": ["/absolute/path/to/compass-mcp/dist/index.js"],      "env": { "COMPASS_API_KEY": "ck_live_your_key_here" }    }  }}

Any other MCP host

Run the binary over stdio with COMPASS_API_KEY set:

bash
COMPASS_API_KEY=ck_live_your_key_here node dist/index.js

Tools

compass_retrieve

ParamTypeNotes
querystringA regulatory question in plain language.
top_knumberOptional. Provisions to return, 1 to 20 (default 8).

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

ParamTypeNotes
node_idstringThe node_id of a provision from compass_retrieve.
quotestringThe exact text you intend to attribute to it.

Returns whether the quote is a verbatim span of that provision.

Configuration

Env varRequiredDefaultNotes
COMPASS_API_KEYyes(none)Your ck_live_ key.
COMPASS_API_URLnohttps://compass.licentium.aiOverride only for self-hosted endpoints.

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分