hud_list_states
Pack: hud · 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/hud_list_states for the schema, then POST the same URL with its arguments for the data.
List all U.S. state codes and names. Returns state abbreviations and full names. Use to validate or discover state codes for other HUD tools.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | HUD API token |
Example call
Arguments
{
"_apiKey": "your-hud-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/hud/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hud_list_states","arguments":{"_apiKey":"your-hud-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('hud_list_states', {
"_apiKey": "your-hud-api-key"
});
Response shape
Always returns: states
| Field | Type | Description |
|---|---|---|
states | object | List of all U.S. state codes and names |
Full JSON Schema
{
"type": "object",
"properties": {
"states": {
"type": "object",
"description": "List of all U.S. state codes and names"
}
},
"required": [
"states"
]
}
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 hud pack
{
"mcpServers": {
"hud": {
"url": "https://gateway.pipeworx.io/hud/mcp"
}
}
}
See Getting Started for client-specific install steps.