# Histopathology Annotation MCP

> Histopathology Annotation MCP is a free MCP server for design and media. Annotate histopathology slides and images from chat, exporting to QuPath, COCO or YOLO. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, Web
- **Website:** https://labels.sachin-kale.com/mcp
- **Repository:** https://github.com/sachinbkale27/label-image-mcp
- **MCP Registry name:** io.github.sachinbkale27/label-image-mcp
- **Categories:** design and media, health and science, AI models and LLM tooling
- **Listing updated:** 2026-11-14

## About

Built for pathology and computer-vision work, it connects an assistant to the Image Label annotation service. The assistant can upload an image, outline nuclei in an H&E slide with StarDist, trace regions from rough boxes with Segment Anything or MedSAM, check slide quality, normalise stain colours and clean up annotations. Output goes to COCO JSON, YOLO labels, YOLO classes or QuPath GeoJSON. The README says no GPU is needed, and it checks nuclei detection against expert outlines on the NuInsSeg dataset.

It works without an account: a guest identity is created and stored under ~/.config/label-image-mcp, images are kept for 7 days (up to 50) and there are 200 analyses a day. A free account, requested through the site, keeps images 90 days, lifts the daily cap and allows whole slides up to 5 GB. Each identity sees only its own images.

It installs with uvx from PyPI or as an .mcpb file for Claude Desktop, and a LangGraph agent is included.

## Features

- **Nucleus detection:** Outlines every nucleus in an H&E slide automatically with StarDist.
- **Assisted outlining:** Traces regions from rough boxes using Segment Anything or MedSAM.
- **Slide quality checks:** Checks quality and normalises stain colours.
- **Training-data export:** Exports COCO JSON, YOLO labels and classes, or QuPath GeoJSON.
- **Guest mode:** Works without sign-up with images kept 7 days and 200 analyses a day.
- **Whole-slide support:** Accounts can upload whole slides up to 5 GB.

## Good for

- Turn an H&E slide into labelled nuclei for model training
- Export annotations to QuPath for review
- Check a slide's quality before analysis
- Trace tissue regions from rough boxes
- Prepare COCO or YOLO datasets from microscopy images

## Install

### Claude Code (Terminal)

```sh
claude mcp add label-image-mcp --env LABEL_PASSWORD='<LABEL_PASSWORD>' -- uvx label-image-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "label-image-mcp": {
      "command": "uvx",
      "args": [
        "label-image-mcp"
      ],
      "env": {
        "LABEL_PASSWORD": "<LABEL_PASSWORD>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "label-image-mcp": {
      "command": "uvx",
      "args": [
        "label-image-mcp"
      ],
      "env": {
        "LABEL_PASSWORD": "<LABEL_PASSWORD>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "label-image-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "label-image-mcp"
      ],
      "env": {
        "LABEL_PASSWORD": "<LABEL_PASSWORD>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "label-image-mcp": {
      "command": "uvx",
      "args": [
        "label-image-mcp"
      ],
      "env": {
        "LABEL_PASSWORD": "<LABEL_PASSWORD>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "label-image-mcp": {
      "command": "uvx",
      "args": [
        "label-image-mcp"
      ],
      "env": {
        "LABEL_PASSWORD": "<LABEL_PASSWORD>"
      }
    }
  }
}
```

## Tools

- `detect_nuclei`: Outlines nuclei in H&E images; checked against NuInsSeg outlines.

## FAQ

### Do I need an account?

No. It runs as a guest, though guests cannot use whole slides.

### How long are images kept?

7 days for guests (up to 50 images) and 90 days for accounts.

### Does it need a GPU?

No, the README says no GPU is needed.

### What export formats are supported?

COCO JSON, YOLO labels, YOLO classes and QuPath GeoJSON.

### Is Histopathology Annotation MCP free?

Yes. Histopathology Annotation MCP is free to use.

### How do I add Histopathology Annotation MCP to Claude Code?

Run this command in your terminal: claude mcp add label-image-mcp --env LABEL_PASSWORD='<LABEL_PASSWORD>' -- uvx label-image-mcp

### What are the best alternatives to Histopathology Annotation MCP?

The closest alternatives to Histopathology Annotation MCP are HyperFrames by HeyGen, ffmpeg-skill, Claude Code Ultimate Guide, Tooluniverse and Oya Browser.

## Alternatives

- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [AvatarSay — Fictional Character & Talking Video MCP](https://ai-powered.com/mcp/avatarsay-fictional-character-and-talking-video-mcp): AvatarSay — Fictional Character & Talking Video MCP is a freemium MCP server for design and media.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [VfxSmith](https://ai-powered.com/mcp/vfxsmith): VfxSmith is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/histopathology-annotation-mcp
