Agent skill · Backend & API

deploying-openmed-mcp

Run OpenMed's Model Context Protocol (MCP) server so coding agents (Claude Code, Codex) and chat clients can call clinical NER, PII extraction, and de-identification as tools, on-device. Use when the user wants to add OpenMed to an agent's MCP config, expose de-id/NER as MCP tools, run an MCP server over stdio or Streamable HTTP, give Claude/Codex access to OpenMed, or containerize the MCP server. Covers the mcp extra, create_mcp_server, the 7 tools (openmed_analyze_text, openmed_extract_pii, openmed_deidentify, openmed_list_models, openmed_list_pii_languages, openmed_loaded_models, openmed_un

maziyarpanahigithub.com/maziyarpanahiGitHub ↗
claude-codeApache-2.0
Install
npx skills add maziyarpanahi/openmed --skill deploying-openmed-mcp --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Version: 1.0
Path: skills/deploying-openmed-mcp/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 4,851
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Deploying the OpenMed MCP server `openmed.mcp.server` exposes OpenMed's clinical NLP as **Model Context Protocol** tools, so coding agents (Claude Code, Codex) and chat clients can de-identify and analyze clinical text by calling tools instead of writing glue code. It runs **on-device** — models are local, no telemetry — and the server instructs clients to send real PHI only to instances the user operates. ## When to use this skill When an agent or LLM client should be able to *invoke* OpenMed: add it to a coding agent's MCP config, give a chat client de-id/NER tools, or run a shared MCP endpoint for a team. For programmatic HTTP from your own services, prefer `serving-openmed-rest-api`; for corpora, `batch-processing-clinical-text`. ## Quick start ```bash pip install "openmed[mcp]" # FastMCP / MCP SDK # stdio transport (what coding agents spawn): default python -m openmed.mcp.server # Streamable HTTP transport (network-reachable): python -m openmed.mcp.server --transport streamable-http --host 127.0.0.1 --port 8081 ``` ```python # Or embed it: from openmed.mcp.server import create_mcp_server server = create_mcp_server() # FastMCP("OpenMed", ...) with tools+resources+prompts serv

What's inside
Steps it walks through
  1. When to use this skill
  2. Quick start
  3. The 7 tools (confirmed in openmed/mcp/server.py)
  4. Adding it to a coding agent
  5. Runtime config
  6. Running in Docker
  7. Workflow
  8. Hand-off to / from OpenMed
  9. Edge cases & gotchas
  10. Standards & references
Commands it runs
pip install "openmed[mcp]"                 # FastMCP / MCP SDK
stdio transport (what coding agents spawn): default
python -m openmed.mcp.server
Streamable HTTP transport (network-reachable):
python -m openmed.mcp.server --transport streamable-http --host 127.0.0.1 --port 8081
More from openmed
All skills →
About this skill
What does the deploying-openmed-mcp skill do?

Run OpenMed's Model Context Protocol (MCP) server so coding agents (Claude Code, Codex) and chat clients can call clinical NER, PII extraction, and de-identification as tools, on-device. Use when the user wants to add OpenMed to an agent's MCP config, expose de-id/NER as MCP tools, run an MCP server over stdio or Streamable HTTP, give Claude/Codex access to OpenMed, or containerize the MCP server. Covers the mcp extra, create_mcp_server, the 7 tools (openmed_analyze_text, openmed_extract_pii, openmed_deidentify, openmed_list_models, openmed_list_pii_languages, openmed_loaded_models, openmed_un

How do I install it?

Run `npx skills add maziyarpanahi/openmed --skill deploying-openmed-mcp --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From maziyarpanahi/openmed, a repository with 4,851 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going