va_code_section

Pack: virginia-code · Endpoint: https://gateway.pipeworx.io/virginia-code/mcp

Get the FULL TEXT of a section of the Code of Virginia — Virginia state statutes — by citation. “Va. Code 18.2-32” is first and second degree murder. Returns the statutory text. Keyless. Use for “what does Virginia Code 18.2-32 say” or to check a Virginia statute a case relies on.

Parameters

NameTypeRequiredDescription
sectionstringyesSection as cited, e.g. “18.2-32” or “46.2-862”. Title is the part before the dash.

Example call

Arguments

{
  "section": "18.2-32"
}

curl

curl -X POST https://gateway.pipeworx.io/virginia-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"va_code_section","arguments":{"section":"18.2-32"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('va_code_section', {
  "section": "18.2-32"
});

Connect

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

{
  "mcpServers": {
    "virginia-code": {
      "url": "https://gateway.pipeworx.io/virginia-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 12, 2026