naics_crosswalk
Pack: naics · 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/naics_crosswalk for the schema, then POST the same URL with its arguments for the data.
Map a NAICS code between the 2017 and 2022 editions. Returns the code(s) it became (or came from), with titles and whether the industry was unchanged, split or merged. Codes of 5 digits or fewer are mapped through their six-digit descendants. Use it when a dataset is coded in one edition and you need the other (e.g. filtering SAM.gov registrations made before 2022). U.S. Census Bureau, NAICS concordances.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes | NAICS code in the from_edition, e.g. “511210”. |
from_edition | string | no | Edition the code is in (default “2017”). |
to_edition | string | no | Edition to map into (default “2022”). Must differ from from_edition. |
Example call
Arguments
{
"code": "511210",
"from_edition": "2017",
"to_edition": "2022"
}
curl
curl -X POST https://gateway.pipeworx.io/naics/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"naics_crosswalk","arguments":{"code":"511210","from_edition":"2017","to_edition":"2022"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('naics_crosswalk', {
"code": "511210",
"from_edition": "2017",
"to_edition": "2022"
});
Response shape
| Field | Type | Description |
|---|---|---|
code | string | |
from_edition | string | |
to_edition | string | |
title | string | |
maps_to | array | |
detail | array | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"from_edition": {
"type": "string"
},
"to_edition": {
"type": "string"
},
"title": {
"type": "string"
},
"maps_to": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
}
},
"detail": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from_code": {
"type": "string"
},
"from_title": {
"type": "string"
},
"to": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
}
},
"relation": {
"type": "string"
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
}
},
"additionalProperties": true
}
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 naics pack
{
"mcpServers": {
"naics": {
"url": "https://gateway.pipeworx.io/naics/mcp"
}
}
}
See Getting Started for client-specific install steps.