Spatial India
District-level open data for India — Census, NFHS-5, NCRB, RBI and more, joined onto one geography.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"spatial-india": {
"url": "https://api.spatialindia.com/mcp"
}
}
}원격 엔드포인트
https://api.spatialindia.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (6)
🟢find_indicator(query)
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",
"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."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_district(name, state, indicators)
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",
"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."
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢compare_districts(districts, indicators)
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",
"properties": {
"districts": {
"type": "array",
"items": {
"type": "string"
},
"description": "District names, \"Name, State\" where a name repeats, or objectids.",
"minItems": 2
},
"indicators": {
"type": "array",
"items": {
"type": "string"
},
"description": "Indicator ids from find_indicator. At most 5.",
"minItems": 1
}
},
"required": [
"districts",
"indicators"
],
"additionalProperties": false
}🟢rank_districts(indicator, scope, order, limit)
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",
"properties": {
"indicator": {
"type": "string",
"description": "One indicator id from find_indicator."
},
"scope": {
"type": "string",
"description": "A state name to rank within. Omit to rank every district of India."
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"description": "desc = highest value first. Defaults to desc."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many districts to return. Defaults to 20."
}
},
"required": [
"indicator"
],
"additionalProperties": false
}🟢get_methodology(indicator)
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
}🟢build_map_link(indicators, state, districts, view)
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",
"properties": {
"indicators": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or two indicator ids. A third is dropped.",
"minItems": 1
},
"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."
},
"view": {
"type": "string",
"enum": [
"scatter",
"ranking"
],
"description": "Open the scatter plot or the ranking panel alongside the map."
}
},
"required": [
"indicators"
],
"additionalProperties": false
}커뮤니티
증거