← Back to News
statsmapped-mcp 0.1.0

statsmapped-mcp 0.1.0

statsmapped-mcp · PyPI Skip to main content Switch to mobile version Warning Some features may not work without

JavaScript. Please try enabling it if you encounter problems. Search PyPI Search Help Docs Log in Register Help Docs Log

in Register Deutsch English español Esperanto français português (Brasil) Ελληνικά русский

українська עברית 中文 (简体) 中文 (繁體) 日本語 한국어 Search PyPI Search statsmapped-mcp

0.1.0 MCP server exposing StatsMapped's public data API for Ireland and the UK (housing, crime, health, economy,

social welfare, by county/local authority) as tools for AI agents. pip install statsmapped-mcp==0.1.0 Copy PIP

instructions Description Release files Release history statsmapped-mcp An MCP server exposing StatsMapped's public API

as tools for AI agents (Claude Desktop, Cursor, and any other MCP client). StatsMapped tracks public data for Ireland

(by county) and the UK (by local authority) — housing, crime, health, the economy and social welfare — from official

publishers (CSO, PSRA, Central Bank of Ireland, DHLGH, NTPF, the Office of Government Procurement, EU Publications

Office for Ireland; ONS/HM Land Registry/Nomis/DfE/DfT for the UK), each figure carrying its own caveats. This package

lets an agent query that data directly as tool calls instead of crawling and parsing web pages. Every tool below takes a

country argument ("ireland" or "united-kingdom", default "ireland") — the two countries track genuinely different

datasets and geography levels, so call list_datasets/list_areas for the country you actually want rather than assume

Ireland's defaults apply. This is a thin client. It calls StatsMapped's already-public, unauthenticated HTTPS API

(documented at statsmapped.com/openapi.json); no API key is needed for anything below. Runs on your own machine over

stdio by default (the recommended way to use it today) -- see Why stdio for a hosted streamable-http mode this package

also supports, and the real tradeoff that comes with it. Install Not yet published to PyPI. Once it is, install will be:

pip install statsmapped-mcp Configure Add to your MCP client's config (for Claude Desktop, claude_desktop_config.json;

Cursor uses an equivalent mcp.json): { "mcpServers": { "statsmapped": { "command": "statsmapped-mcp" } } } Tools Every

tool takes a country argument ("ireland" or "united-kingdom", default "ireland") — Ireland and the UK track different

datasets and geography levels, so call list_datasets/ list_areas for the country you want rather than assume Ireland's

defaults apply. list_datasets(country="ireland") — every stat StatsMapped tracks for one country, with its key, label,

and which geography levels it's published at. Start here. list_areas(level="county", country="ireland") — every

geography at one boundary level. level defaults to Ireland's 26 counties; the UK's own primary level is "lad" (local

authority districts), not "county" — other levels exist per country too (Ireland's local_authority/garda_division

among them). list_area_datasets(area_id, country="ireland") — every dataset available for one area (e.g.

"county:kerry" for Ireland, "uk:lad:e09000033" for the UK), with its latest figure and year-on-year change. Caveats are

projected to label + severity only, not full text — the point is deciding which datasets matter before paying for the

full detail on any one of them. get_dataset_for_area(area_id, dataset, history_months=0, country="ireland") — full

detail on one dataset in one area: a written summary, full caveat text, and (optionally) recent history.

rank_areas(stat_key, level="county", country="ireland") — every area at one level, ranked by its latest figure for one

stat, highest first. list_comparisons(country="ireland") — every registered cross-dataset comparison pair for one

country (e.g. "median sale price vs new dwelling completions per 1,000 residents"). A small, hand-curated set, not an

arbitrary-pair engine. get_comparison(pair_key, country="ireland") — full detail for one registered pair: each axis's

label/unit/publisher, the correlation stats (r, rho, a leave-one-out sensitivity range), and caveats. pair_key comes

from list_comparisons(country=...) for the same country. check_comparability(stat_key_a, stat_key_b, country="ireland")

— does StatsMapped have a registered, hand-vetted comparison between these two stats? Registry-backed only — never

