- Home
- MCP servers
- MCP Duty Pharma
MCP Duty Pharma
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"lsaavedr-mcp-duty-pharma": {
"command": "uv",
"args": [
"tool",
"run",
"mcp_duty_pharma"
]
}
}
}MCP Duty Pharma is an MCP server that helps you locate pharmacies legally open during nights, weekends, and holidays. It provides a practical way to find on-duty pharmacies when you need them most, ensuring you can access essential services during off-hours.
How to use
You use this MCP server with an MCP client to query nearby on-duty pharmacies. The server exposes a tool that returns the ten closest pharmacies on duty for a given address, ordered by distance. Provide the address you are searching from, and you will receive a list of options along with their distances.
How to install
Prerequisites You must have Python 3.10 or newer to run the server.
Install dependencies using the package manager you use to manage MCP tools. The process involves installing the required MCP dependencies with the following command.
uv sync
Configuration and runtime
To run MCP Duty Pharma through the MCP client, add one of the following configurations to your settings. Choose the format you prefer.
{
"MCP Duty Pharma": {
"command": "uv",
"args": ["tool", "run", "mcp_duty_pharma"]
}
}
Configuration and runtime (YAML)
If you prefer YAML, use this configuration.
mcpServers:
- name: MCP Duty Pharma
command: uv
args:
- tool
- run
- mcp_duty_pharma
Available tools
get_nearby_duty_pharmacies
Retrieves the ten closest pharmacies on duty today, sorted by distance to the provided address.