Skip to main content

Ship-ready MCP server for Gemini + Imagen diagram/plot generation. Runs on Claude, ChatGPT, VSCode Copilot, Cursor.

Project description

figurify-mcp

PyPI Python CI License

An MCP server that adds image generation to Claude, Cursor, VSCode Copilot, and any other MCP-compatible host that does not have native image generation.

Currently supports Google Gemini + Imagen. Support for other image-generation providers is on the roadmap.

Install

pip install figurify-mcp

You will need a Gemini API key — create one at aistudio.google.com/apikey.

Setup in your host

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "figurify": {
      "command": "uvx",
      "args": ["figurify-mcp"],
      "env": { "GOOGLE_API_KEY": "your-key" }
    }
  }
}

Claude Code / Cursor

claude mcp add figurify -s user \
  -e GOOGLE_API_KEY=$GOOGLE_API_KEY \
  -- uvx figurify-mcp

VSCode Copilot

Create .vscode/mcp.json:

{
  "servers": {
    "figurify": {
      "command": "uvx",
      "args": ["figurify-mcp"],
      "env": { "GOOGLE_API_KEY": "your-key" }
    }
  }
}

Restart the host. Ten tools become available automatically.

Tools

Tool What it does
create_simple_diagram Prompt → image. One call.
create_infographic Topic → styled poster (VLM designs layout, Imagen renders).
create_methodology_diagram Academic paper figure with iterative critique.
create_statistical_plot Tabular data → matplotlib chart.
evaluate_diagram VLM-as-judge comparison of two diagrams.

Five additional meta-tools help the host pick the right tool without loading every schema upfront: search_tools, describe_tool, recommend_model, estimate_cost, list_available_models.

All generation tools default to 1K resolution so images render inline without hitting the ~1 MB tool-result cap enforced by Claude.

Configuration

All environment variables are optional except GOOGLE_API_KEY.

Variable Default Description
GOOGLE_API_KEY required Gemini + Imagen API key
FIGURIFY_OUTPUT_DIR ~/.figurify/outputs Where generated PNGs are saved
FIGURIFY_VLM_MODEL auto-routed Pin a specific Gemini text/vision model
FIGURIFY_IMAGE_MODEL auto-routed Pin a specific image-generation model
FIGURIFY_MAX_METHODOLOGY_ITERATIONS 4 Upper bound for the critique loop

Transports

figurify-mcp                                             # stdio (default)
figurify-mcp --transport http --host 0.0.0.0 --port 8765 # streamable HTTP

Stdio is what hosts like Claude Desktop use. HTTP is useful for remote deployments (ChatGPT Apps SDK, VSCode Copilot remote MCP).

Development

git clone https://github.com/genaimanoj/figurify-mcp
cd figurify-mcp
uv venv && source .venv/bin/activate
uv pip install -e '.[dev]'
cp .env.example .env   # set GOOGLE_API_KEY
pytest -q

Issues, feature requests, and pull requests welcome at github.com/genaimanoj/figurify-mcp.

License

MIT · © 2026 Manoj Bhandari

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

figurify_mcp-0.2.2.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

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

figurify_mcp-0.2.2-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file figurify_mcp-0.2.2.tar.gz.

File metadata

  • Download URL: figurify_mcp-0.2.2.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for figurify_mcp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 88441829699d55a5e52861f41de4f08e19c30e51a205f1bfd0ffa012d587f647
MD5 9dfa150fe7e6674f1f1204c5758ee763
BLAKE2b-256 1c2a8ec195b15b5e9c771d0c999032bbcf29957feef8b8e764b9b1a98f5f4e0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for figurify_mcp-0.2.2.tar.gz:

Publisher: ci.yml on genaimanoj/figurify-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file figurify_mcp-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: figurify_mcp-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for figurify_mcp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6fb55b89d7470fe66d5c8290b0cec7d8046104c96bf95519e12c1ad0478534
MD5 2fb2884e3071bcce40d1fc1ee92a9984
BLAKE2b-256 5ac18766e141212ff94c113742cd42662c2df39919318df4c3403dd6054af47b

See more details on using hashes here.

Provenance

The following attestation bundles were made for figurify_mcp-0.2.2-py3-none-any.whl:

Publisher: ci.yml on genaimanoj/figurify-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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