wex_search

Pack: cornell-wex · Endpoint: https://gateway.pipeworx.io/cornell-wex/mcp

Find 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.g. “possession” lists adverse possession, constructive possession, possession of stolen goods). Returns entry titles with their URLs; pass one to wex_define for the definition. Free (CC BY-NC-SA, 0 credits).

Parameters

NameTypeRequiredDescription
querystringyesOne or more words expected in the entry title, e.g. “possession”, “statute of limitations”, “warrant”.
limitnumbernoMaximum entries to return (default 20, max 100).

Example call

Arguments

{
  "query": "possession",
  "limit": 10
}

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_search","arguments":{"query":"possession","limit":10}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('wex_search', {
  "query": "possession",
  "limit": 10
});

More examples

{
  "query": "doctrine of laches",
  "limit": 5
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "cornell-wex": {
      "url": "https://gateway.pipeworx.io/cornell-wex/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 15, 2026