Skip to content

reapbenefit/samaajdata_mcp

Repository files navigation

Samaajdata MCP Server

MCP server for connecting to data from Samaajdata.

Setup

  • Install virtual environment
python -m venv venv
  • Activate virtual environment
source venv/bin/activate
  • Install dependencies
pip install -r requirements.txt
  • Copy .env.example to .env and fill in the empty values.

Running the server

python init.py
python server.py

To access the server, go to http://localhost:8000/sse/

Running Inspector for debugging:

mcp dev server.py

Running the agent API locally

uvicorn agent:app --reload --port 8004

To access the agent API docs, go to http://localhost:8004/docs

Running the agent API on production

uvicorn agent:app --reload --port 8004 --host 0.0.0.0

To access the agent API docs, go to http://localhost:8004/agent/docs

Staging

Dev MCP server: https://dev.mcp.samaajdata.org/sse Dev Agent API: https://dev.agent.samaajdata.org/

Production

Prod MCP server: https://mcp.samaajdata.org/sse Prod Agent API: https://agent.samaajdata.org/

About

India's first social-sector MCP server for Samaaj Data platform by ReapBenefit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages