Skip to main content
Glama

Image, Histopathology Annotation MCP

Image Annotation, including Histopathology slides; From H&E slide to training data in one conversation: nuclei, outlines and slide QC, exported to QuPath, COCO or YOLO. No GPU needed.

PyPI CI License: MIT MCP Registry M8ven Score

Loading an H&E breast cancer slide, outlining every nucleus with StarDist, Diagnose: an AI interpretation written as a report, problematic regions outlined on the image and the agent's report, then Ask AI: a question about the results answered with an illustration labelled from the answer

Accuracy: see Benchmark. Your data: see Your data. Changes: see CHANGELOG.

An MCP server for annotating histopathology and other images in Image Label, a free annotation tool. It lets Claude and other AI assistants upload images, outline every nucleus in an H&E slide automatically (StarDist), trace regions from rough boxes (Segment Anything, or MedSAM for medical images), check slide quality, normalize stain colours, clean up annotations, and export training data as COCO JSON, YOLO labels, YOLO classes or QuPath GeoJSON. A LangGraph agent is included.

Built for: Whole Slide Imaging (WSI) · Digital Pathology · Computational Pathology · Bioinformatics · Tumor Microenvironment (TME) analysis (tumour, immune and stromal cell types, immune-to-tumour ratio) · MLOps Data Labeling (COCO, YOLO and QuPath training data) · Nuclei and Cell Segmentation · Cell Classification · Medical Image Annotation · Stain Normalization and Slide Quality Control · Cancer Research · Computer Vision datasets.

Try it in the browser: https://agent.sachin-kale.com/#annotate: upload a slide and annotate it, detect nuclei, check its quality or get an AI interpretation, with no setup.

Published as label-image-mcp (PyPI) and io.github.sachinbkale27/label-image-mcp (MCP Registry).

Use cases and setup guide: https://labels.sachin-kale.com/mcp

LangGraph agent (label-image-agent)      Claude Desktop / Claude Code / any MCP client
              │  langchain-mcp-adapters             │
              └──────────────┬──────────────────────┘
                             ▼
                    label-image-mcp (stdio or HTTP)
                             │
                             ▼
                 Image Label API  (/api/images ...)

Account (optional)

No account needed to try it. Without credentials the server works as a guest: it gets a guest identity on first use, saves it in ~/.config/label-image-mcp/, and keeps using it, so your images are there next time.

Guest (no sign-up)

Account (request one, free)

Images kept

7 days, up to 50

90 days

Upload size

20 MB per image

20 MB per image; whole slides up to 5 GB

Analyses (nuclei, outlines, cell types, …)

200 a day

No daily cap

Whole slides

No

Yes

The tools see, change and upload only the images of the identity they use (guest or account). Set LABEL_USERNAME and LABEL_PASSWORD to use an account, or LABEL_GUEST=0 to turn guests off.

Related MCP server: Luma MCP

Install

Claude Desktop: download label-image-mcp.mcpb from the latest release and open it. Leave username and password empty to start as a guest.

Claude Code:

claude mcp add label-image -e LABEL_USERNAME=... -e LABEL_PASSWORD=... -- uvx label-image-mcp

Any MCP client (needs uv):

{
  "mcpServers": {
    "label-image": {
      "command": "uvx",
      "args": ["label-image-mcp"],
      "env": { "LABEL_USERNAME": "...", "LABEL_PASSWORD": "..." }
    }
  }
}

Benchmark

detect_nuclei checked against expert outlines on NuInsSeg (CC BY 4.0): H&E images of 31 human and mouse tissues, 30,698 hand-segmented nuclei. The detection threshold was chosen on the even-numbered images of each tissue; these results are on the other 332 images (15,701 nuclei), which were not used for any choice. A nucleus counts as found when its outline overlaps the expert's by IoU ≥ 0.5.

Settings

Precision

Recall

F1

Panoptic quality

Pixel Dice

0.5.0, resized by nucleus size (default)

0.78

0.55

0.64

0.48

0.65

