Back to Home
nmeldre icon

ATC_SNOMED_MCP

by nmeldre

Overview

This server maps medicinal product substance names to SNOMED CT Concept IDs and ATC codes using XML input and web scraping, primarily for Norwegian healthcare data.

Installation

Run Command
fastmcp run mcp_server.py:server

Security Notes

The server parses user-supplied XML content using `xml.etree.ElementTree.fromstring` without explicitly disabling DTD processing or external entity loading. This may create a potential XML External Entity (XXE) injection vulnerability if malicious XML input is provided. Additionally, the ATC code lookup performs web scraping, which introduces a dependency on external website structure and availability, though it doesn't pose a direct security risk to the server itself. File creation (`generate_output_filename`) is session-based and writes to an 'Output' directory, which is acceptable in this context but not robust against arbitrary path traversal if `input_filename` were directly user-controlled.

Stats

Interest Score0
Security Score5
Cost ClassHigh
Avg Tokens500
Stars0
Forks0
Last Update2025-12-14

Tags

Medicinal ProductsSNOMED CTATC CodesXML ProcessingHealthcare