Cornell LII Wex
liveLegalCornell 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.
Tools
wex_defineDefinition 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_searchFind Wex legal-encyclopedia entries whose titles contain the given words, searched across the whole 5,600-entry index and ranked by how many words match. Use it when you do not know the exact term (e.
No parameters required.
Try it
wex_browseList 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.
curl -X POST https://gateway.pipeworx.io/cornell-wex/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'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.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("wex_define", {});// 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");