# mcp-florence2

This MCP server connects Florence-2 to an agent for OCR, image captions, and custom image processing. It can work with local files and URLs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 7
- Author: jkawamoto
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/jkawamoto/mcp-florence2
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-florence2

## What it does

mcp-florence2 sends images and PDF files to Florence-2 for analysis. Its `ocr` tool pulls text from an image, `caption` creates a description, and `process` accepts a custom prompt alongside the source image.

Each tool takes `src`, which can be a file path or URL. `process` also needs `prompt`, so the agent can request a focused result from the model. The manual setup runs the server through `uvx` from `jkawamoto/mcp-florence2`; that launcher is required for this configuration to start.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- extract text from an image with OCR
- generate a caption for a screenshot
- send an image to Florence-2 with a custom prompt
- read content from a local file or image URL

## Example prompts
- Read the text in the image at `src` and return the OCR result.
- Create a concise caption for the image at `src`.
- Process `src` with this prompt: identify every form field visible in the image.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107701
- [Agent Skills Search Server](https://affpapa.org/en/nevibecode/mcp/agent-skills-search-server.md) — MCP server · ★ 26673
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [PraisonAI](https://affpapa.org/en/nevibecode/mcp/praisonai.md) — MCP server · ★ 9298

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
