Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyDesign and media

PaperBanana

Lets your AI agent create academic diagrams and statistical plots from text descriptions.

2.5k stars on GitHubby LLMs Research (llmsresearch)License MITUpdated 2 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add paperbanana -- uvx paperbanana

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Draw an overview diagram of our encoder-decoder architecture with sparse routing.
Make the arrows thicker and the colors more distinct in the last figure.

What it is

PaperBanana is an open-source, unofficial implementation of a research paper on automating academic illustration. A set of AI agents plans, draws and critiques a figure from your method text and caption. It works as a command line tool, a Python API and an MCP server.

What it can do

  • paperbanana generate: methodology diagrams from text or PDF
  • paperbanana plot-batch: many statistical plots from one manifest
  • Batch generation from a YAML or JSON manifest
  • paperbanana studio: local web interface
  • Claude Code skills /generate-diagram, /generate-plot, /evaluate-diagram

When to use

  • β€ΊWhen you need a clean method diagram for a research paper.
  • β€ΊWhen you want to turn CSV or JSON data into statistical plots.
  • β€ΊWhen you want to refine a figure by giving feedback and regenerating it.

What you need

Python 3.10+ and an API key for OpenAI, Azure OpenAI, Google Gemini or Atlas Cloud. A Gemini key can be free from Google AI Studio.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The code is open source. You pay the model provider for API use; Gemini offers a free key.

Is it the official Google Research tool?

No. It is an unofficial community implementation and is not affiliated with the paper's authors or Google Research.

Which providers does it support?

OpenAI, Azure OpenAI, Google Gemini, Atlas Cloud and OpenRouter.

How do I install it?

Run pip install paperbanana.

Where does the output go?

To outputs/run_<timestamp>/final_output.png along with intermediate iterations and metadata.

Can it read PDFs?

Yes, with the optional paperbanana[pdf] extra.

If it does not work

  • β€ΊCopy .env.example to .env and add your API key, or run paperbanana setup for Gemini.
  • β€ΊCheck that Python 3.10 or newer is installed.
  • β€ΊFor PDF input, install the extra with pip install 'paperbanana[pdf]'.

5 new skills a week. 1 minute to read.