Skip to main content
Glama
MoleCare
by MoleCare

MoleCare MCP Server

License Node MCP

Model Context Protocol (MCP) 服务器,让 Claude 和其他 MCP 客户端可以访问:

  1. 皮肤科知识 —— ABCDE 科普、SNOMED CT / ICD-10 辅助工具、风险因素提示

  2. 可选的 MoleCare API 工具 —— 痣、趋势、分析(你的后端 + API 密钥)

  3. 可选的 MLOps / 运维工具 —— 健康检查、MLflow、特征存储、基础设施(模拟优先)

不是医疗设备。 输出仅用于教育和操作辅助。请勿用于诊断或治疗决策。

产品网站:molecare.co.uk · 应用:iOS · Android


为什么会有这个项目

MoleCare 帮助人们长期追踪痣的变化,并为临床就诊做好准备。这个 MCP 服务器让开发者与运维人员可以:

  • 从 Claude Desktop / Cursor 查询皮肤健康科普知识

  • 基于 MoleCare 兼容 API 构建助手流程原型

  • 在未设置凭证时,使用安全的模拟数据探索 MLOps 工具


Related MCP server: opentargets-mcp

快速开始

无需凭证、无需数据库、无需云账户。将以下内容添加到 MCP 客户端配置中并重启:

{
  "mcpServers": {
    "molecare": {
      "command": "npx",
      "args": ["-y", "molecare-mcp"]
    }
  }
}

在 macOS 上,Claude Desktop 的配置文件是 ~/Library/Application Support/Claude/claude_desktop_config.json

皮肤科知识工具开箱即用——它们从随包附带的知识库中读取内容。任何会与后端通信的工具,在配置完成之前都会返回明确标注的模拟数据,因此你可以在决定是否启用任何后端功能之前,先完整探索全部工具。

完全不需要客户端也可以直接尝试:

npx -y molecare-mcp

它会启动并持续监听 stdio。如果没有任何输出,说明它正在正常运行。


连接真实后端

仅当你在运行与 MoleCare 兼容的 API 时才需要:

{
  "mcpServers": {
    "molecare": {
      "command": "npx",
      "args": ["-y", "molecare-mcp"],
      "env": {
        "MOLECARE_API_URL": "http://localhost:8080/api",
        "MOLECARE_API_KEY": "your-local-api-key"
      }
    }
  }
}

请使用 localhost(或你自己的部署地址)。不要把生产环境的密钥粘贴到会同步到云盘的配置文件里。


环境变量

除非你想启用真实后端,否则这些内容都是可选的。

变量

用途

示例

MOLECARE_API_URL

MoleCare HTTP API

http://localhost:8080/api

MOLECARE_API_KEY

API 令牌 / 密钥

local-dev-key

ONTOLOGY_API_URL

本体(Ontology)服务

http://localhost:8081

MLFLOW_TRACKING_URI

MLflow

http://localhost:5000

FEAST_REPO_PATH / 特征存储 URL

Feast

AWS_REGION

EC2 / CloudWatch 客户端

us-east-1

GITHUB_TOKEN

CI/CD 工具

MCP_HEALTH_PORT

绑定 HTTP /health 端点;默认不设置,stdio 客户端不需要它

3000

PORT

同上,供容器健康检查探针使用

3000

参见 .env.example


工具

皮肤科知识——无需任何配置

这些工具是大多数人安装本项目的理由。它们基于包内自带的知识库作答,不需要 API、不需要密钥、不需要网络。

工具

说明

search_medical_info

搜索皮肤科知识库

lookup_medical_concept

查找 SNOMED CT 概念

search_medical_concepts

按名称或描述搜索疾病

map_snomed_to_icd10

将 SNOMED CT 代码映射到 ICD-10

classify_lesion_features

给出某个皮损的 ABCDE 式特征描述

assess_risk_from_factors

根据自述风险因素进行教育性风险评分

get_condition_risk_factors

获取某种疾病的已知风险因素

get_condition_progression

获取某种疾病的典型进展阶段

get_malignant_conditions

获取带编码的恶性皮肤疾病

资源: molecare://knowledge/* —— ABCDE 标准、Fitzpatrick 皮肤分型、预防、何时就医看皮肤科医生、SNOMED CT 与 ICD-10 参考。

MoleCare 产品数据——需要 API

在设置 MOLECARE_API_URL 之前,这些工具会返回清晰标注的模拟数据。

工具

说明

get_user_moles

获取某个用户 ID 的痣列表

get_mole_analysis

