@jarib/pxweb-mcp
v2.0.0
Published
MCP server for accessing statistical data via the PxWeb API v2
Readme
pxweb-mcp
MCP server for accessing statistical data via the PxWeb API v2.
Quick Start
npx -y @jarib/pxweb-mcp
npx -y @jarib/pxweb-mcp --transport streamable-http --port 3000Known PxWeb v2 Instances
| Organization | URL |
|--------------|-----|
| Statistics Norway (SSB) | https://data.ssb.no/api/pxwebapi/v2 |
| Statistics Sweden (SCB) | https://statistikdatabasen.scb.se/api/v2 |
Use the --url option to connect to a different instance:
npx @jarib/pxweb-mcp --url https://statistikdatabasen.scb.se/api/v2Development
pnpm install
pnpm build
node build/index.jsConfiguration
{
"mcpServers": {
"pxweb": {
"type": "http",
"url": "http://localhost:3000/mcp"
}
}
}Links
License
MIT