0.5.0, with microns_per_pixel

0.81

0.52

0.64

0.47

0.66

Before 0.5.0

0.81

0.33

0.47

0.35

0.43

  • Better on human tissue (F1 0.67) than mouse (0.50 to 0.53). Best on pancreas, cerebellum, placenta and tongue (0.73 to 0.81); weakest on umbilical cord, brain, mouse heart and bone (0.13 to 0.34), where nuclei are sparse, thin or faint. Per-tissue results are in benchmarks/results.

  • The model is StarDist's pretrained H&E model, not trained on NuInsSeg: models trained on a dataset score higher on it. Read these as what to expect on new images, and review outlines before training on them.

  • Reproduce: benchmarks/nuinsseg.py runs the same method locally.

  • Cell types (classify_cells) are not benchmarked here yet: NuInsSeg has no cell-type labels. HoVer-Net's published results on PanNuke are the reference until then.

  • Outlining (find_regions, segment_objects, with an AI assistant choosing what to outline) is so far only checked on a small private test set: 5 H&E images with 43 reference findings (glands, cell nests, cysts, skin layers, pigment), of which 41 were found. That guides development; it is not a benchmark, and outline edges are not yet measured against expert outlines.

Your data

What happens to images you upload through this server (hosted on AWS in us-east-1):

  • Private to your account. Only you can list, read or change your images; the storage bucket blocks all public access, and viewing links are signed and expire after 24 hours.

  • Deleted after 90 days, automatically: files, slides, annotations and analysis results. Deleting an image removes it straight away.

  • Encrypted at rest (AES-256) and in transit (HTTPS).

  • Not used to train models, and not sent to other AI services by this server: StarDist, Segment Anything and MedSAM run on the service itself. Your AI assistant sees what its tools return (view_image returns the picture), under that assistant's own terms.

  • Usage counts. Each call to the service names the AI client (for example claude-ai/0.1.0, from the MCP handshake) and the server version, so usage can be counted by client; the account is logged only as a hash. The service also logs the approximate place of each call (city, region, country and time zone, from its CDN) and the local hour, and counts distinct IP addresses by a keyed hash; the addresses themselves are not kept. Nothing from your conversation is sent.

  • No patient identifiers, please. Remove names, record numbers and slide labels (crop the label area or use a de-identified copy) before uploading. Results are for research and education, not diagnosis.

Agent skill

skills/label-image/SKILL.md teaches the agent when and how to use these tools: which annotation types end up in exports, cleaning up labels safely, and merging per-image exports into one COCO or YOLO dataset with consistent class ids (bundled scripts/merge_exports.py). It follows the open SKILL.md format, so it works in Claude Code and other agents that support skills.

# Claude Code: install for all your projects (or copy into a project's .claude/skills/)
git clone --depth 1 https://github.com/sachinbkale27/label-image-mcp /tmp/label-image-mcp
mkdir -p ~/.claude/skills && cp -r /tmp/label-image-mcp/skills/label-image ~/.claude/skills/

Configuration

Variable

Default

Purpose

LABEL_USERNAME / LABEL_PASSWORD

unset

Account credentials. Without them the tools see no images

LABEL_API_URL

https://labels.sachin-kale.com/api

API base URL, for another deployment or sam local start-api

Tools

Tool

What it does

list_images(category?)

Image summaries with annotation counts

get_image(image_id)

Metadata, annotations and a signed viewing URL

view_image(image_id, with_annotations?, region?, grid?, max_size?)

The picture itself, for the assistant to look at: scaled down, with a grid labelled in image pixels, optionally with the annotations drawn on, or zoomed into a region. Use it to place boxes for segment_objects and to check outlines

update_image_metadata(image_id, name?, category?, sub_category?, description?)

Edit image details

add_annotations(image_id, annotations)

Append pins, polygons, circles, rectangles or arrows

replace_annotations(image_id, annotations)

Replace all annotations

remove_annotations(image_id, annotation_ids)

Remove annotations by id

upload_image(path, name?, category?, description?)

