Spatial India

District-level open data for India — Census, NFHS-5, NCRB, RBI and more, joined onto one geography.

我该使用它吗

质量与安全性

A
描述质量
93%
模式完整度
98%
命名质量
93%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,226token 数(工具定义)
~1.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.96%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `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
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具
已验证未记录版本6 个工具