L'Atlas / MCP servers / Spain Open Data
MCP server

Spain Open Data

io.github.digvijaysingh-ai/spain-open-data-mcp

MCP server OK 13 tools

Get a review See pricing

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

Technical sheet

Author
digvijaysingh-ai (registry namespace)
Repository
github.com/digvijaysingh-ai/spain-open-data-mcp
Site
digvijaysingh-ai.github.io/spain-open-data-mcp
Version
0.1.4
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp Streamable HTTP
Packages
spain-open-data-mcp 0.1.4 pypi stdio
Tools
13
Categories
Commerce and marketing
Last updated
17 Oct 2026
Published
17 Oct 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.digvijaysingh-ai/spain-open-data-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp"><img src="https://latlas.dev/badge/fiche/io.github.digvijaysingh-ai/spain-open-data-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp
Last result
OK 28 Nov 2026, 10:39
Response time
161 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
spain-open-data 0.1.4
Tools
13

History

DateResultResponseTools
28 Nov 2026, 10:39OK161 ms13

Exposed tools (13, from tools/list, 28 Nov 2026)

resolve_place

Resolve a Spanish place

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 district that contains it.

ParameterTypeRequiredDescription
querystringyesPlace name or INE code, e.g. 'A Coruña', 'Mérida, Badajoz', '08'.

demographics

Population and households

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.

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
sub_areasenum: "none" | "district" | "tract"noFor a municipality, also list its 'district's or census 'tract's. Default 'none'.

income

Household income

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.

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
sub_areasenum: "none" | "district" | "tract"noFor a municipality, rank its 'district's or census 'tract's. Default 'none'.
rank_byenum: "net_income_per_person" | "net_income_per_household" | "median_income_per_consumption_unit"noMetric used to rank sub-areas.
yearsintegernoYears of history for the trend (max 9).

businesses

Businesses and competitors

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 only, never lists of individual premises.

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
categorystring | nullnoWhat to count. A category: restaurant, fast_food, cafe, bar, ice_cream, nightclub, supermarket, convenience, bakery, butcher, greengrocer, drinks_tobacco, clothes, pharmacy, optician, beauty_shop, jewellery, florist, pet_shop, electronics, home, books_leisure, variety_store, hairdresser, beauty_sal…
sub_areasenum: "none" | "district" | "tract"noFor a municipality, also count by 'district' or census 'tract'. Default 'none'.
rank_byenum: "count" | "per_10k_residents" | "per_km2"noHow to rank sub-areas: 'count', 'per_10k_residents' or 'per_km2'.

market_size

Market size in euros

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".

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
categorystringyesBusiness category: restaurant, cafe, bar, fast_food, bakery, butcher, greengrocer, supermarket, pharmacy, optician, dentist, physiotherapy, hairdresser, beauty_salon, veterinary, gym, childcare, private_school, clothes, home. Plain words work too ('gyms', 'peluquerías').
spend_per_householdnumber | nullnoOverride INE's yearly spend per household on the category, in euros.
capture_sharenumber | nullnoShare of the market one business could win (0-1), to estimate obtainable revenue.
competitorsnumber | nullnoOverride the estimated number of competing businesses.

compare_areas

Compare areas for a business

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".

ParameterTypeRequiredDescription
withinstringyesA municipality (compares its districts or tracts) or a province or region (compares its municipalities).
categorystringyesBusiness category: restaurant, cafe, bar, fast_food, bakery, butcher, greengrocer, supermarket, pharmacy, optician, dentist, physiotherapy, hairdresser, beauty_salon, veterinary, gym, childcare, private_school, clothes, home. Plain words work too ('gyms', 'peluquerías').
levelenum: "auto" | "municipality" | "district" | "tract"no'district' or 'tract' within a municipality; 'municipality' within a province or region.
limitintegernoHow many areas to return, best first.

catchment

Catchment around an address

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.

ParameterTypeRequiredDescription
nearstringyesAddress as 'street number, municipality' (e.g. 'Calle Sierpes 40, Sevilla'), or coordinates as 'lat, lon'. Floor and door are ignored and never stored.
radius_mintegernoRadius in metres (e.g. 500, 800, 1500).
categorystring | nullnoOptional business category, to add market size and opportunity score.
walk_minutesinteger | nullnoUse the area reachable on foot in this many minutes instead of a circle.

price_band

Price range for a place

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.

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
reference_pricenumberyesPrice elsewhere, in euros, e.g. 39.9 for a monthly gym fee.
categorystring | nullnoMarket category, to uprate with its own CPI group (e.g. 'gym', 'restaurant').
price_monthstring | nullnoMonth the reference price applied, YYYY-MM, to uprate it to today.
reference_placestringnoWhere the reference price applies: 'ES' (Spain, default) or a place.

chart

Chart

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.

ParameterTypeRequiredDescription
kindenum: "opportunity" | "income" | "age_pyramid" | "population_trend"yes'opportunity' (needs category; ranks areas within the place), 'income' (by district or tract), 'age_pyramid' or 'population_trend'.
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.
categorystring | nullnoBusiness category, for kind 'opportunity'.
sub_areasenum: "district" | "tract"noFor 'income': districts or tracts.

rents

Rents

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.

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.

crime

Crime

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.

ParameterTypeRequiredDescription
placestringyesPlace name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns.

find_datasets

Find open datasets

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).

ParameterTypeRequiredDescription
querystringyesTopic; Spanish works best, e.g. 'turismo', 'aparcamiento', 'licencias'.
placestring | nullnoOptional place; datasets about it are preferred.
limitintegernoHow many datasets to return.

read_dataset

Read an open dataset

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.

ParameterTypeRequiredDescription
dataset_idstringyesAn id from find_datasets.
file_indexinteger | nullnoWhich file of the dataset (from 0); default: the first CSV or JSON.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http spain-open-data-mcp https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : spain-open-data-mcp ; URL : https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : spain-open-data-mcp ; Server URL : https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "spain-open-data-mcp": {
      "url": "https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "spain-open-data-mcp": {
      "type": "http",
      "url": "https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "spain-open-data-mcp": {
      "url": "https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "spain-open-data-mcp": {
      "httpUrl": "https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.spain-open-data-mcp]
url = "https://spain-open-data-mcp-165703905656.europe-west1.run.app/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Spain Open Data · L’Atlas · Tested on

Markdown
[Spain Open Data — L’Atlas](https://latlas.dev/en/mcp/io.github.digvijaysingh-ai/spain-open-data-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.