Skip to content
Back to search

mcp-census-business

Census business statistics -- how big is an industry, by NAICS code and geography (fleet #4608).

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/pipeworx-io--mcp-census-business/badge.svg)](/listings/pipeworx-io--mcp-census-business)

HTML

<a href="/listings/pipeworx-io--mcp-census-business"><img src="/api/listings/pipeworx-io--mcp-census-business/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "census-business": {
      "url": "https://gateway.pipeworx.io/census-business/mcp"
    }
  }
}

What this endpoint actually serves

`tools/list` at `https://gateway.pipeworx.io/census-business/mcp` returns the tools in the table above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`, `discover_tools`, `search_within`, `remember`/`recall` and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's `initialize` response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via `ask_pipeworx`, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 2034+ data sources. The only difference is which pack's tools are listed **directly**; `ask_pipeworx` reaches all of them from either one.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 149 lines
  1. # @pipeworx/census-business
  2. How big is an industry? U.S. Census Bureau business statistics by NAICS industry and geography: employer establishments, employees and payroll (County Business Patterns), nonemployer businesses, Economic Census receipts, employer-firm owner demographics (Annual Business Survey), and monthly retail and quarterly services sales series.
  3. Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 2034+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
  4. Tools take a plain industry phrase ("dental offices") as well as a NAICS code, a state or county, and a year, and return values with the NAICS title, geography, year, Census dataset name and `data_as_of`.
  5. ## Tools
  6. - `industry_code_search(query)` — industry words to the NAICS codes the Census business datasets use, from the Census Bureau's own industry list.
  7. - `industry_size(industry, state?, county?, year?, breakdown?)` — establishments, employees, annual payroll and average pay for an industry in the nation, a state or a county (County Business Patterns), plus nonemployer establishments and receipts (Nonemployer Statistics). `breakdown: "state"` ranks every state; `"county"` ranks the counties of a state. Payroll and receipts are returned in dollars (Census publishes thousands).
  8. - `establishment_size_split(industry, state?, county?, year?)` — establishments, employees and payroll by employment-size class (1-4, 5-9, ... 1,000+), with each class's share of establishments.
  9. - `economic_census_industry(industry, state?, county?, year?)` — establishments, firms, sales / revenue, payroll and employees from the Economic Census (2022, 2017). The source for total industry revenue.
  10. - `business_owner_demographics(industry?, dimension?, state?, year?)` — employer firms, receipts, employees and payroll by owner sex, ethnicity, race or veteran status (Annual Business Survey).
  11. - `monthly_sales_series(program?, category_code?, data_type_code?, from?, to?, list_codes?)` — Monthly Retail Trade (mrts) and Quarterly Services (qss) series; `list_codes: true` shows the codes a program publishes.
  12. For full NAICS descriptions, hierarchy, edition and SIC crosswalks, use the `naics` pack. For county employment and wages by industry from a different publisher (BLS), see `qcew`.
  13. ## Auth
  14. Platform key (`PLATFORM_CENSUS_KEY`, the key the `census` pack also uses). The Census data service now answers 302 to a "missing key" page on every data query, so there is no keyless mode; callers do not pass a key.
  15. ## Data sources
  16. - U.S. Census Bureau, County Business Patterns. Reference year 2023 is the latest; payroll is for the whole year, employment is for the week of March 12.
  17. - U.S. Census Bureau, Nonemployer Statistics.
  18. - U.S. Census Bureau, Economic Census (2022 and 2017 core statistics).
  19. - U.S. Census Bureau, Annual Business Survey.
  20. - U.S. Census Bureau, Monthly Retail Trade Survey and Quarterly Services Survey.
  21. U.S. federal data, public domain; proxied live per request, nothing is copied.
  22. ## Things worth knowing
  23. - **NAICS edition.** County Business Patterns still uses the 2017 NAICS through its 2023 data; the 2022 Economic Census and recent Annual Business Surveys use 2022. An industry renumbered in 2022 (software publishers: 511210 became 513210) has a different code in each. A code missing from a dataset's list is reported as such, with a pointer to `industry_code_search`; use the `naics` pack's `naics_crosswalk` to translate.
  24. - **Nonemployer years.** The nonemployer tables moved to 2022 NAICS in 2022; `industry_size` pairs the CBP year with the latest nonemployer year on the same NAICS edition (2021) and says so rather than mixing editions.
  25. - **Suppression.** Small cells are withheld or noise-infused. A missing row is reported as "published no ... row", never as zero; `employees_noise_flag` and `payroll_noise_flag` carry Census's own noise-range letter.
  26. - **Firm-size tables.** Statistics of U.S. Businesses (firm size by industry) is bulk files only, not in the Census data service; `establishment_size_split` answers the size question by establishment employment class instead.
  27. - **Verification status.** The data endpoints need a key no fleet machine holds, so this pack was built against the services' published metadata and a stubbed response shape; the first live answers come from the post-deploy probe.
  28. ## Quick Start
  29. Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
  30. ```json
  31. {
  32. "mcpServers": {
  33. "census-business": {
  34. "url": "https://gateway.pipeworx.io/census-business/mcp"
  35. }
  36. }
  37. }
  38. ```
  39. ### What this endpoint actually serves
  40. `tools/list` at `https://gateway.pipeworx.io/census-business/mcp` returns the tools in the table
  41. above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
  42. `discover_tools`, `search_within`, `remember`/`recall` and the rest of the
  43. gateway-wide set. So the tool count you see is larger than this table: a
  44. single-pack endpoint currently lists roughly 30 shared tools alongside the
  45. pack's own. The connection's `initialize` response states its exact scope, and
  46. is the authoritative answer for a given day.
  47. This is deliberate, not multiplexing by accident. The meta-tools are what let a
  48. scoped connection answer a question this pack does not cover — via
  49. `ask_pipeworx`, which routes across the whole catalog — without you adding a
  50. second MCP server. There is currently no way to mount a pack endpoint without
  51. them; if the extra schemas cost you more context than the routing is worth,
  52. connect to the full gateway once rather than to several pack endpoints.
  53. Or connect to the full Pipeworx gateway to get every pack's tools listed
  54. directly, instead of just this one's:
  55. ```json
  56. {
  57. "mcpServers": {
  58. "pipeworx": {
  59. "url": "https://gateway.pipeworx.io/mcp"
  60. }
  61. }
  62. }
  63. ```
  64. Both URLs reach the same gateway and the same 2034+ data sources. The
  65. only difference is which pack's tools are listed **directly**; `ask_pipeworx`
  66. reaches all of them from either one.
  67. ## No MCP client? Call it over HTTP
  68. ```bash
  69. curl -X POST https://gateway.pipeworx.io/v1/tools/industry_code_search \
  70. -H 'Content-Type: application/json' \
  71. -d '{"query":"dental offices"}'
  72. ```
  73. No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/industry_code_search`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
  74. ## Run it from npm
  75. `@pipeworx/mcp-census-business` is a local stdio bridge to the Pipeworx gateway: your MCP client
  76. starts it with `npx`, and it forwards every call to the same
  77. `https://gateway.pipeworx.io/census-business/mcp` endpoint shown above. It needs network access;
  78. there is no offline mode.
  79. ```json
  80. {
  81. "mcpServers": {
  82. "census-business": {
  83. "command": "npx",
  84. "args": ["-y", "@pipeworx/mcp-census-business"]
  85. }
  86. }
  87. }
  88. ```
  89. Without a key it calls anonymously, capped at 50 calls a day. A free account
  90. raises that to 200 a day: get a key at https://pipeworx.io/signup and add
  91. `"env": { "PIPEWORX_API_KEY": "<your key>" }` to the server entry.
  92. The key is sent as a Bearer token, the same way a hosted connection sends it,
  93. so calls are metered and billed exactly as they are there.
  94. It lists **only** this pack's tools by default. Set `PIPEWORX_META_TOOLS=1` to
  95. also list `ask_pipeworx` and the other gateway-wide tools.
  96. Behind an HTTPS proxy: Node's built-in `fetch` does not read `HTTPS_PROXY` by
  97. default. Newer Node releases honour it when `NODE_USE_ENV_PROXY=1` is set; check
  98. your Node version's documentation.
  99. ## Using with ask_pipeworx
  100. Instead of calling tools directly, you can ask questions in plain English —
  101. this works on the pack endpoint above as well as on the full gateway:
  102. ```
  103. ask_pipeworx({ question: "your question about Census Business data" })
  104. ```
  105. The gateway picks the right tool and fills the arguments automatically.
  106. ## More
  107. - [Docs and guides](https://pipeworx.io/docs)
  108. - [pipeworx.io](https://pipeworx.io)
  109. ## License
  110. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.