wex_define

Pack: cornell-wex · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/wex_define for the schema, then POST the same URL with its arguments for the data.

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 habeas corpus mean”, “define adverse possession”, “explain res judicata”. Free: LII licenses Wex CC BY-NC-SA, so this call costs 0 credits and the response carries the attribution and licence a caller must pass on.

Parameters

NameTypeRequiredDescription
termstringyesThe legal term as written, e.g. “tort”, “adverse possession”, “res judicata”, “Miranda warning”. Case and spaces do not matter.

Example call

Arguments

{
  "term": "tort"
}

curl

curl -X POST https://gateway.pipeworx.io/cornell-wex/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"wex_define","arguments":{"term":"tort"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('wex_define', {
  "term": "tort"
});

More examples

{
  "term": "adverse possession"
}
{
  "term": "res judicata"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the cornell-wex pack
{
  "mcpServers": {
    "cornell-wex": {
      "url": "https://gateway.pipeworx.io/cornell-wex/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026