D
Caution
40/100
7 days ago

opencaselaw

Open Swiss legal corpus + MCP server: 1M+ court decisions (1875–today), 21k laws, 10M-edge citation graph, 42 MCP tools. CC0 data, MIT code. Live at mcp.opencaselaw.ch

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

Code Verified⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

jonashertner

Source: github_topic · also listed on Glama

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Secret credentials may flow to a network call
14 flows detected: ANTHROPIC_API_KEY, DEV_DASHBOARD_TOKEN, STRIPE_SECRET_KEY. We can’t prove the destination matches the brand the credential belongs to.
🔐
You'll be asked for 8 credentials: ANTHROPIC_API_KEY, SWISS_CASELAW_AUTH_TOKEN, DEV_DASHBOARD_TOKEN, OCL_ADMIN_TOKEN, HF_TOKEN, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, OCL_ANOMALY_DEPLOY_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configHOST
configOCL_API_BASE
configOCL_REMOTE_ATTEST
configOCL_TIMEOUT_MS
configSWISS_CASELAW_FULL_TEXT_RERANK_CHARS
configSWISS_CASELAW_CROSS_ENCODER
configSWISS_CASELAW_LLM_RERANK
configSWISS_CASELAW_LLM_RERANK_TOP_N
configSWISS_CASELAW_LLM_RERANK_WEIGHT
configSWISS_CASELAW_LLM_RERANK_TIMEOUT
configSWISS_CASELAW_LLM_RERANK_GATE
configSWISS_CASELAW_CROSS_ENCODER_TOP_N
configSWISS_CASELAW_CROSS_ENCODER_WEIGHT
configSWISS_CASELAW_CROSS_ENCODER_MAX_LENGTH
configSWISS_CASELAW_GRAPH_DBexport =output/reference_graph.db
configSWISS_CASELAW_CANONICAL_DB
configSWISS_CASELAW_STATUTES_DBexport =output/statutes.db
configSWISS_CASELAW_CANTONAL_DB
configSWISS_CASELAW_OK_DB
configSWISS_CASELAW_RECENT_OVERLAY_DB
configOCL_RECENT_OVERLAY
configSWISS_CASELAW_LEXFIND_CACHE
configSWISS_CASELAW_MATERIALIEN_DB
configSWISS_CASELAW_ANWALTSRECHT_DB
configSWISS_CASELAW_STRUCTURE_DB
configSWISS_CASELAW_PRACTICE_DB
configSWISS_CASELAW_SCHOLARSHIP_DB
configSWISS_CASELAW_GRAPH_SIGNALSGraph signals are enabled by default. To disable them, set =0.
configSWISS_CASELAW_VECTORS_DB
configSWISS_CASELAW_VECTOR_SEARCH
configSWISS_CASELAW_VECTOR_WEIGHT
configSWISS_CASELAW_VECTOR_K
configSWISS_CASELAW_VECTOR_SIGNAL_WEIGHT
configPINPOINT_SEMANTIC_HIGH
configPINPOINT_SEMANTIC_MEDIUM
configSPARSE_SEARCH_ENABLED
configSWISS_CASELAW_SPARSE_SIGNAL_WEIGHT
configSWISS_CASELAW_SPARSE_RRF_WEIGHT
configSWISS_CASELAW_SPARSE_K
configLLM_EXPANSION_ENABLED
🔐 secretANTHROPIC_API_KEYAnthropic (Claude) [console.anthropic.com](https://console.anthropic.com/) Pay-as-you-go
configLLM_EXPANSION_TIMEOUT
configOCL_SEARCH_DEADLINE_MS
configOCL_QUERY_CONDENSE_CHARS
configOCL_QUERY_MAX_CHARS
configOCL_PINPOINT_WORKERS
configOCL_TOOL_TIMEOUT_S
configOCL_UI_WIDGETS
configSWISS_CASELAW_FEDLEX_CACHE~/.swiss-caselaw/fedlex_cache.json (configurable via ).
configSWISS_CASELAW_FEDLEX_TIMEOUT
🔐 secretSWISS_CASELAW_AUTH_TOKEN
configSWISS_CASELAW_CORS_ORIGINS
configLEXFIND_ENABLED
configMCP_WORKER_COUNT
configLEXFIND_SEARCH_TIMEOUT
configLEXFIND_LOOKUP_TIMEOUT
configSWISS_CASELAW_DIRdata_dir = Path(os.environ.get("", Path.home() / ".swiss-caselaw")).expanduser()
configRESEARCH_TRACE_RETENTION_DAYS
🔐 secretDEV_DASHBOARD_TOKEN
configSWISS_CASELAW_API_BASE_URL
configOCL_INTEGRITY_LEAVES_DB
🔐 secretOCL_ADMIN_TOKEN
configFRONTEND_PORTPort already in use Edit BACKEND_PORT or in .env
configOLLAMA_BASE_URL
configBACKEND_PORTPort already in use Edit or FRONTEND_PORT in .env
configMCP_PYTHON
configMCP_TOOL_TIMEOUT
configCASELAW_DB
configSCRAPER_PROXY
configOCL_SKIP_SWAP_GATE
configOCL_DATE_AGNOSTIC_DEDUP
configBUILD_FTS5_DIRECT_FIRST
configOCL_EARLY_STATS_PUSH
configOCL_FULL_INTEGRITY_CHECK
🔐 secretHF_TOKEN
configOCL_PUBLISH_SCHOLARSHIP_WEEKDAY
configOCL_PUBLISH_DELTA
configOCL_PUBLISH_SQLITE_SNAPSHOT
configOCL_PUBLISH_SQLITE_SNAPSHOT_WEEKDAY
configOCL_DAG_WORKERS
configOCL_USE_DAG
configOCL_PARALLEL_POST_BUILD
configSWISS_CASELAW_COVERAGE_DB
configSWISS_CASELAW_BASE_URL
🔐 secretSTRIPE_SECRET_KEY
🔐 secretSTRIPE_WEBHOOK_SECRET
configSTRIPE_PRICE_ID
configOPENCASELAW_BASE_URL
configBGER_PROXY
configFEDLEX_OUTPUT
configLEXFIND_CANTONAL_OUTPUT
configOK_OUTPUT_DIR
configOCL_DECISIONS_DB
configNTFY_TOPIC
configNTFY_URL
configOCL_OUTPUT_DIR
configOCL_COVERAGE_DB
configOCL_BACKSCAN_OUT
configOCL_CITATION_ANOMALY_REPORT
configOCL_ANOMALY_PRIVATE_REPO
configSWISS_CASELAW_DB
configOCL_ANOMALY_NTFY
🔐 secretOCL_ANOMALY_DEPLOY_KEY
Deployment configuration, supplied by whoever hosts the server. Users are not asked for these.
deployPORT
// quality suggestions

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

45/45 tools missing one or more hints — _handle_call_tool_wrapper (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); search (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); fetch (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +42 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Secrets never reach shell commands

1 secret value passed to shell commands — possible command injection

Never pass secrets through shell commands. Use library APIs that accept credentials as arguments.

Secrets not logged

8 secret values sent to console.log

Redact or omit secret values from log output.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 4 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/jonashertner-opencaselaw-1pm040?variant=verified)](https://m8ven.ai/mcp/jonashertner-opencaselaw-1pm040)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 7703ce9b462c3a04a14b2815104a8b5f219f3859
code hash: e9be2f4f6b8324534555ea26107b1c70a302f54d6418bd755a00edd18b67fd53
verified: 8/12/2026, 7:57:12 AM
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client