Analytics
bharatviz.org
Provides tools for exploring and visualizing India's geographic and administrative map data.
ENDPOINT 1
https://bharatviz.org/api/mcp
Known tools 37
list_available_mapsLists all available India map layers — boundaries AND data layers.
list_statesLists all state and union territory names available in a given map boundary set.
list_districtsLists all districts available in a given district-level map boundary set.
render_states_mapRenders a choropleth map of India at the state level.
render_districts_mapRenders a choropleth map of India at the district or sub-district level.
get_csv_templateReturns a CSV template for a given map boundary set.
list_demosLists all available showcase demo datasets (NFHS-5 health indicators and IHME AMR estimates).
get_demo_urlGenerates a shareable BharatViz URL for a given demo dataset.
list_pincode_statesLists all 38 Indian states and union territories that have pincode boundary data.
pincode_centroidResolve a single pincode to its centroid coordinates plus the district and state it falls in.
list_pincodesLists pincodes (postal codes) for a given Indian state, district, or all of India.
render_pincodes_mapRenders a pincode-level choropleth map of India.
list_citiesLists all available Indian cities with ward/zone boundary data.
list_wardsLists all ward names for a given city.
render_city_mapRenders a ward-level choropleth map for an Indian city.
locatePoint-in-polygon lookup: given a latitude and longitude, returns the containing administrative unit(s) from one or more BharatViz map layers.
query_layerFilter and aggregate features in any registered BharatViz map layer.
spatial_joinSpatial join: find all features from a TARGET layer that fall inside a boundary selected from a BOUNDARY layer.
nearbyFind features within a given radius (km) of a center point, across one or more map layers.
centroidCentroid (lat/lon) of any feature in any layer — district, state, constituency, ward, pincode, point, or polygon.
get_areaCompute area in km² for one or more features in a polygon map layer.
get_layer_detailReturns the raw data download URL(s) for any registered BharatViz map layer.
trace_district_evolutionTraces how a district's administrative boundaries evolved across Census years (1951-2011).
list_historical_district_namesLists all district names that appear in the Census transition data (1951-2011).
layer_schemaDescribes the schema of any registered BharatViz map layer: which columns are numeric (with min/max/mean), which are categorical (with unique-value count and sample), and which are free-text identifiers.
summarize_layerCompute descriptive statistics (count, min, max, mean, median, p10, p25, p75, p90, stddev, sum) for one or more numeric columns in any registered map layer.
rank_featuresSort features in any map layer by a numeric column and return the top or bottom N.
correlateCompute Pearson and Spearman correlation between two numeric columns across features.
compare_groupsCompare named groups of features side-by-side on numeric columns.
find_similarFind the K features most similar to a reference feature using Z-score normalized Euclidean distance across a multi-column metric vector.
aggregate_by_boundaryCount (and optionally sum/mean/min/max) target-layer features inside each boundary polygon.
proximity_coverageBulk nearest-distance + within-radius coverage: for EACH source feature, returns the nearest target feature, its distance (km), whether it is within radiusKm, and how many targets fall within radiusKm (a density metric).
join_layersJoin numeric columns from two map layers by matching feature names.
city_layer_schemaDescribes the schema (columns, types, ranges) of a city ward dataset.
summarize_city_layerCompute descriptive statistics for numeric columns in a city ward dataset.
rank_city_featuresSort ward features in a city dataset by a numeric column and return the top or bottom N.
list_categoriesLists all available BharatViz map layers grouped by category.