Skip to main content

An MCP server for processing images using Florence-2

Project description

Florence-2 MCP Server

Python Application GitHub License pre-commit Ruff smithery 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

To configure this server for Claude Desktop, edit the claude_desktop_config.json file with 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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_mcp_florence2-0.3.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_mcp_florence2-0.3.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_florence2-0.3.3.tar.gz.

File metadata

  • Download URL: mseep_mcp_florence2-0.3.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_mcp_florence2-0.3.3.tar.gz
Algorithm Hash digest
SHA256 b013669e66697241bbed41345c59e32ec6e61b792564341822ca44267c85e539
MD5 802101345911b853dcfead6e3dffe672
BLAKE2b-256 08e53d9d71bc8c721dc3c255a94aa36f75b4fee2ecfd840f828362bf57d9caa5

See more details on using hashes here.

File details

Details for the file mseep_mcp_florence2-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_florence2-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2509e301cf644ae95f8dec82cf9cc0307d0bfc1836d57dab28c78dbc6e1e52
MD5 c7d0f5a9214ae70478f05c4c06d1a192
BLAKE2b-256 34abee27bb89858aab15d75036154cc1cb5a5593dc89b88f1b3eeed7486de0a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page