computes a fresh correlation for an arbitrary pair; comparable: false is a normal result for most pairs, not an error.

explain_metric(stat_key, country="ireland") — definition, methodology and standing caveats for one stat, never a

current figure. Use this when the question is about what a metric means or how it's measured, not about one area's

value. Why stdio, not a hosted server, by default StatsMapped runs on a single free-tier instance. A remote MCP endpoint

hosted there would let an agent's own multi-area query pattern (calling the same tool once per area, in a loop)

reproduce exactly the load pattern that has already caused timeouts on that instance under a large geography fan-out.

Running over stdio means every call goes through your own network connection to the same public HTTPS API this package's

tools call directly, with no shared bottleneck -- each user's own machine makes the HTTP calls, so N users' traffic is

naturally spread across N source IPs, not funnelled through one. server.py also supports a real hosted streamable-http

mode (MCP_TRANSPORT=streamable-http) for a deployment that accepts that tradeoff -- StatsMapped's public API is itself

rate-limited per source IP (600 requests/hour), but a hosted MCP endpoint proxies every remote user's calls through ONE

shared egress IP, so all remote users of a hosted endpoint would share that one bucket rather than each getting their

own. A StatsMapped-hosted endpoint is live at https://mcp.statsmapped.com (Streamable HTTP) -- confirmed responding

correctly, no separate install needed for a client that speaks Streamable HTTP directly. Development pip install -e .

python tests/test_client.py The test suite runs against the real live API (https://statsmapped.com by default, or

STATSMAPPED_MCP_BASE_URL if set) — read-only GETs only, nothing here writes any data or needs a key. Releasing

Publishing to PyPI happens automatically via .github/workflows/publish.yml on creating a GitHub Release — no API token

is stored anywhere. It uses PyPI's Trusted Publishing (OIDC): PyPI is told, once, to trust this exact repo + workflow

file + GitHub environment (pypi) combination, via PyPI's own "Publishing" settings page under this project. To release:

bump version in pyproject.toml, commit, then draft a GitHub Release with a matching tag (e.g. v0.2.0). Licence MIT for

this package. The underlying data keeps each publisher's own licence — see statsmapped.com/ireland/sources for

Ireland's own publisher/licence detail before reusing any figure outside of querying it through an agent (a UK

equivalent page doesn't exist yet — check each UK tool response's own caveats/sources fields in the meantime). Project

links Data verified by PyPI on Sep 20, 2026 Data provided by the project maintainers, verified at the time the release

was uploaded to PyPI. Source API docs Homepage Key dates PyPI data Data sourced directly from PyPI's database. Released:

Sep 20, 2026 Latest release 1 maintainer PyPI data Data sourced directly from PyPI's database. Active.Guy01 Credits

Author: StatsMapped GitHub Statistics Data verified by PyPI on Sep 20, 2026 The GitHub source repository was

provided by the project maintainers and verified by PyPI at the time of upload. Stars, forks, and open issues/PRs are

derived from that repository and have not been independently verified. Repository Stars: Forks: Open issues: Open PRs:

License MIT License (MIT) Requires Python >=3.10 Tags ireland mcp model-context-protocol open-data statistics uk

united-kingdom Classifiers Development Status 3 - Alpha Intended Audience Developers License OSI Approved :: MIT License

Programming Language Python :: 3 Topic Software Development :: Libraries :: Python Modules Report project as malware

Release files for statsmapped-mcp 0.1.0 For a detailed explanation of source distributions (sdists) and built

distributions (wheels), please see the package formats documentation. Source distribution (sdist) Source distribution

for statsmapped-mcp 0.1.0 File Size Uploaded statsmapped_mcp-0.1.0.tar.gz 18.8 kB Sep 20, 2026 Details Built

distribution (wheel) Table of built distributions (wheels) for statsmapped-mcp 0.1.0 File Interpreter ABI Platform Reset

statsmapped_mcp-0.1.0-py3-none-any.whl 17.1 kB Sep 20, 2026 Python 3 none any Details Total release size: 35.9 kB

Release files / statsmapped_mcp-0.1.0.tar.gz Download URL statsmapped_mcp-0.1.0.tar.gz Size 18.8 kB Tags Source SHA-256

