Emergency Medicare Planner MCP Server
Integrates with Google Maps to locate and evaluate medical facilities in emergency situations, helping users find appropriate hospitals and clinics based on medical needs, emergency level, and facility capabilities.
manolaz
Tools
get_emergency_contacts
Retrieves emergency contact information for a specific location
find_nearby_medical_facilities
Finds hospitals and clinics nearby user location that match specific requirements
check_medicare_coverage
Checks what treatments and procedures are covered by Medicare
schedule_emergency_transport
Arranges emergency medical transportation
sequentialthinking
A detailed tool for dynamic and reflective medical problem-solving through thoughts. This tool helps analyze medical problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding of the medical situation deepens. When to use this tool: - Breaking down complex medical problems into steps - Planning and designing treatment approaches with room for revision - Clinical analysis that might need course correction - Medical problems where the full scope might not be clear initially - Healthcare decisions that require a multi-step solution - Medical evaluations that need to maintain context over multiple steps - Situations where irrelevant medical information needs to be filtered out Key features: - You can adjust total_thoughts up or down as the diagnosis progresses - You can question or revise previous medical assessments - You can add more diagnostic thoughts as new information emerges - You can express clinical uncertainty and explore alternative approaches - Not every medical assessment needs to build linearly - you can branch or backtrack - Generates a clinical hypothesis - Verifies the hypothesis based on the Chain of Thought steps - Repeats the process until a satisfactory diagnosis or treatment plan is reached - Provides a correct medical assessment or recommendation
README
Emergency Medicare Management MCP Server
(@manolaz/emergency-medicare-planner-mcp-server)
A powerful Model Context Protocol (MCP) server that integrates with Google Maps to locate and evaluate medical facilities in emergency situations. This server helps users find appropriate hospitals and clinics within 10km radius based on specific medical needs, emergency level, and facility capabilities.
The system provides real-time routing, availability checks, and detailed information about medical services, helping patients make informed decisions during urgent healthcare situations.
Key Feature: Sequential Thinking for Medical Evaluation - Enables step-by-step clinical reasoning for more accurate medical facility matching based on patient symptoms and medical history.
Installation & Usage
Installing via Smithery
To install Emergency Medicare Planner for Claude Desktop automatically:
npx -y @smithery/cli install @manolaz/emergency-medicare-planner-mcp-server --client claude
Installing Manually
# Using npx (recommended)
npx @manolaz/emergency-medicare-planner-mcp-server
# With environment variable for Google Maps API
GOOGLE_MAPS_API_KEY=your_api_key npx @manolaz/emergency-medicare-planner-mcp-server
Or install globally:
# Install globally
npm install -g @manolaz/emergency-medicare-planner-mcp-server
# Run after global installation
GOOGLE_MAPS_API_KEY=your_api_key emergency-medicare-planner-mcp-server
Components
Tools
-
searchMedicalFacilities
- Search for hospitals, clinics, and medical facilities using Google Places API
- Input:
query(string): Search query (e.g., "emergency room", "pediatric clinic")location: Latitude and longitude of patient locationradius(optional, default: 10000): Search radius in metersspecialtyNeeded(optional): Medical specialty required
-
getMedicalFacilityDetails
- Get detailed information about a specific medical facility
- Input:
placeId(string): Google Place ID of the medical facility
- Output:
- Hours of operation, services offered, contact information, etc.
-
calculateRouteToFacility
- Calculate fastest route to a medical facility
- Input:
origin: Patient's current locationfacilityId: Place ID of the destination facilitytransportMode(optional): Travel mode (driving, walking, transit, ambulance)avoidTraffic(optional): Route planning to avoid traffic
-
checkFacilityAvailability
- Check if a facility is currently accepting patients
- Input:
facilityId: Place ID of the medical facilityemergencyLevel: Urgency level of the medical situation
Configuration
Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:
{
"mcpServers": {
"emergency-medicare-planner": {
"command": "npx",
"args": ["@manolaz/emergency-medicare-planner-mcp-server"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_google_maps_api_key"
}
}
}
}
Alternatively, you can use the node command directly if you have the package installed:
{
"mcpServers": {
"emergency-medicare-planner": {
"command": "node",
"args": ["path/to/dist/index.js"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_google_maps_api_key"
}
}
}
}
Development
Building from Source
-
Clone the repository
-
Install dependencies:
npm install -
Build the project:
npm run build
Environment Variables
GOOGLE_MAPS_API_KEY(required): Your Google Maps API key with the following APIs enabled:- Places API
- Directions API
- Geocoding API
- Time Zone API
- Distance Matrix API
Testing
# Run test suite
npm test
# Run with debug logging
DEBUG=emergency-medicare:* npm start
License
This MCP server is licensed under the MIT License. For more details, please see the LICENSE file in the project repository.
Recommended Servers
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
mcp-shodan
MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
mcp-pinterest
A Pinterest Model Context Protocol (MCP) server for image search and information retrieval
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
Metabase MCP Server
Enables AI assistants to interact with Metabase databases and dashboards, allowing users to list and execute queries, access data visualizations, and interact with database resources through natural language.