npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@alexbloch-ia/legal-data

v1.2.2

Published

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

Readme

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:@alexbloch-ia/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

| Tier | Quota | Price | |---|---|---| | Free | 3 lookups (lifetime) | $0 | | Pro | 300/min · 1M/mo | (see legaldata-public.cleolabs.co/pricing) | | Enterprise | 1500/min · 10M/mo | Contact 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).

Compatibility

| Component | Minimum | |---|---| | OpenClaw runtime | 2026.3.24-beta.2 (verified on 2026.4.x and 2026.5.x) | | Node (only for dist/index.js no-op entry) | >=22.0.0 | | ClawHub CLI | any version that supports clawhub package publish |

Declared in package.json:

"openclaw": {
  "compat": { "pluginApi": ">=2026.3.24-beta.2", "minGatewayVersion": ">=2026.3.24-beta.2" },
  "build":  { "openclawVersion": ">=2026.3.24-beta.2" }
}

If openclaw plugins install fails with a runtime-version mismatch, upgrade OpenClaw (openclaw --version to check) before retrying.

Architecture

This plugin is a declarative bundle wrapping the Cleo Legal API's MCP server (Streamable HTTP, Bearer auth, 19 tools). It is not a heavy native runtime plugin — the dist/index.js entry is a no-op required only by OpenClaw's validator. All value lives in:

  • .mcp.json — MCP server config (auto-detected by OpenClaw)
  • commands/*.md — 6 user-invocable slash commands
  • skills/*/SKILL.md — 5 auto-invoked skills
  • openclaw.plugin.json + .claude-plugin/plugin.json — manifests

The Cleo Legal API's MCP server handles 66 sources, multi-language search, embeddings, content-change detection, and the WIPO Lex universal fallback for geo-blocked jurisdictions. The plugin merely surfaces it inside OpenClaw with a sensible UX.

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.