checksum How to use checksums 171aa4faa8948db2f1a55d65c61973cd458a158cf5dd3419b6127d6073bbff4e BLAKE2b-256 checksum How

to use checksums 8dc5c0d93c66426fd882f3d3d2ab4312f04815f32f4dbc2738d1f11fbe9ab9dc Upload date Sep 20, 2026 Uploaded

using Trusted Publishing? What is trusted publishing? Yes Uploaded via twine/7.0.0 CPython/3.13.14 Provenance Provenance

describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of

the build or publishing details. View details, limitations and caveats. PyPI Publish Attestation PyPI verified that this

artifact, at this checksum, originated from the publisher listed below. Signed by GitHub Actions, verified by PyPI on

Sep 20, 2026. Transparency log Identity Publishing platform GitHub Actions Publishing repository

github.com/ActiveGuy/statsmapped-mcp Publishing commit

github.com/ActiveGuy/statsmapped-mcp/tree/87817a988190792572ab3f2fc55adf3b3775c8d9 Workflow Publishing configuration

github.com/ActiveGuy/statsmapped-mcp/blob/87817a988190792572ab3f2fc55adf3b3775c8d9/.github/workflows/publish.yml

Publishing logs github.com/ActiveGuy/statsmapped-mcp/actions/runs/35491212710/attempts/2 Artifact Subject

statsmapped_mcp-0.1.0.tar.gz SHA-256 checksum 171aa4faa8948db2f1a55d65c61973cd458a158cf5dd3419b6127d6073bbff4e Verifying

attestations Release files / statsmapped_mcp-0.1.0-py3-none-any.whl Download URL statsmapped_mcp-0.1.0-py3-none-any.whl

Size 17.1 kB Tags Python 3 SHA-256 checksum How to use checksums

f7e62f8c5514ef2d03e4b2e3b54fae8c4ce5276f9cffa57d6595330451b0cfe6 BLAKE2b-256 checksum How to use checksums

53da0f2c401fb77bb26e44ac90230e0d2e6fc8d66d8cacbcd5e3b81ba534797b Upload date Sep 20, 2026 Uploaded using Trusted

Publishing? What is trusted publishing? Yes Uploaded via twine/7.0.0 CPython/3.13.14 Provenance Provenance describes

where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build

or publishing details. View details, limitations and caveats. PyPI Publish Attestation PyPI verified that this artifact,

at this checksum, originated from the publisher listed below. Signed by GitHub Actions, verified by PyPI on Sep 20,

2026. Transparency log Identity Publishing platform GitHub Actions Publishing repository

github.com/ActiveGuy/statsmapped-mcp Publishing commit

github.com/ActiveGuy/statsmapped-mcp/tree/87817a988190792572ab3f2fc55adf3b3775c8d9 Workflow Publishing configuration

github.com/ActiveGuy/statsmapped-mcp/blob/87817a988190792572ab3f2fc55adf3b3775c8d9/.github/workflows/publish.yml

Publishing logs github.com/ActiveGuy/statsmapped-mcp/actions/runs/35491212710/attempts/2 Artifact Subject

statsmapped_mcp-0.1.0-py3-none-any.whl SHA-256 checksum f7e62f8c5514ef2d03e4b2e3b54fae8c4ce5276f9cffa57d6595330451b0cfe6

Verifying attestations Release history Release notifications | RSS feed This release 0.1.0 This release Sep 20, 2026 2

release files PyPI Developed and maintained by the Python Software Foundation and Python community, for the Python

community. Status: all systems operational Donate today! Help Installing packages Uploading packages User guide Project

name retention FAQs About PyPI PyPI Blog Infrastructure dashboard Statistics Logos & trademarks Our sponsors

Contributing to PyPI Bugs and feedback Contribute on GitHub Translate PyPI Sponsor PyPI Development credits Using PyPI

Terms of Service Report security issue Code of conduct Privacy Notice Acceptable Use Policy Switch to desktop version

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary

sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and

Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation. ©

2026 Python Software Foundation Site map Deployed from 4e5b9b6

Source: pypi.org