nlm-codes-mcp
Verified Safeby openpharma-org
Overview
This server provides a unified tool for AI assistants to search and access various clinical coding systems, medical data tables, and healthcare provider information through the National Library of Medicine's Clinical Tables API.
Installation
npx codes-mcp-serverEnvironment Variables
- SERVER_NAME
- SERVER_VERSION
- USE_HTTP
- USE_SSE
- PORT
- SSE_PATH
- LOG_LEVEL
- NODE_ENV
- DEV_MODE
- DEBUG
- CORS_ORIGINS
- REQUEST_TIMEOUT
- MAX_REQUEST_SIZE
- ENABLE_PERFORMANCE_MONITORING
- METRICS_INTERVAL
- MAX_CONNECTIONS
- ENABLE_EXPERIMENTAL_FEATURES
- CLINICAL_API_BASE_URL
- ENABLE_ICD_TOOLS
- ENABLE_LOINC_TOOLS
- ENABLE_DRUG_TOOLS
- ENABLE_GENOMIC_TOOLS
- ENABLE_NPI_TOOLS
- HEALTH_CHECK_PATH
- SHUTDOWN_TIMEOUT
- PROCESS_TITLE
Security Notes
The server acts as a proxy to the NLM Clinical Tables API. Input parameters (`terms`, `maxList`, `offset`, `count`) are validated. The `additionalQuery` parameter, which accepts Elasticsearch-like syntax, includes logic (`validateAndProcessAdditionalQuery`) to detect and transform/warn about complex parentheses, mitigating potential query injection issues against the upstream NLM API. No `eval` or obvious hardcoded secrets are present in the provided source. Default CORS is set to '*' with a warning for production environments in the configuration validation. Uncaught exceptions and unhandled rejections are logged but do not cause the process to exit, a design choice for resilience that might require careful monitoring in production.
Similar Servers
boilerplate-mcp-server
Provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation tool.
medical-mcp
Provides comprehensive, real-time medical data from authoritative sources to enhance AI workflows locally and privately.
knowledgebase-mcp
A standardized Model Context Protocol (MCP) server that aggregates and provides AI systems with access to diverse biomedical knowledge bases and analysis tools.
get-biji-dev-by-gemini3pro
Integrates the Get Notes API with a Model Context Protocol (MCP) server to provide AI-powered knowledge search and recall from multiple knowledge bases.