Skip to main content

Florence-2 MCP Server

Python Application GitHub License pre-commit Ruff

MseeP.ai Security Assessment Badge

An MCP server for processing images using Florence-2.

You can process images or PDF files stored on a local or web server to extract text using OCR (Optical Character Recognition) or generate descriptive captions summarizing the content of the images.

Installation

For Claude Desktop

Download the latest MCP bundle mcp-florence2.mcpb from the Releases page, then open the downloaded .mcpb file or drag it into the Claude Desktop's Settings window.

You can also manually configure this server for Claude Desktop. Edit the claude_desktop_config.json file by adding the following entry under mcpServers:

{
  "mcpServers": {
    "florence-2": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/jkawamoto/mcp-florence2",
        "mcp-florence2"
      ]
    }
  }
}

After editing, restart the application. For more information, see: For Claude Desktop Users - Model Context Protocol.

For Goose CLI

To enable the Bear extension in Goose CLI, edit the configuration file ~/.config/goose/config.yaml to include the following entry:

extensions:
  bear:
    name: Florence-2
    cmd: uvx
    args: [ --from, git+https://github.com/jkawamoto/mcp-florence2, mcp-florence2 ]
    enabled: true
    type: stdio

For Goose Desktop

Add a new extension with the following settings:

  • Type: Standard IO
  • ID: florence-2
  • Name: Florence-2
  • Description: An MCP server for processing images using Florence-2
  • Command: uvx --from git+https://github.com/jkawamoto/mcp-florence2 mcp-florence2

For more details on configuring MCP servers in Goose Desktop, refer to the documentation: Using Extensions - MCP Servers.

For LM Studio

To configure this server for LM Studio, click the button below.

Add MCP Server florence-2 to LM Studio

Tools

ocr

Process an image file or URL using OCR to extract text.

Arguments:

  • src: A file path or URL to the image file that needs to be processed.

caption

Processes an image file and generates captions for the image.

Arguments:

  • src: A file path or URL to the image file that needs to be processed.

License

This application is licensed under the MIT License. See the LICENSE file for more details.

Metadata

Release files for iflow-mcp_jkawamoto_mcp-florence2 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_jkawamoto_mcp-florence2 0.3.4
File Size Uploaded
iflow_mcp_jkawamoto_mcp_florence2-0.3.4.tar.gz 99.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_jkawamoto_mcp-florence2 0.3.4
File Interpreter ABI Platform
iflow_mcp_jkawamoto_mcp_florence2-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 108.3 kB

Release files / iflow_mcp_jkawamoto_mcp_florence2-0.3.4.tar.gz

Download URL iflow_mcp_jkawamoto_mcp_florence2-0.3.4.tar.gz
Size 99.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ffad112ab8b8e23da29e8afcc9be9fd3c86680a0afe3fc23357556e392a887a9
BLAKE2b-256 checksum
How to use checksums
b36814cfb3f9df5e56782ad50ed2ba16b8e46d91775c3c225ceda0ed6be76112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_jkawamoto_mcp_florence2-0.3.4-py3-none-any.whl

Download URL iflow_mcp_jkawamoto_mcp_florence2-0.3.4-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79b34f8f35820b85b3f2f4187e7f86db943aa9a75ca66db42812c0ac5efd258e
BLAKE2b-256 checksum
How to use checksums
015b29c6938c92381d0436e479afd60f33cdd139b7fd8662ef97a9c76e38ba8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page