explaingit

alexbloch-ia/legal-data

Analysis updated 2026-06-24

0ShellAudience · generalComplexity · 2/5LicenseSetup · moderate

TLDR

An OpenClaw agent plugin that adds six slash commands and five auto-skills for grounded legal lookups via the Cleo Legal MCP server, pulling real text from 66 official sources across 100+ countries.

Mindmap

mindmap
  root((legal-data))
    Inputs
      Slash command query
      Regulation reference
      Product description
      Document UUID
    Outputs
      Real regulation text
      HS customs code
      Compliance decision pack
      Recent changes feed
    Use Cases
      Avoid legal hallucinations
      Classify customs codes
      Screen cross border shipments
      Track regulatory changes
    Tech Stack
      OpenClaw
      MCP
      Node 22
      Markdown
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Look up the real text of a GDPR article from inside an OpenClaw agent chat

USE CASE 2

Classify a product description to an HS customs code with a confidence rating

USE CASE 3

Get a combined compliance pack for a cross border shipment including tariffs and dual use checks

USE CASE 4

Track which regulations changed in the last N days to keep a compliance memo current

What is it built with?

OpenClawMCPNodeMarkdown

How does it compare?

alexbloch-ia/legal-datachloevpin/kiro-arm64corevice/team-vps-ansible
Stars000
LanguageShellShellShell
Setup difficultymoderatemoderatehard
Complexity2/53/54/5
Audiencegeneralops devopsops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs OpenClaw 2026.3.24-beta.2 or newer, Node 22+, and a Cleo Labs account, free tier caps at 3 lookups.

MIT-0 lets anyone use, modify, and distribute the code commercially with no attribution requirement.

In plain English

This repo is a plugin for a tool called OpenClaw, an AI-agent platform similar in idea to coding assistants but aimed at general work. The plugin's purpose is to let your agent answer regulatory and legal questions using real text from official government sources, rather than making up citations. The README pitches this as a fix for legal hallucinations: when you ask about a specific GDPR article or a customs classification, the agent looks it up in a backing service called Cleo Legal and returns the actual document. The plugin adds six slash commands inside OpenClaw. /cleo-search returns the real text of a regulation, /cleo-classify guesses an HS customs code for a product description with a confidence rating, /cleo-compliance returns a combined decision pack for cross-border shipments including tariffs, dual-use checks, and EAEU obligations, /cleo-doc fetches the full text of a document by its UUID, /cleo-changes lists regulations that moved in the last N days, and /cleo-setup walks through first-run signup. Five extra skills (regulatory research, GDPR data protection, customs classification, dual-use export control, and sanctions screening) auto-trigger when the agent detects a matching question. The data side claims 66 official sources covering more than 100 countries, including EUR-Lex, Legifrance, the UK and US registers, BOE, Normattiva, the Eurasian Economic Commission, GOST, and WIPO Lex as a fallback. There is a free tier of 3 lookups, then paid plans through Cleo Labs, with composite calls counting as 5 units each. Under the hood the plugin is described as a declarative bundle: it ships manifests, six command markdown files, five skill markdown files, and an MCP config that points OpenClaw at a hosted MCP server with 19 tools. The actual backend lives in a separate Cleo Labs repository. The plugin source itself is MIT-0 licensed, has zero stars, and requires OpenClaw 2026.3.24-beta.2 or newer and Node 22 or higher.

Copy-paste prompts

Prompt 1
Install the AlexBloch-IA legal-data plugin into my OpenClaw setup and run /cleo-setup to register a free tier account
Prompt 2
Use /cleo-search inside OpenClaw to pull the real text of GDPR article 30 and quote the record keeping obligation
Prompt 3
Run /cleo-classify in OpenClaw on a 100ml glass perfume bottle and explain the returned HS code and confidence
Prompt 4
Have the legal-data plugin call /cleo-compliance for a drone shipment from Germany to Kazakhstan and break down the dual use flags
Prompt 5
Wire the legal-data MCP server config into a non OpenClaw Claude client and call its 19 tools directly

Frequently asked questions

What is legal-data?

An OpenClaw agent plugin that adds six slash commands and five auto-skills for grounded legal lookups via the Cleo Legal MCP server, pulling real text from 66 official sources across 100+ countries.

What language is legal-data written in?

Mainly Shell. The stack also includes OpenClaw, MCP, Node.

What license does legal-data use?

MIT-0 lets anyone use, modify, and distribute the code commercially with no attribution requirement.

How hard is legal-data to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is legal-data for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.