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

NameTypeRequiredDescription
codestringyesNAICS code in the from_edition, e.g. “511210”.
from_editionstringnoEdition the code is in (default “2017”).
to_editionstringnoEdition 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

FieldTypeDescription
codestring
from_editionstring
to_editionstring
titlestring
maps_toarray
detailarray
sourcestring
data_as_ofstring
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.

Regenerated from source · build November 21, 2026