bahmni-mcp
bahmni-mcp
MCP server for Bahmni — exposes the OpenMRS/Bahmni REST API as tools that Claude can call directly.
Prerequisites
Install uv if you don't have it:
curl -LsSf https://astral.sh/uv/install.sh | shSetup
Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"bahmni": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/lingeswaranTW/bahmni-mcp-server.git",
"bahmni-mcp"
],
"env": {
"BAHMNI_URL": "https://your-bahmni-instance/openmrs/ws",
"BAHMNI_USER": "your_username",
"BAHMNI_PASSWORD": "your_password"
}
}
}
}Claude Code users: edit
~/.claude.jsonand add the samemcpServersblock.
Restart Claude Desktop. No files to download — uvx fetches and runs the server automatically.
Environment Variables
Variable | Description |
| Base URL of your Bahmni instance (e.g. |
| Bahmni username |
| Bahmni password |