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 PDFpaperbanana 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
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
paperbananaHelps your agent turn a paper's method text and caption into a publication-style diagram, using an API key you provide.academic-plottingHelps your agent make publication-quality figures for ML papers, from architecture diagrams to data charts.paper-figureHelps your agent create publication-quality plots, comparison tables, and multi-panel figures from experiment results for a paper. Not for architecture diagrams.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 setupfor 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.