Legal Oracle for AI agents
Agents can move money; they still cannot tell whether a provision exists. The Oracle answers three questions in machine-readable form, and refuses when the verified corpus has no answer.
GET https://ailegal.legal/api/v2/oracle/lookup?q=unpaid%20salary%20india&jurisdiction=in
→ {"found": 4, "norms": [{"code": "Code on Wages", "article": "s. 17",
"source_url": "https://indiacode.gov.in/handle/123456789/539230", "verified": true}, ...]}
GET https://ailegal.legal/api/v2/oracle/citation?code=Code%20on%20Wages&article=s.%2017&jurisdiction=in
→ {"found": true, "verified": true, "norms": [ ... ]}
GET https://ailegal.legal/api/v2/oracle/citation?code=Fake%20Act&article=s.%20999
→ {"found": false, "verified": false, "note": "do not rely on it"}
Three endpoints
| Endpoint | Question it answers |
|---|---|
/api/v2/oracle/lookup | Which verified provisions relate to this situation? |
/api/v2/oracle/citation | Does this code/article pair exist — yes or no? |
/api/v2/oracle/stats | What is covered: norms by jurisdiction and domain. |
MCP for agents
Same data through Model Context Protocol — no account, no key:
{"mcpServers": {"ailegal": {"url": "https://ailegal.legal/api/mcp/", "transport": "streamable-http"}}}
Tools: legal_breakdown, oracle_lookup, verify_citation.
Source: github.com/mrpkk/ailegal-mcp (MIT).
Coverage — and what it means
92 provisions across six jurisdictions: Russia 25, US 26, India 14, Hong Kong 11, UK 9, Canada 7. Each was read in the official source and is re-checked on a schedule.
Pricing
| Use | Price |
|---|---|
| MCP and Oracle (lookup/citation) | Free, 120 calls/hour |
| Paid per-call rail for volume | $0.05 USDC per breakdown, Base mainnet, no account |
| Platform licence (10k calls/month) | on request |