hud_list_states
Pack: hud · Endpoint: https://gateway.pipeworx.io/hud/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"hud": {
"url": "https://gateway.pipeworx.io/hud/mcp"
}
}
}
See Getting Started for client-specific install steps.