npm @licentium/compass-mcpstdioMITupdated 2mo ago
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.
What can you do with Compass?
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
| Param | Type | Notes |
|---|---|---|
query |
string | A regulatory question in plain language. |
top_k |
number | Optional. 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
| Param | Type | Notes |
|---|---|---|
node_id |
string | The node_id of a provision from compass_retrieve. |
quote |
string | The exact text you intend to attribute to it. |
Returns whether the quote is a verbatim span of that provision.
Configuration
| Env var | Required | Default | Notes |
|---|---|---|---|
COMPASS_API_KEY |
yes | (none) | Your ck_live_ key. |
COMPASS_API_URL |
no | https://compass.licentium.ai |
Override 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.
Install
Add Compass to your client. Pick the one you use.
claude mcp add compass-mcp -- npx -y @licentium/compass-mcpcodex mcp add compass-mcp -- npx -y @licentium/compass-mcpamp mcp add compass-mcp -- npx -y @licentium/compass-mcp{
"mcpServers": {
"compass-mcp": {
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"compass-mcp": {
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"compass-mcp","command":"npx","args":["-y","@licentium/compass-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"compass-mcp": {
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"compass-mcp": {
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"compass-mcp": {
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"compass-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"compass-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@licentium/compass-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @licentium/compass-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance16/25
- Trust16/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 58 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.0.1Latest | Jul 6, 2026 |