Upload a local image file

upload_image_from_url(url, name?, category?, description?)

Download an image from an https URL (up to 20 MB) and upload it

find_regions(image_id, max_size?)

Find the objects in the image automatically (Segment Anything with no prompts): returns them numbered, with each one's exact box, and a picture with the numbered outlines. Choose the right ones and pass their boxes to segment_objects, instead of estimating boxes. Nothing is saved

segment_objects(image_id, objects, model?, save?)

Trace exact outlines with Segment Anything from a rough box, a point, or both per object, and save them as polygons. A box and a point together say which thing in the box is meant (bands, structures between others, objects at the edge). model: sam (photos) or medsam (CT, MRI, X-ray, ultrasound, endoscopy, pathology; boxes only)

detect_nuclei(image_id, max_nuclei?, mark_enlarged?, replace_previous?, save?, microns_per_pixel?)

Find and outline every nucleus in an H&E image with StarDist, automatically (no boxes). Returns count, density, median area and size variation; nuclei over 2.5x the median area are labelled enlarged nucleus. With microns_per_pixel (often 0.25 at 40x, 0.5 at 20x) also in µm² and nuclei per mm²

classify_cells(image_id, wait_seconds?)

Types the nuclei detect_nuclei saved as tumour, immune, connective tissue, dead or normal epithelial cells (HoVer-Net trained on PanNuke, 19 tissues), relabelling each nucleus and returning counts, percentages and the immune-to-tumour ratio. Runs in the background, 30 to 90 s. Needs a 20x or 40x image (coarser ones are refused). Research and education only (CC BY-NC-SA 4.0 weights)

normalize_stain(image_id)

Macenko stain normalization: a copy with standard H&E colours, saved as a new image

check_image_quality(image_id)

HistoQC-style checks (tissue fraction, blur, marker pen, exposure, faint staining) with a verdict and warnings

warm_up(model?)

Start loading a model without waiting: sam, medsam or nuclei (each takes a minute or two after a quiet spell)

share_image(image_id)

A link (valid 7 days) that opens the image and its annotations in the Image Label web app in anyone's browser, copied into their own workspace to edit and export; no account needed

export_annotations(image_id, format)

COCO JSON or YOLO, same output as the web app's export, or qupath: GeoJSON for QuPath's File > Import objects (StarDist nuclei come in as detections)

export_dataset(format?, category?, image_ids?, classes?, output_dir?)

Many images (a category, or up to 100 ids) as ONE dataset with one class list: a COCO file, YOLO classes plus a label file per image, or a QuPath GeoJSON per image. output_dir writes the files (local server only)

Every tool declares all four hints (read-only, destructive, idempotent, open-world) and describes every parameter. Clients can ask before the destructive ones: replace_annotations, remove_annotations, and detect_nuclei, which replaces its own earlier nuclei. The server also offers three prompts: Analyse a histology slide, Outline objects in an image and Build a training dataset.

Whole slides

Tool

What it does

upload_slide(path, name?, category?, analyze?, max_tiles?)

Upload a whole-slide file (.svs, .ndpi, pyramidal .tif/.tiff, up to 5 GB; streamed, never loaded into memory) and start its analysis. Local server only

upload_slide_from_url(url, ...)

The same from an https URL, copied straight into storage

analyze_slide(image_id, coverage?, max_tiles?, cell_types?, restart?, wait_seconds?)

Background analysis: finds the tissue, then runs the quality check, StarDist nuclei and cell types on tiles of 256 × 256 µm at 40x. coverage: "sample" (default) takes up to 48 tiles spread over the tissue, with cell types; "full" analyses every tissue tile (up to 3,000, about 200 mm²) in parallel and tints the overview as a nuclei-density heatmap (cell types opt-in there: about 15× slower). Waits up to wait_seconds and reports progress

get_slide_analysis(image_id)

Status, or the results: nuclei per mm², median nuclear area in µm², size variation, enlarged nuclei and cell-type percentages across the slide, per-tile values and quality

