# PaperBanana [Health: Active]

**Category:** 📊 Data Visualization  
**Repository:** https://github.com/llmsresearch/paperbanana  
**GitHub Stars:** 2508  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/paperbanana

## Description
Generate academic diagrams and statistical plots from text using multi-agent AI.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "paperbanana": {
    "command": "uvx",
    "args": ["paperbanana"],
    "env": {
      "OPENAI_API_KEY": "",
      "GOOGLE_API_KEY": "",
      "OPENAI_BASE_URL": "",
      "GOOGLE_BASE_URL": "",
      "GOOGLE_VLM_MODEL": "",
      "GOOGLE_IMAGE_MODEL": ""
    }
  }
}
```

**Requires environment variables:** `OPENAI_API_KEY`, `GOOGLE_API_KEY`, `OPENAI_BASE_URL`, `GOOGLE_BASE_URL`, `GOOGLE_VLM_MODEL`, `GOOGLE_IMAGE_MODEL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What PaperBanana MCP server does

PaperBanana MCP server turns textual descriptions of research methods into academic diagrams and produces statistical plots from structured inputs. It is aimed at AI-assisted research workflows where an agent needs to create a visual explanation of a model, system, or experiment rather than only return prose.

The implementation is an unofficial, community-maintained version based on the published PaperBanana paper. It is not affiliated with or endorsed by the paper’s authors or Google Research, so generated results and behavior may differ from the original system.

## How it works

PaperBanana MCP server uses a multi-agent workflow with two main phases. A generation stage then creates the requested illustration or plot and can refine the result over multiple iterations.

The workflow supports automatic refinement and continuation of an earlier run with user feedback. Results include a final image as well as intermediate iterations and metadata when using the documented generation flow. PDF files can optionally provide methodological context, with page selection available when the PDF support is installed.

The project supports OpenAI models, Azure OpenAI or Foundry endpoints, Google Gemini, and Atlas Cloud. Provider selection and model behavior depend on the configured credentials and settings.

## Setup and configuration

Install the Python package with `pip install paperbanana`. The documented prerequisites include Python 3.10 or newer and an API credential for either OpenAI-compatible access or Google Gemini. The repository also supports installation from source and provides a Docker workflow.

Set provider credentials through environment variables or a `.env` file. The documented variables include `OPENAI_API_KEY` and `GOOGLE_API_KEY`. Azure OpenAI or Foundry deployments can use `OPENAI_BASE_URL`; Gemini deployments can override the service URL and model settings. A setup wizard is available for Gemini configuration.

The package can run through its CLI, Python API, MCP server, or optional local Gradio Studio. Studio is installed separately and provides a browser interface for diagrams, plots, evaluation, batch jobs, run continuation, and browsing generated output folders.

## Tools and capabilities

The PaperBanana MCP server supports agent-facing generation of academic diagrams and statistical plots from text. The surrounding project documents these related capabilities:

- Generate methodology diagrams from an input text file and caption.
- Produce statistical plots from CSV or JSON items in a batch manifest.
- Optimize source text before generation.
- Refine output automatically or continue a previous run with feedback.
- Generate multiple diagrams or plots from YAML or JSON manifests.
- Use selected PDF pages as additional methodology context.

The repository also exposes Claude Code skills for diagram generation, plot generation, and diagram evaluation, but those skills are separate from the general MCP interface.

## Limitations and notes

Provider access requires the corresponding API credentials, and generated output depends on the selected provider and model. PDF support is optional and requires the PDF extra. Studio is also optional and requires its Gradio extra.

Review generated diagrams and plots before using them in research materials.

PaperBanana MCP server is an unofficial implementation of a research system.

_Full upstream README: https://allmcps.com/mcp/paperbanana/readme_

