MCPサーバー

Spatial India

com.spatialindia/spatial-india
データ・分析 地図・位置情報 公開・接続可能 MCP 2026-07-28

このMCPでできること

Queries, compares, ranks, and maps district-level indicators for India with methodology and source information.

build_map_link
Build a map link
Use to end an answer with a link the user can open — after any ranking, comparison or district lookup, and whenever they ask to see, map or visualise something. Returns a spatialindia.com/app URL showing exactly those indicators. One indicator draws a choropleth, two draw a bivariate map; a third cannot be expressed in a link and is reported back as dropped.
読み取り専用
入力スキーマ
{'type': 'object', 'required': ['indicators'], 'properties': {'view': {'enum': ['scatter', 'ranking'], 'type': 'string', 'description': 'Open the scatter plot or the ranking panel alongside the map.'}, 'state': {'type': 'string', 'description': 'A state name to zoom the map to.'}, 'districts': {'type': 'array', 'items': {'type': 'string'}, 'description': 'District names or objectids to pin. One district also opens its profile.'}, 'indicators': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 1, 'description': 'One or two indicator ids. A third is dropped.'}}, 'additionalProperties': False}
compare_districts
Compare districts
Use when the question names two or more places and asks how they differ — "compare Pune and Nagpur on literacy and bank credit". One call, not one get_district per district. Write an ambiguous name as "Bilaspur, Chhattisgarh".
読み取り専用
入力スキーマ
{'type': 'object', 'required': ['districts', 'indicators'], 'properties': {'districts': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 2, 'description': 'District names, "Name, State" where a name repeats, or objectids.'}, 'indicators': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 1, 'description': 'Indicator ids from find_indicator. At most 5.'}}, 'additionalProperties': False}
find_indicator
Find an indicator
Use FIRST, before any other tool, whenever a question names a subject rather than an indicator id — "stunting", "land inequality", "bank credit". Returns matching indicator ids with their unit, source, vintage, caveat and district coverage. Every other tool needs an id from here; ids are not guessable and inventing one fails.
読み取り専用
入力スキーマ
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'description': 'Plain words describing the subject. Every word must appear somewhere in the indicator — prefer two or three words ("child stunting", "land inequality") over a sentence.'}}, 'additionalProperties': False}
get_district
Get one district
Use when the question is about one named place — "tell me about Bilaspur", "what is Pune's literacy rate". Resolves an Indian district name, including common alternative spellings, to its objectid and returns its values. Four district names are shared by two states, so if the name is ambiguous this returns every match with its state and no data: ask the user which one, then call again with `state`.
読み取り専用
入力スキーマ
{'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'description': 'District name, an alternative spelling, or an objectid.'}, 'state': {'type': 'string', 'description': 'State name. Supply this only to disambiguate a repeated district name.'}, 'indicators': {'type': 'array', 'items': {'type': 'string'}, 'description': "Indicator ids from find_indicator. Omit to get the district's full profile — every published indicator in one call, which is usually what you want."}}, 'additionalProperties': False}
get_methodology
Get methodology and citation
Use whenever the answer will state a number to a user, and always when asked how a figure was produced, how old it is, or whether it can be trusted. Returns the source, vintage, definition, caveat, estimation method, licence attribution and the citation string for one indicator, or for the dataset as a whole when no indicator is given. Do not describe a number as measured or estimated without checking here — each district carries its own `estimated` flag.
読み取り専用
入力スキーマ
{'type': 'object', 'properties': {'indicator': {'type': 'string', 'description': 'An indicator id. Omit for the dataset-wide vintage, sources and citation.'}}, 'additionalProperties': False}
rank_districts
Rank districts
Use for best/worst/highest/lowest questions over many districts — "worst 20 districts for child stunting in Uttar Pradesh". Check the indicator's `polarity` in the result before calling a tail "worst": for a higher-worse indicator the worst districts are `order: "desc"`, for higher-better they are `order: "asc"`. Districts the source never covered sort last in both directions and are never presented as an extreme.
読み取り専用
入力スキーマ
{'type': 'object', 'required': ['indicator'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'How many districts to return. Defaults to 20.'}, 'order': {'enum': ['asc', 'desc'], 'type': 'string', 'description': 'desc = highest value first. Defaults to desc.'}, 'scope': {'type': 'string', 'description': 'A state name to rank within. Omit to rank every district of India.'}, 'indicator': {'type': 'string', 'description': 'One indicator id from find_indicator.'}}, 'additionalProperties': False}
追加
build_map_link
2026年9月17日12:37
追加
get_methodology
2026年9月17日12:37
追加
rank_districts
2026年9月17日12:37
追加
compare_districts
2026年9月17日12:37
追加
get_district
2026年9月17日12:37
追加
find_indicator
2026年9月17日12:37