About NS Pros Data API
NS Pros Data API unifies license-reviewed public data sources behind REST and MCP interfaces for developers and AI agents. It returns normalized records with source attribution and license details.
Key features
- 01Query multiple public data sources
- 02Normalized record format
- 03License and attribution in responses
- 04Filter catalog by category and country
- 05REST and MCP interfaces
Use cases
- 01Query Japan Meteorological Agency weather or earthquake data
- 02Retrieve World Bank economic indicators
- 03Find government and scholarly public data
- 04Call attributed, licensed data in agent workflows
MCP support
It provides an HTTP MCP server with tools for catalog search, querying an individual source, and checking usage. Clients use the same Bearer key as the REST API.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.nspros.ca/mcpclaude mcp add --transport http ocean1547-ui-nspros-data-api https://api.nspros.ca/mcp{"mcpServers":{"ocean1547-ui-nspros-data-api":{"type":"http","url":"https://api.nspros.ca/mcp"}}}Open in Cursor{"servers":{"ocean1547-ui-nspros-data-api":{"type":"http","url":"https://api.nspros.ca/mcp"}}}Open in VS Code{"mcpServers":{"ocean1547-ui-nspros-data-api":{"type":"http","url":"https://api.nspros.ca/mcp"}}}{"mcpServers":{"ocean1547-ui-nspros-data-api":{"serverUrl":"https://api.nspros.ca/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://api.nspros.ca/mcpAuth requiredTools
Details
From the project READMENS Pros Data API
The world's public data, one API.
Public data is scattered across thousands of government portals — every source with its own API style, response format, and license terms. NS Pros Data API normalizes license-cleared public data sources into one REST API and one MCP server, so developers and AI agents can query them all with a single key and a single response format.
- Catalog (no key needed): https://api.nspros.ca/v1/sources
- Product & signup: https://data.nspros.ca
- Docs: https://data.nspros.ca/docs · REST reference · MCP guide · OpenAPI spec · llms.txt
What's in the catalog
Weather, earthquakes, finance, health, business, science, and public records from sources including:
- Japan Meteorological Agency — forecasts and earthquake reports
- World Bank — worldwide economic indicators
- US National Weather Service and US Treasury Fiscal Data
- Government of Canada open data and provincial portals
- UK data.gov.uk / GOV.UK — including UK bank holidays
- Open data portals from Australia, New Zealand, Germany, Finland, Ireland, and Hong Kong, plus scholarly sources such as arXiv, Crossref, and DailyMed
New sources are added daily. Every source in the catalog is License Grade A: its license terms were reviewed and commercial redistribution is confirmed. Every response carries the source's attribution text automatically, so staying within the license terms is the default, not an afterthought.
Quickstart
1. Browse the catalog — no key required
curl "https://api.nspros.ca/v1/sources?category=finance&country=US"
2. Get a free API key
Sign up at https://data.nspros.ca/signup — a free-tier key is issued immediately, no card required. The same key works for REST and MCP.
3a. Query over REST
curl -H "Authorization: Bearer <key>" \
"https://api.nspros.ca/v1/query/uk_bank_holidays?q=2026"
Response shape (excerpt):
{
"source": {"name": "UK bank holidays (GOV.UK)", "id": "uk_bank_holidays"},
"license": "Open Government Licence v3.0 (OGL)",
"attribution": "Source: UK bank holidays (GOV.UK) — contains public sector information licensed under the Open Government Licence v3.0 (OGL).",
"query": "2026",
"cached": false,
"results": [
{"title": "...", "snippet": "...", "url": "..."}
]
}
Each result is a normalized record with title, snippet, and url fields,
whatever the original source's native format was.
Full reference: docs/rest-api.md · machine-readable spec: openapi.yaml
3b. Connect over MCP
Server URL: https://api.nspros.ca/mcp (streamable HTTP, same Bearer key)
Claude Desktop / Claude Code / Cursor — add to your MCP config
(mcpServers):
{
"mcpServers": {
"nspros-data": {
"url": "https://api.nspros.ca/mcp",
"headers": {
"Authorization": "Bearer <key>"
}
}
}
}
VS Code — uses a servers block instead:
{
"servers": {
"nspros-data": {
"type": "http",
"url": "https://api.nspros.ca/mcp",
"headers": {
"Authorization": "Bearer <key>"
}
}
}
}
Ready-to-copy files are in examples/.
MCP tools
| Tool | Description |
|---|---|
search_sources | Search the catalog by keyword, category, and country. |
query_source | Run a query against one source by source_id. Counts against your key's monthly quota. |
get_usage | Return your key's plan and current monthly usage. |
Details and JSON-RPC examples: docs/mcp.md
Pricing
| Plan | Price | Includes |
|---|---|---|
| Free | $0 | 1,000 requests/month, no card required |
| Pay as you go | $1.99 per 1,000 requests | Billed per thousand requests beyond the free tier |
Signing up currently issues a free-tier key immediately. Pay-as-you-go billing will be connected via Stripe in the next step; until then, no usage charges are billed.
Categories
weather_env · finance · health · business · science · general ·
immigration_life · library · vehicles
Filter the catalog with ?category= and ?country= (ISO country codes such
as US, CA, GB, JP).
License policy
Each source carries a license grade, shown in the catalog next to its license name and attribution text:
- Grade A — commercial redistribution confirmed. The only grade offered.
- Grade B — usable with your own upstream key (BYO). Planned, not offered yet.
- Grade C — internal use only. Not offered.
- Grade D — on hold pending license review. Not offered.
When you display or redistribute results, keep the attribution field that
comes with every response — it states the original source and its license.
The documentation and example code in this repository are MIT-licensed (see
LICENSE). Data returned by the API remains under each original
source's license, as stated in the response's license and attribution
fields.
Rate limits
- Per key: 120 requests/minute
- Per source: 30 requests/minute
- Responses are cached per source with a source-specific TTL, so repeated identical queries return faster.
Contact
NS Pros — Halifax, Nova Scotia, Canada [email protected] · https://nspros.ca · https://data.nspros.ca
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.