naics_lookup

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_lookup for the schema, then POST the same URL with its arguments for the data.

Look up a NAICS industry code (2 to 6 digits) and get its official title, the official description (what establishments in it do, with cross-references and exclusions), its level (sector, subsector, industry group, NAICS industry, national industry), the full parent chain up to the sector, and its child codes. Answers “what is NAICS 541511” and “what does 7372 industry class mean in NAICS”. Editions 2022 (default) and 2017. NAICS is the code used by SAM.gov, USAspending, SBA, Census, BLS and most federal contracting data. U.S. Census Bureau, NAICS. An unknown code is an error that names the nearest codes, never an empty result.

Parameters

NameTypeRequiredDescription
codestringyesNAICS code, 2 to 6 digits, e.g. “541511”, “5415”, “54”; also the sector ranges “31-33”, “44-45”, “48-49”.
editionstringnoNAICS edition (default “2022”).
include_descriptionbooleannoInclude the full official description (default true). Set false for a compact answer.

Example call

Arguments

{
  "code": "541511"
}

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_lookup","arguments":{"code":"541511"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('naics_lookup', {
  "code": "541511"
});

Response shape

FieldTypeDescription
codestring
editionstring
titlestring
levelstring
digitsnumber
parentsarray
childrenarray
descriptionstring
other_editionobject
sourcestring
data_as_ofstring
baked_atstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "edition": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "level": {
      "type": "string"
    },
    "digits": {
      "type": "number"
    },
    "parents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "level": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "children": {
      "type": "array",
      "items": {}
    },
    "description": {
      "type": "string"
    },
    "other_edition": {
      "type": "object",
      "properties": {
        "edition": {
          "type": "string"
        },
        "same_code_title": {
          "type": "string"
        },
        "same_title": {
          "type": "boolean"
        }
      },
      "additionalProperties": true
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "baked_at": {
      "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