@alexbloch-ia

Legal Data Plugin for OpenClaw

Legal data plugin for OpenClaw — 66 official sources across 100+ countries.

Current version
v1.2.0
code-pluginCommunitysource-linked

Legal Data Plugin for OpenClaw

Stop your OpenClaw agent from hallucinating legal citations. Real regulations from 66 official sources across 100+ countries — GDPR, customs/HS codes, sanctions, dual-use, GOST, EAEU.

License: MIT-0 ClawHub MCP Coverage

What it does

  • /cleo-search "GDPR Article 17" — Real article text from EUR-Lex, not hallucinated
  • /cleo-classify "stainless steel beam" — HS code with confidence + customs rationale (multilingual)
  • /cleo-compliance "drone with infrared camera" KZ — Full decision pack: tariff + obligations + dual-use + EAEU + lead time
  • /cleo-doc <UUID> — Full text of any document
  • /cleo-changes 30d — Regulations that moved in the last 30 days
  • /cleo-setup — First-run onboarding (3 free lookups, then pay-as-you-go)

Plus 5 SEO-targeted skills that auto-invoke when your agent detects regulatory questions: regulatory-research, gdpr-data-protection, customs-hs-classifier, dual-use-export-control, sanctions-screening.

Install

openclaw plugins install clawhub:legal-data

Then run setup:

openclaw run /cleo-setup

This opens cleolabs.co/signup in your browser. Create an account, copy the ld_live_... API key, paste it back.

Set the env var:

echo 'export CLEO_LEGAL_API_KEY="ld_live_..."' >> ~/.zshrc
source ~/.zshrc
openclaw mcp restart cleo-legal

Verify

openclaw run /cleo-search "GDPR Article 17"

You should get real Article 17 text from EUR-Lex.

Pricing

TierQuotaPrice
Free3 lookups (lifetime)$0
Pro300/min · 1M/mo(see legaldata-public.cleolabs.co/pricing)
Enterprise1500/min · 10M/moContact sales

Composite endpoints (/cleo-compliance) consume 5 units per call.

Coverage

66 official sources, including:

  • EU: EUR-Lex, EDPB, ECHA, EFSA
  • France: Legifrance (PISTE), CNIL
  • Germany: BWB, BaFin, BfArM
  • UK: legislation.gov.uk, ICO, FCA
  • US: eCFR, Federal Register, FDA, OFAC SDN
  • Spain: BOE, AEPD
  • Italy: Normattiva
  • Russia / EAEU: EEC TR CU, GOST R
  • WIPO Lex as universal fallback for 100+ countries

Full list: coverage report.

Examples

Troubleshooting

See docs/troubleshooting.md — covers the streamable-http header bug workaround (OpenClaw issue #65590, May 2026).

Architecture

This plugin wraps the Cleo Legal API's MCP server (Streamable HTTP, Bearer auth, 19 tools). The MCP server itself handles 66 sources, multi-language search, embeddings, content-change detection, and the WIPO Lex universal fallback for geo-blocked jurisdictions.

For the backend architecture, see the main repo.

License

MIT-0 (ClawHub requirement). Plugin source is fully open; API access requires an account.

Issues & feedback

github.com/AlexBloch-IA/legal-data/issues

Maintainer setup

CI requires two GitHub secrets (Settings → Secrets → Actions):

  • CLAWHUB_TOKEN: ClawHub publisher token (obtain via clawhub login locally, copy from ~/.clawhub/credentials)
  • NPM_TOKEN: npm automation token with publish rights to @alexbloch-ia/*

Release: git tag v1.0.x && git push origin v1.0.x. CI publishes to ClawHub + npm.

Source and release

Source repository

AlexBloch-IA/legal-data

Open repo

Source commit

fbc0e3dcab639b4dd33223d6d309b854bee95f5f

View commit

Install command

openclaw plugins install clawhub:@alexbloch-ia/legal-data

Metadata

  • Package: @alexbloch-ia/legal-data
  • Created: 2026/05/20
  • Updated: 2026/05/20
  • Executes code: Yes
  • Source tag: main

Compatibility

  • Built with OpenClaw: 1.x
  • Plugin API range: 1.x
  • Tags: latest
  • Files: 35