After the analysis the slide's image in the library is its overview, with the analysed tiles marked (the three densest in red; with full coverage, a density heatmap and the ten densest tiles), so view_image and the web app show it. The three densest tiles are saved as images of their own, with their nuclei outlined, for a close look or further annotation. Every nucleus is in a QuPath GeoJSON in slide coordinates: open the slide in QuPath, then File > Import objects. Slides are read with tifffile (Aperio SVS including JPEG 2000, Hamamatsu NDPI, pyramidal TIFF and OME-TIFF), decoding only the tiles needed. Other images are up to 20 MB.

There is deliberately no tool for deleting images.

segment_objects calls the API's POST /images/{id}/segment, which runs SAM (facebook/sam-vit-base) or MedSAM (wanglab/medsam-vit-base) in a Lambda container (backend/segment). After a quiet spell the model takes a while to start; the client retries then. Results are for research and dataset building, not diagnosis.

How it outlines

Vision models read coordinates poorly: asked for boxes around glands, they often land on the stroma beside them. So the server does the precise part and leaves the model the choosing:

  • find_regions runs Segment Anything with no prompts: a grid of points (coarse to fine, skipping flat background) and overlapping boxes of four sizes, which find large structures such as cell nests and lobules. Duplicates, unstable masks, cut-off pieces and the dark surround of a microscope's field are dropped, and a lumen is grown into its whole gland when a larger box outlines it cleanly. The regions come back numbered with exact boxes and a picture, so the model picks numbers instead of estimating coordinates. It runs as a background job (the API answers at once and the client polls), so it isn't cut short by the API's 30-second limit.

  • For a box, Segment Anything offers a part, the object and something larger; the server keeps the confident outline that best fills the box (less what spills outside), so a box around a gland gives the gland, not its lumen. With a point as well, the point settles which thing in the box is meant.

The histopathology tools call POST /images/{id}/pathology, which runs StarDist (BSD-3; its pretrained 2D_versatile_he model was trained on public H&E datasets, some under non-commercial terms, so check them before commercial use), torchstain (MIT) and OpenCV quality measures in a second Lambda container (backend/pathology). Microscope photos come at many magnifications, so detect_nuclei also tries the image enlarged 2x and 3x and keeps the scale that finds the most nuclei.

HTTP mode

label-image-mcp --http [--host 127.0.0.1] [--port 8765] serves Streamable HTTP at http://HOST:PORT/mcp, so several clients can share one running server:

claude mcp add --transport http label-image http://127.0.0.1:8765/mcp

Hosted mode

label-image-mcp --http --hosted --host 0.0.0.0 is for running the server remotely, for example on AWS Lambda behind the Lambda Web Adapter. It keeps no session state, answers with JSON, and requires Authorization: Bearer <token> on every request; with no token configured it refuses all requests.

Variable

Purpose

MCP_AUTH_TOKEN

The bearer token clients must send

LABEL_CREDENTIALS_SECRET

AWS Secrets Manager secret with username, password and mcp_token, instead of the variables above

LABEL_UPLOAD_URL_HOSTS

Comma-separated hosts upload_image_from_url may download from (recommended when hosted)

LangGraph agent

A terminal chat agent that uses these tools. The graph is START → agent ⇄ tools, with conversation memory kept for the session.

uv tool install "label-image-mcp[agent]"
export ANTHROPIC_API_KEY=... LABEL_USERNAME=... LABEL_PASSWORD=...
label-image-agent

Variable

Default

Purpose

LABEL_AGENT_MODEL

anthropic:claude-sonnet-5-5

Model as provider:model, e.g. openai:gpt-4.1 or ollama:llama3.1 (install langchain-openai / langchain-ollama)

LABEL_MCP_URL

unset

Connect to a running HTTP server instead of starting one

Development

uv sync --extra agent
uv run pytest
npx @modelcontextprotocol/inspector uv run label-image-mcp

In the Image Label app repo, ./start.sh runs this server in HTTP mode next to the web app. It reads credentials from mcp-server/.env. Releases are described in PUBLISHING.md.

