mcp-bls
BLS MCP — Bureau of Labor Statistics public data API (v2)
- 0 estrellas
- 0 forks
- 0 issues abiertos
- Lenguaje: TypeScript
- Licencia: MIT
- actualizado
Instalación
remoteclaude mcp add --transport http mcp-bls https://gateway.pipeworx.io/bls/mcp{
"mcpServers": {
"mcp-bls": {
"type": "http",
"url": "https://gateway.pipeworx.io/bls/mcp"
}
}
}Servidor remoto, sin binario local. Si pide credenciales, sigue el README del proveedor.
https://gateway.pipeworx.io/bls/mcpServidor remoto, sin binario local. Si pide credenciales, sigue el README del proveedor.
{
"mcpServers": {
"mcp-bls": {
"url": "https://gateway.pipeworx.io/bls/mcp"
}
}
}Servidor remoto, sin binario local. Si pide credenciales, sigue el README del proveedor.
- Ejecuta el comando en tu terminal (Claude Code) o añade la URL como conector (Claude Desktop) o en mcp.json (Cursor).
- Autoriza el acceso cuando el cliente lo pida.
- Reinicia la sesión: las herramientas del servidor aparecen solas.
Resumen de MCP Servers
BLS — Bureau of Labor Statistics
The U.S. Bureau of Labor Statistics's data warehouse. Employment, unemployment, wages, prices (CPI/PPI), productivity, occupational projections — the official US labor and price data. National, state, and metro level. Free with a registered API key.
Part of Pipeworx — an MCP gateway connecting AI agents to 1855+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Why this matters for AI agents
Anything labor-market or inflation-related at the official level: BLS. Where FRED gives you headline series, BLS gives you the underlying detail (occupation-level, industry-level, MSA-level). Agents researching local economic conditions, sector wages, or specific CPI components reach BLS directly.
Three core flows:
1. Look up a series. "What's the metro Denver unemployment rate?" → bls_search({query: "Denver unemployment"}) → series IDs. Then bls_get_series({series_id}) for values.
2. Latest value. "What's national unemployment right now?" → bls_latest({series_id: "LNS14000000"}) → most recent observation.
3. Browse popular series. "What does BLS publish?" → bls_popular_series → curated list of high-traffic IDs.
Employment Projections. "Projected growth and annual openings for software developers" → bls_occupation_projections({ soc_code: "15-1252" }), or ({ query: "nurse" }), or rank occupations with ({ rank_by: "growth_percent", min_employment_thousands: 50 }). Serves the latest release's national employment matrix (employment, 10-year change, annual openings, median wage, typical entry education); employment and openings are in thousands, and the response carries the projection period and data_as_of. Earlier vintages are not served.
4. Local-area unemployment by place name. "What's the unemployment rate in Wake County, NC?" or "Cary, North Carolina" or "Fargo-Moorhead MSA" → bls_local_unemployment({place, state?}). This is the tool for LAUS (Local Area Unemployment Statistics) lookups by county / metro area / city — bls_search's curated catalog has no local-area entries, and constructing a LAUS series ID by hand requires a place → BLS area-code crosswalk (~8,000 US counties/metros/cities) that isn't something to guess at. bls_local_unemployment resolves the name against that crosswalk itself (bundled from BLS's la.area reference file), returns candidates when the name is ambiguous, and falls back to the county — saying so explicitly — when a city is below the LAUS city-reporting threshold.
Reading the response
bls_get_series returns each series newest first — the payload says so in
observation_order, so you don't have to infer the direction from the dates.
count is the number of points for that series, and BLS returns every point in
the requested year range, so it is never a total sitting beside a shorter list.
Auth
BLS API requires a free key from https://www.bls.gov/developers/. Without it, calls are throttled to ~25/day per IP. With a key, it's 500/day. Pass via _apiKey per call.
Series ID structure
BLS series IDs encode survey, area, sector, and data type. Examples:
| Series ID | What it is |
|---|---|
LNS14000000 | National unemployment rate (seasonally adjusted) |
CES0000000001 | Total nonfarm employment (national) |
CUUR0000SA0 | CPI all items, US city average, not seasonally adjusted |
LAUMT080000000000003 | Denver MSA unemployment rate |
WPSFD49207 | PPI for finished goods |
Don't try to construct national/state/industry IDs from scratch — use bls_search or
bls_popular_series. For LAUS local-area IDs (county/MSA/city) specifically, use
bls_local_unemployment({place, state?}) — it resolves the place name to the correct
area code for you.
Update cadence
| Data | Release timing |
|---|---|
| Employment situation (national + state) | First Friday of the month |
| CPI | Mid-month (around the 10th-15th) |
| PPI | Mid-month, day after CPI |
| Metro unemployment (LAUS) | ~3 weeks after the reference month |
| Productivity | Quarterly, ~5 weeks after quarter end |
Pipeworx caches BLS responses with TTLs aligned to release schedules.
Common pitfalls
Seasonal adjustment. Same series exists in seasonally-adjusted (SA) and not-seasonally-adjusted (NSA) variants. Check the series ID prefix (
LNS= SA,LNU= NSA). Mixing them is the most common analyst error.Annual averages vs monthly. Some IDs return only annual data; others return monthly. Read the metadata before plotting trends.
State and metro coverage. Not every series exists at every geography. Smaller metros have larger lags and more imputed values.
Inflation vs CPI. "Inflation" usually means CPI year-over-year change. To get YoY, request 13 months and compute, or use FRED's
CPIAUCSLwith thepc1units transformation (which does it for you).
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"bls": {
"url": "https://gateway.pipeworx.io/bls/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/bls/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 1855+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/bls_get_series \
-H 'Content-Type: application/json' \
-d '{"series_id":"LNS14000000"}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/bls_get_series. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
{
"mcpServers": {
"bls": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-bls"]
}
}
}Or run it directly to confirm it starts:
npx -y @pipeworx/mcp-blsIt speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Bls data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Lo que la gente pregunta sobre mcp-bls
¿Qué es pipeworx-io/mcp-bls?
pipeworx-io/mcp-bls es mcp servers para el ecosistema de Claude AI. BLS MCP — Bureau of Labor Statistics public data API (v2) Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-10-21.
¿Cómo se instala mcp-bls?
Puedes instalar mcp-bls clonando el repositorio (https://github.com/pipeworx-io/mcp-bls) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar pipeworx-io/mcp-bls?
Nuestro agente de seguridad ha analizado pipeworx-io/mcp-bls y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene pipeworx-io/mcp-bls?
pipeworx-io/mcp-bls es mantenido por pipeworx-io. La última actividad registrada en GitHub es del 2026-10-21, con 0 issues abiertos.
¿Hay alternativas a mcp-bls?
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.