SNOMED CT MCP Server

SNOMED CT MCP Server

Enables querying and browsing SNOMED CT medical terminology concepts, including search, details, and hierarchy navigation via MCP tools.

Category
访问服务器

README

SNOMED CT MCP Server

A Model Context Protocol (MCP) server that provides access to SNOMED CT terminology services. This server can be deployed on Cloudflare Workers for scalable, serverless access to SNOMED CT data.

Features

  • Search Concepts: Search for SNOMED CT concepts by term
  • Concept Details: Get detailed information about specific concepts
  • Descriptions: Retrieve all descriptions for a concept
  • Relationships: Get concept relationships and hierarchy
  • Navigation: Browse concept children and parents
  • ECL Support: Search using Expression Constraint Language

Available Tools

  1. search_concepts - Search for concepts by term
  2. get_concept - Get concept details by ID
  3. get_concept_descriptions - Get all descriptions for a concept
  4. get_concept_relationships - Get concept relationships
  5. get_concept_children - Get child concepts
  6. get_concept_parents - Get parent concepts
  7. search_by_ecl - Search using ECL expressions

Installation

Prerequisites

  • Node.js 20 or later
  • npm or yarn
  • Claude Desktop app

Install from GitHub

  1. Clone the repository:
git clone https://github.com/yourusername/snomed-mcp-server.git
cd snomed-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configure Claude Desktop

  1. Open your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the SNOMED MCP server to your configuration:

{
  "mcpServers": {
    "snomed-mcp-server": {
      "command": "node",
      "args": ["path/to/snomed-mcp-server/dist/index.js"]
    }
  }
}

Important: Replace path/to/snomed-mcp-server with the actual path to your cloned repository.

  1. Restart Claude Desktop for the changes to take effect.

Verify Installation

After restarting Claude Desktop, you should see the following SNOMED CT tools available:

  • search_concepts - Search for SNOMED CT concepts
  • get_concept - Get detailed concept information
  • get_concept_descriptions - Get concept descriptions
  • get_concept_relationships - Get concept relationships
  • get_concept_children - Get child concepts
  • get_concept_parents - Get parent concepts
  • search_by_ecl - Search using ECL expressions

Development

Run locally:

npm run dev

Build:

npm run build

Deployment to Cloudflare Workers

  1. Install Wrangler CLI:
npm install -g wrangler
  1. Login to Cloudflare:
wrangler auth login
  1. Deploy:
npm run deploy

Usage Examples

Screenshot

<img width="794" height="885" alt="Screenshot 2025-09-16 at 1 56 11 PM" src="https://github.com/user-attachments/assets/96f5d7a9-8918-4db8-97c2-cba5dabd057d" />

<img width="1643" height="988" alt="Screenshot 2025-09-16 at 2 06 43 PM" src="https://github.com/user-attachments/assets/4c1c52e9-0044-42de-8f10-da0ecf919804" />

Search for concepts

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_concepts",
    "arguments": {
      "term": "heart attack",
      "limit": 10
    }
  }
}

Get concept details

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_concept",
    "arguments": {
      "conceptId": "22298006"
    }
  }
}

Search using ECL

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "search_by_ecl",
    "arguments": {
      "ecl": "< 404684003",
      "limit": 20
    }
  }
}

API Endpoints

The server uses the SNOMED International public terminology server:

  • Base URL: https://browser.ihtsdotools.org/snowstorm/snomed-ct/MAIN
  • FHIR URL: https://snowstorm.ihtsdotools.org/fhir

Troubleshooting

MCP Server Not Appearing in Claude Desktop

  1. Check Configuration File Path: Ensure you're editing the correct config file for your OS
  2. Verify JSON Syntax: Make sure your claude_desktop_config.json has valid JSON syntax
  3. Check File Paths: Ensure the path to dist/index.js is correct and absolute
  4. Restart Required: Always restart Claude Desktop after configuration changes
  5. Build First: Run npm run build before configuring Claude Desktop

Connection Issues

  1. Check Build Output: Ensure dist/index.js exists after running npm run build
  2. Test Locally: Run npm run dev to test the server locally
  3. Node.js Version: Ensure you're using Node.js 20 or later
  4. Permissions: Make sure Claude Desktop can access the file path

Common Configuration Mistakes

  • Using relative paths instead of absolute paths in the configuration
  • Forgetting to restart Claude Desktop after changes
  • Missing the build step (npm run build)
  • JSON syntax errors in the configuration file

Getting Help

If you continue to experience issues:

  1. Check the Claude Desktop logs
  2. Verify the server runs with npm run dev
  3. Ensure all file paths are correct and accessible

License

MIT

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Disclaimer

This server uses the SNOMED International public terminology server for reference purposes. It is not intended for production healthcare systems. Please refer to SNOMED International licensing terms for commercial use.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选