License

MIT

Available Tools

23 tools
add_annotationsAdd annotationsA

Append annotations to an image, keeping the existing ones.

Inputs: image_id (required), annotations (required). Returns: object

analyze_slideAnalyse a whole slideA
Idempotent

Analyse a whole-slide image in the background and wait up to wait_seconds for the result.

coverage "sample" (default) analyses up to max_tiles tiles spread over the tissue in a few minutes. "full" analyses every tissue tile (up to 3,000, about 200 mm2) in parallel parts and tints the overview as a density heatmap: a few minutes for a biopsy, longer for big resections. Cell types are on by default for a sample and off for full coverage (they take about 15x longer per tile); set cell_types to change that.

Finds the tissue, samples up to max_tiles tiles of it (256 x 256 um each at 40x) and runs the quality check and StarDist nuclei on each: nuclei per mm2, nuclear size in um2, size variation and enlarged nuclei across the slide, plus per-tile values. With cell_types (default) each nucleus is also typed as tumour, immune, connective tissue, dead or normal epithelial (HoVer-Net, PanNuke weights: research and education only), about 40 seconds a tile, so max_tiles defaults to 12 (16 without cell types). Allow a minute more when the models start. If it's still running when the wait ends, call get_slide_analysis later. An analysis already running is waited for; restart=true starts a new one (e.g. with more tiles).

Inputs: image_id (required), restart, coverage, max_tiles, +2 more. Returns: object

check_image_qualityCheck slide qualityA
Read-onlyIdempotent

Check a histology image's quality before analysing it (HistoQC-style checks).

Measures how much of the image is tissue, blur, marker-pen ink, over- and under-exposure and faint staining. Returns a verdict (good, check or poor), the measurements and plain-language warnings.

Inputs: image_id (required). Returns: object

classify_cellsClassify cell typesA
Idempotent

Classify the nuclei detect_nuclei saved on an H&E image as tumour, immune, connective tissue, dead or normal epithelial cells, and wait up to wait_seconds for the result.

Runs HoVer-Net (PanNuke weights, CC BY-NC-SA 4.0: research and education only) in the background, about 30 to 90 seconds per image: each nucleus annotation is relabelled with its type, and the result has counts, percentages and the immune-to-tumour ratio. Run detect_nuclei first. Needs a 20x or 40x image: coarser images are refused, because enlarging them can't add the detail the model reads. If it's still running when the wait ends, call it again (it waits for the same run).

Inputs: image_id (required), wait_seconds. Returns: object

detect_nucleiDetect nuclei (StarDist)A
DestructiveIdempotent

Find and outline every cell nucleus in an H&E-stained histology image with StarDist, automatically.

