Spatial India

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
93%
Integridad del esquema
98%
Calidad de los nombres
93%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,226Tokens (definiciones de herramientas)
~1.2 KBTamaño de respuesta típico
Impacto moderado en la atención (0.96% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "spatial-india": {
      "url": "https://api.spatialindia.com/mcp"
    }
  }
}

Puntos de conexión remotos

https://api.spatialindia.com/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (6)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢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.

Esquema de entrada

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

Esquema de entrada

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

Esquema de entrada

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

Esquema de entrada

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

Esquema de entrada

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

Esquema de entrada

{
  "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
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada6 herramientas
verificadoversión no registrada6 herramientas