Cornell LII Wex

liveLegal

Cornell LII's Wex legal encyclopedia: plain-English definitions of 5,600+ US legal terms and doctrines, with related terms, categories and last-reviewed dates. Free under CC BY-NC-SA.

3tools
0msauth
free tier50 calls/day

Tools

wex_define

Definition of a US legal term or doctrine from Cornell LII's Wex legal encyclopedia: the plain-English explanation, its related Wex terms, topic categories and last-reviewed date. Answers "what does h

No parameters required.

Try it
wex_browse

List the Wex legal-encyclopedia entries under one letter of its A–Z index (5,600+ entries in total), with a URL for each. Useful for enumerating terms or paging through a letter; pass an entry to wex_

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/cornell-wex/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/cornell-wex/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"wex_define","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("wex_define", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("cornell lii's wex legal encyclopedia: plain-english definitions of 5,600+ us legal terms and doctrines, with related terms, categories and last-reviewed dates");