获取某颗痣的分析结果

get_mole_changes

获取某颗痣的变化历史

get_user_risk_factors

获取某个用户的风险画像

compare_moles

比较两颗痣

这些工具的存在是因为 MoleCare 通过一个 assistant 来运维这套技术栈。在大多数使用场景之外,它们的价值有限;而且除非配置了对应的后端,否则全部返回模拟数据。

领域

工具

健康

get_system_health, check_server_health, get_service_health, clear_cache

MLflow

get_mlflow_experiments, get_mlflow_runs, get_registered_models, get_model_version, compare_model_runs, get_training_runs

特征存储

get_feature_views, get_feature_view_details, get_feature_freshness, get_online_features, get_feature_store_stats

CI/CD

get_pipeline_runs, get_pipeline_summary, get_deployments, get_deployment_status, get_releases

AWS

get_ec2_instances, get_ec2_instance, get_ec2_health, get_ec2_metrics

应用

get_app_status, get_web_app_status, get_mobile_api_status, get_all_apps_status, get_app_metrics, get_app_errors, get_app_versions, get_app_store_status

数据库

get_database_status, get_database_metrics, get_slow_queries, get_table_stats, get_backup_history, get_connection_pools

Kubernetes

get_kubernetes_status

AWS 工具需要 @aws-sdk/client-ec2@aws-sdk/client-cloudwatch,它们是可选的 peer 依赖——默认不会被安装,因为它们会让不需要 AWS 功能、只想要皮肤科工具的用户白白多下载 33 MB。如果你需要真实 AWS 数据,请自行安装:

npm i @aws-sdk/client-ec2 @aws-sdk/client-cloudwatch

架构

Claude / Cursor / MCP client
        │ stdio (JSON-RPC)
        ▼
  molecare-mcp
   ├─ medical KB (local)
   ├─ MoleCare API client (optional)
   ├─ ontology / MLflow / Feast clients (optional)
   └─ AWS / CI clients (optional, mock if unset)
        │
        └─ optional HTTP GET /health  (Docker / ECS)

Docker

docker build -t molecare-mcp .
docker run --rm -p 3000:3000 molecare-mcp
curl http://localhost:3000/health

安全

  • 切勿提交 .env 文件或 API 密钥——如需报告漏洞,请参阅 SECURITY.md

  • 演示和截图优先使用模拟模式。

  • 接受 userId 的工具,只有在你将请求指向具备真实鉴权的真实后端时,才可能返回 PHI(受保护的健康信息)——请把这当作生产环境对待。

  • 限流与鉴权应该在你的 API 上实现,而不只是交给 MCP 进程。


医疗免责声明

MoleCare MCP 提供的是教育性信息与开发者工具。它诊断黑色素瘤或任何疾病。如果有健康问题,请务必咨询合格的临床医生。


开发

git clone https://github.com/MoleCare/molecare-mcp.git
cd molecare-mcp
npm install
npm run build
npm run dev      # auto-reload
npm run inspect  # browse tools in MCP Inspector

欢迎贡献!请先阅读 CONTRIBUTING.md,其中包含模拟优先原则、所有涉及医疗内容的功能必须遵守的临床安全边界,以及如何领取 good first issue 任务。

请勿在示例中包含敏感信息,并建议优先使用 localhost。


相关链接

环境变量: .env.example 是权威清单(包含源代码读取的全部 27 个变量)。如需重新生成基准清单,请使用 grep -rhoE "process\.env\.[A-Z_0-9]+" src/ONTOLOGY_API_URLFEAST_REPO_PATH 不会被任何源文件读取。


许可证

Apache-2.0 © MoleCare LTD

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI clients to securely access, query, and mutate normalized user-controlled health data (e.g., from Apple Health or Supabase) through a bounded set of MCP tools, with optional OAuth and sandboxed deployment.
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    MCP server that exposes the Open Targets Platform GraphQL API as a set of tools for querying biomedical data such as targets, diseases, drugs, and genetic evidence.
    68
    20
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI applications to query and retrieve healthcare data (patients, conditions, observations, medications) from a public FHIR R4 server via MCP tools.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Read-only MCP server providing 5 tools for hybrid search, clause retrieval, policy versioning, code lookup, and plan rider override queries over a synthetic medical-policy corpus.

View all related MCP servers

Related MCP Connectors

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

  • Search, document and execute authenticated API calls across 700+ apps via one MCP server

  • Securely access and manage FHIR healthcare data stored in Medplum.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MoleCare/molecare-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server