mcpField
C
Compass

Compass

Local
compass.licentium.aiLegal & Government0Updated 17w ago

About Compass

Compass is an MCP server for LLM-based research into EU financial, crypto, and AI regulation. It retrieves cited primary-law provisions and checks whether a quote matches a provision verbatim.

Key features

  1. 01Retrieve relevant EU legal provisions
  2. 02Return verbatim text with article citations
  3. 03Include provision cross-references
  4. 04Verify quotes against a provision
  5. 05Use primary-law text only

Use cases

  1. 01Research EU financial regulation
  2. 02Check provisions on crypto or AI
  3. 03Verify a legal quotation before citing it

MCP support

Exposes `compass_retrieve` and `compass_verify` to MCP clients. The tools use Compass's grounding API to retrieve cited legal text and check exact quotations.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"licentiumio-compass": {
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
],
"env": {
"COMPASS_API_KEY": "<COMPASS_API_KEY>"
}
}
}
}
Run commandnpx -y @licentium/compass-mcp
Environment variables to set
COMPASS_API_KEYSecretYour ck_live_ key from https://compass.licentium.ai/developers

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@licentium/compass-mcp1.0.1

Tools

2

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
querystringYesA natural-language regulatory question, e.g. 'Does a custodial wallet need a CASP licence under MiCA?'
top_kintegerNoHow many provisions to return (default 8).

Details

From the project 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

git clone <this-repo> compass-mcp
cd compass-mcp
npm install
npm 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):

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

{
  "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:

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.