mospi.gov.in
MoSPI is India’s Ministry of Statistics and Programme Implementation. It publishes official statistical data and related data-access tools, including APIs, an MCP server, and a Python client for microdata access.
MoSPI exposes a public streamable-HTTP MCP server, a token-authenticated HTTP API platform at api.mospi.gov.in for statistics data, and a Python package for the Unitdata portal that uses a portal-issued API key.
- MoSPI MCP Serverdiscovered
- MoSPI API Platformdiscovered
- mospi-unitdata CLI/Librarydiscovered
Go to the MoSPI API Platform and use the User Registration flow (/api/users/usersignup) to create an account with your email and password. Then call the login endpoint described in the CPI API User Manual or WPI API User Manual to obtain a token; the CPI manual says this access token is valid for 15 minutes.
$ pass the API key as the first argument to library functions such as `list_datasets("YOUR_API_KEY")`Acquired by the CLI — running pass the API key as the first argument to library functions such as `list_datasets("YOUR_API_KEY")` opens the auth flow and stores the credential.
conventions · 0/8 published
- integrations.json✗
/.well-known/integrations.json - llms.txt✗
/llms.txt - API catalog✗
/.well-known/api-catalog - OpenAPI document✗
/api/schema/, /openapi.json, /swagger.json, /api/openapi.json, or /v1/openapi.json - MCP server card✗
/.well-known/mcp/server-card.json - OAuth protected resource✗
/.well-known/oauth-protected-resource - Agent card✗
/.well-known/agent-card.json - Agent skills✗
/.well-known/agent-skills/index.json
Publish these signals → /publishing