Skip to content
mcp/skillhub

Spain Open Data MCP Server

by digvijaysingh-aiio.github.digvijaysingh-ai/spain-open-data-mcpv0.1.4

Market sizing, prices, rents, crime and locations in Spain from INE and other public data

0Pythonstdioremoteofficial registry

context tax

~4,561 tok/turn13 tools

security

97/100

cold start

pending

freshness

Activetoday

Our reading of Spain Open Data, from the data

Spain Open Data is an MCP server from digvijaysingh-ai, listed in the official MCP Registry.

Its 13 tools add about 4,561 tokens to every model turn (measured 2026-10-19).

Maintenance is active: the last public signal was in the last day (2026-10-18).

It runs either locally over stdio or as a hosted endpoint.

Install Spain Open Data MCP server

Install in Claude Code

claude mcp add spain-open-data -- uvx spain-open-data-mcp

Remote endpoints

  • streamable-httphttps://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp

Context tax

Connecting this server adds ~4,561 tokens of tool definitions to every model turn (moderate, 13 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$18.24$0.912
Claude Sonnet 5.5$9.12$0.912
Claude Haiku 5.5$0.456—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (13)

  • businesses633 tok

    Count businesses of a kind in a place in Spain, per 10,000 residents and per km², from OpenStreetMap. Use it to size competition and supply: how many gyms, cafés or dentists an area has, how that compares with the province, region and Spain, which brands dominate, and which districts or tracts are over- or under-served (rank sub-areas by per_10k_residents). Counts are lower bounds because OpenStreetMap is mapped by volunteers; where INE's company directory covers the same activity, the result says how complete the map looks in that region. Returns counts and brands onl

  • market_size459 tok

    Size the yearly market for a business category in a place in Spain, in euros, with a range. Market = households × INE household spending on the category × an income adjustment. Supply = competing businesses, calibrated against INE's company directory. Returns market per business and an opportunity score: market per business against the region (1.0 = same as the region), not a forecast of openings. Every assumption is listed. Assumptions can be overridden to test scenarios. Use for "how big is the market for X in Y" and "is Y under-served for X".

  • price_band370 tok

    Suggest a price range for a place from local purchasing power and inflation. Public data has no competitor prices, so this adjusts a price you know (from elsewhere or an earlier date) to this place today: CPI for the category's group since that month, then local median income per consumption unit against the reference place. Returns a range from no local adjustment to full adjustment, labelled as an estimate.

  • income362 tok

    Household income for a place in Spain from INE's income atlas, down to census tract. Returns net and gross income per person and per household, mean and median per consumption unit, inequality (Gini, P80/P20), income sources (wages, pensions, benefits), a trend, and benchmarks against the province, region and Spain. Use it for purchasing power, price positioning and choosing between districts. Figures are euros of the data year; the atlas runs about two years behind.

  • compare_areas332 tok

    Rank areas by market per competing business for a category (the opportunity score). Each area gets a yearly market in euros, estimated competing businesses and an opportunity score against its region, all with ranges. Areas are ranked by the cautious (low) end of the score; areas too small for the category are left out and counted. Use for "where in Valladolid should I open a gym" or "which towns in Málaga province lack pharmacies".

  • catchment320 tok

    Profile the area within a radius (or a walking time) of an address: residents, households, income, age, and the businesses mapped there. With a category, also the yearly market in euros, competing businesses and an opportunity score against the region. Use for "who lives within 800 m of this shop" or "is there room for a bakery near Calle X". Addresses are checked against the municipality they name; ambiguous ones are refused with suggestions.

  • chart315 tok

    Draw a chart (PNG) of a tool result: an opportunity ranking with ranges, income by district, an age pyramid or a population trend. Returns the image, the same text and sources as the underlying tool, and a source line on the image. If drawing fails the text still comes back.

  • demographics307 tok

    Population, sex, five-year age bands, 5-year trend, and household profile for a place in Spain. Municipality, province and CCAA: census population by age band (latest 1 January), cross-checked against the official Padrón figure. District and tract: census age bands and sex from INE's file by census tract. Municipality, district and tract: household size, single-person households, mean age, share under 18 and 65+ from INE's income atlas. Use sub_areas to compare a city's districts or tracts, e.g. to find where young families or older residents concentrate.

  • resolve_place229 tok

    Find the INE code and level (CCAA, province, municipality, district, tract) for a place in Spain. Use this first when a question names a place. Returns the best match first, with alternatives (e.g. 'Valencia' is both a city and a province). Handles accents, Basque, Catalan and Galician names, and common English names (Seville, Catalonia). Districts and tracts are shown with the OpenStreetMap neighbourhood names inside them ('Valladolid distrito 10 (Parquesol, Girón, La Victoria)'), and a neighbourhood name ('Parquesol, Valladolid', 'Gràcia, Barcelona') returns the INE

  • crime219 tok

    Recorded crime in a place from the Interior ministry: offences by type (theft, burglary, robbery, assault, drugs, cybercrime and more) for the latest full year, per 1,000 residents, the change on the year before, the latest year-to-date figures, and province, region and Spain for comparison. Published for municipalities over 20,000 residents, provinces and regions; smaller places get the province's figures, and the result says so.

  • find_datasets213 tok

    Search Spain's national open-data catalogue (datos.gob.es) for datasets on a topic. Returns each dataset's title, publisher, licence, file formats, update frequency and last change, and an id to pass to read_dataset. Use when a question needs data this server does not hold directly (parking, licences, local events, tourist offices, transport).

  • rents205 tok

    How housing rents have changed in a place: INE's rent index (IPVA, 2015 = 100) with the change over the last year, five years and since 2015, against province, region and Spain. Covers municipalities over 10,000 residents, districts of provincial capitals, provinces and regions (not the Basque Country or Navarra). Gives changes, not rents in euros.

  • read_dataset176 tok

    Read a datos.gob.es dataset: its columns and up to 20 sample rows, with its licence. Reads CSV and JSON files listed in the catalogue (the first 5 MB). Columns that look like personal data (names, ID numbers, emails, phones) are withheld. Values are shown as the publisher published them.

Security signals

97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No security policy (SECURITY.md)-3

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI. Scoring rules

Freshness

Active — last maintenance signal today. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-18 · today · GitHub

  2. Latest release

    2026-10-16 · 2d ago · GitHub · walk-v1

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-17 · 1d ago · official registry · v0.1.4

FAQ

›How do I install the Spain Open Data MCP server in Claude Code?

Run: claude mcp add spain-open-data -- uvx spain-open-data-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Spain Open Data require an API key?

No required environment variables are declared in its published metadata.

›Can I use Spain Open Data as a remote (hosted) MCP server?

Yes — it offers both a hosted endpoint and a local stdio package.

›Is Spain Open Data in the official MCP registry?

Yes, as io.github.digvijaysingh-ai/spain-open-data-mcp.

›How many tokens does Spain Open Data add to my context?

Its tool definitions total about 4,561 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-10-17
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.