No boxes needed: the model finds the nuclei itself (it is trained on H&E; other stains and non-histology images give poor results). Returns the count, density, median nuclear area and how much nuclear size varies (a rough measure of pleomorphism). With mark_enlarged, nuclei over 2.5x the median area are labelled "enlarged nucleus" (in red), the rest "nucleus". The most confident max_nuclei outlines are saved. By default (replace_previous) nuclei saved by an earlier detect_nuclei run on this image are deleted first, so running it again replaces them rather than doubling them; other annotations are never touched. Pass replace_previous=false to keep the earlier nuclei. With microns_per_pixel (the scanner's resolution: often 0.25 at 40x, 0.5 at 20x) the image is resized to the model's best resolution and sizes are also given in square microns and density per square millimetre; without it, the image is resized by the size of its nuclei. The first run after a quiet spell takes up to a minute while the model starts (warm_up("nuclei") avoids the wait).

Inputs: image_id (required), save, max_nuclei, mark_enlarged, +2 more. Returns: object

export_annotationsExport annotationsA
Read-onlyIdempotent

Export an image's annotations: COCO JSON or YOLO (polygons and circles, as the web app exports), or QuPath GeoJSON (File > Import objects in QuPath; nuclei found by StarDist come in as detections).

Inputs: image_id (required), format. Returns: object

export_datasetExport a datasetA
Idempotent

Export several images as ONE training dataset, with one class list so ids mean the same everywhere.

Choose the images by category (case-insensitive) or image_ids (up to 100). coco: one COCO file for all images; yolo: classes plus a label file per image, named after it; qupath: a GeoJSON file per image. classes fixes the class order; other labels follow in first-seen order. With output_dir (a folder on the machine running this server; not available when hosted) the files are written there and only a summary is returned, which suits large datasets such as nuclei.

Inputs: format, classes, category, image_ids, +1 more. Returns: object

find_regionsFind regions (Segment Anything)A
Read-onlyIdempotent

Find the distinct objects in an image automatically, with no boxes needed: returns them numbered, with each one's exact box, and a picture with the numbered outlines drawn on it. Nothing is saved.

Use it before segment_objects when an image has many similar objects (glands, cells, crypts, vessels) or when boxes are hard to place: look at the picture, choose the numbers that are the objects asked for, and pass their boxes unchanged to segment_objects (with model "medsam" for medical images). A region inside another is a part of it (e.g. a gland's lumen inside the gland): choose the one that matches the whole object. Objects not found as a region still need a box of your own. Takes about a minute (a few after a quiet spell, while the model loads); very small objects can be missed.

Inputs: image_id (required), max_size.

get_imageGet image detailsA
Read-onlyIdempotent

Get one image's metadata, all annotations, and a signed viewing URL (valid 24h).

Inputs: image_id (required). Returns: object

get_slide_analysisGet a slide's analysisA
Read-onlyIdempotent

A whole slide's analysis: its status (queued, running with the current step, done or failed), and when done the slide-level summary, each analysed tile (position, nuclei per mm2, enlarged nuclei, quality), the images made from the densest tiles, and a link to every nucleus as QuPath GeoJSON.

Inputs: image_id (required). Returns: object

list_imagesList imagesA
Read-onlyIdempotent

List images saved in Image Label, optionally filtered by category (case-insensitive). Returns summaries; use get_image for annotations and the viewing URL.

Inputs: category. Returns: result

normalize_stainNormalize H&E stainA

Make an H&E image's colours standard (Macenko stain normalization), saved as a NEW image.

Slides from different labs and scanners differ in pink and purple tones; normalizing them makes images comparable and helps models such as detect_nuclei. The original is unchanged. Returns the new image.

Inputs: image_id (required). Returns: object

remove_annotationsRemove annotationsA
DestructiveIdempotent

Remove specific annotations from an image by their ids, keeping all the others.

Use it to delete a few annotations; to change many at once (rename labels, fix shapes) use replace_annotations instead. Get the ids from get_image (each annotation's id field). Ids that are not on the image are ignored, and the rest are removed in one save. Returns the number removed and the new annotation count.

Inputs: image_id (required), annotation_ids (required). Returns: object

replace_annotationsReplace all annotationsA
Destructive

Replace ALL annotations on an image with the given list. Pass an empty list to clear them.

Inputs: image_id (required), annotations (required). Returns: object

segment_objectsOutline objects (Segment Anything)A

Trace precise outlines with Segment Anything and add them as polygon annotations.

Give each object a rough box (or a point on it) in image pixels; the model finds the object's exact edges, so the box only has to contain the object. Prefer this to drawing polygons yourself. model: "sam" for photos and general images; "medsam" for medical images (CT, MRI, X-ray, ultrasound, endoscopy, pathology), which takes boxes only. Up to 20 objects per call. With save=false the outlines are returned without being saved. Each result has the model's quality score (0-1).

Inputs: objects (required), image_id (required), save, model. Returns: object

share_imageShare an image linkA

A link that opens the image, with its current annotations, in the Image Label web app in anyone's browser: the app copies it into that person's own workspace to edit and export, with no account needed.

Anyone with the link can see this one image and its annotations for 7 days; share it only with people who may see the image.

Inputs: image_id (required). Returns: object

update_image_metadataUpdate image detailsA
Idempotent

Update an image's name, category, sub-category or description. Omitted fields are left unchanged.

Inputs: image_id (required), name, category, description, +1 more. Returns: object

upload_imageUpload a local imageA

Upload a local image file (path on the machine running this server) to Image Label.

Inputs: path (required), name, category, description. Returns: object

upload_image_from_urlUpload an image from a URLA

Download an image from an https URL and upload it to Image Label (PNG, JPEG, WebP, GIF, BMP or TIFF, up to 20 MB). Use this for images that are online, e.g. ones attached in a chat.

Inputs: url (required), name, category, description. Returns: object

upload_slideUpload a whole slideA

Upload a whole-slide file (.svs, .ndpi, pyramidal .tif/.tiff, up to 5 GB) from the machine running this server, and start its analysis in the background (see analyze_slide).

Inputs: path (required), name, analyze, category, +2 more. Returns: object

upload_slide_from_urlUpload a whole slide from a URLA

Copy a whole-slide file (.svs, .ndpi, pyramidal .tif/.tiff, up to 5 GB) from an https URL into Image Label, and start its analysis in the background (see analyze_slide).

Inputs: url (required), name, analyze, category, +2 more. Returns: object

view_imageView imageA
Read-onlyIdempotent

Look at an image: returns the picture itself, scaled to at most max_size pixels, with a yellow grid labelled in the ORIGINAL image's pixel coordinates.

Use it before segment_objects or add_annotations to read where objects are (boxes and points are in those coordinates), and with with_annotations=true afterwards to check the outlines. region zooms into part of a large image (x, y, width, height in image pixels), e.g. to see individual nuclei.

Inputs: image_id (required), grid, region, max_size, +1 more.

warm_upWarm up a modelA
Read-onlyIdempotent

Start loading a model ahead of use, without waiting for it: "sam" or "medsam" for segment_objects, "nuclei" for detect_nuclei.

After a quiet spell a model takes a minute or two to start; call this as soon as you know you will need it (for example right after uploading), and do other work meanwhile.

Inputs: model. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 23 tools

    Disambiguation4/5

    Most tools have clearly distinct resource+action boundaries across image management, annotation editing, segmentation, slide analysis, and export. A few adjacent tools such as add_annotations vs segment_objects/detect_nuclei, and upload_slide auto-starting analysis vs analyze_slide, could be confused at first glance, but the descriptions cross-reference them.

    Naming Consistency5/5

    All tool names use lower snake_case with a predictable verb_noun shape, e.g. list_images, upload_image_from_url, export_dataset. Suffixes such as _from_url and _slide_analysis are used consistently and remain readable.

    Tool Count3/5

    At 23 tools, the set is in the heavy 16-25 range. The broad scope of general image labeling plus specialized pathology and whole-slide analysis makes many tools defensible, but the surface still feels somewhat over-scoped for one server.

    Completeness4/5

    Core image lifecycle and annotation lifecycle are well covered: upload/list/get/view/update metadata, add/replace/remove annotations, segmentation, histology analysis, and export. There are still noticeable gaps such as no delete_image/delete_slide and no list_slides operation beyond retrieving a slide analysis.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude to generate and edit images through a live-discovered model catalog, including masked edits and exact output sizes, with browser-based sign-in and cost-annotated saved results. It runs locally over stdio and stores images in a configurable directory.
      7
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding assistants without native vision to analyze screenshots, errors, UI designs, and documents through a unified image understanding tool backed by multiple vision model providers. Supports local files, remote URLs, Data URIs, OCR, multi-crop processing, and stdio or HTTP deployment for shared access.
      544 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI coding agents to generate and edit images with Gemini Nano Banana, OpenAI gpt-image, and Azure AI Foundry FLUX models through one consistent tool interface, writing results straight into project folders with configurable aspect ratio, size, quality, and seed. It also supports reference-image editing, multi-image composition, and both stdio and Streamable HTTP transports.
      MIT