Claude Scientific Writer

🚀 Looking for more advanced capabilities? For end-to-end scientific writing, deep scientific search, advanced image generation and enterprise solutions, visit www.k-dense.ai
Stay up to date: Read the K-Dense blog, and follow us on X, LinkedIn, and YouTube for new features, release announcements, walkthroughs, research workflow demos, and examples you can use with Scientific Writer. See From the K-Dense Blog for posts that map to this tool.
🎬 Prefer to watch first? The Open Source, Locally-Hosted Scientific Writer Workflow shows the writer researching and drafting a paper end to end. More walkthroughs on the K-Dense YouTube channel.
A deep research and writing tool that combines the power of AI-driven deep research with well-formatted written outputs. Generate publication-ready scientific papers, reports, posters, grant proposals, literature reviews, and more academic documents—all backed by real-time literature search and verified citations.
Scientific Writer performs comprehensive research before writing, ensuring every claim is supported by real, verifiable sources. Features include real-time research lookup through Parallel Search and Extract, intelligent paper detection, comprehensive document conversion, and AI-powered diagram generation. You can use it as a Claude Code plugin, Python package, or native CLI. The announcement post, Claude Scientific Writer: Our Open Source Tool for AI-Powered Research Writing, covers why we built it and what it produces.
Quick Start
Prerequisites
- Python 3.10 or newer
- ANTHROPIC_API_KEY (required)
- Parallel CLI authentication (
parallel-cli login) or PARALLEL_API_KEY
- OPENROUTER_API_KEY (optional, for AI image generation: schematics, figures, slides, and infographics)
- A LaTeX distribution for PDF generation (
pdflatex, bibtex, and preferably latexmk)
- Optional: LibreOffice for Office rendering/recalculation and FFmpeg for media conversion
Installation Options
Option 1: Claude Code Plugin (Recommended) ⭐
The easiest way to use Scientific Writer is as a Claude Code plugin. See the Plugin Installation section below.
Option 2: Install from PyPI (CLI/API Usage)
pip install scientific-writer
# Optional bundled-script runtimes
pip install "scientific-writer[analysis]" # cohort statistics and survival analysis
pip install "scientific-writer[office]" # DOCX/PPTX/XLSX and MarkItDown helpers
Option 3: Install from source with uv
git clone https://github.com/K-Dense-AI/claude-scientific-writer.git
cd claude-scientific-writer
uv sync
Configure API keys
# .env file (recommended) — see .env.example for the full list
echo "ANTHROPIC_API_KEY=your_key" > .env
echo "PARALLEL_API_KEY=your_parallel_key" >> .env # research lookup and web search
echo "OPENROUTER_API_KEY=your_openrouter_key" >> .env # optional: AI image generation
# or export in your shell
export ANTHROPIC_API_KEY='your_key'
Install and authenticate the research CLI when it is not already available:
uv tool install "parallel-web-tools[cli]==0.7.1"
parallel-cli login
parallel-cli auth
Usage Options
Use as Plugin (Recommended)
After installing the plugin and running /claude-scientific-writer:scientific-writer-init, simply ask Claude:
> Create a Nature paper on CRISPR gene editing. Present experimental_data.csv
(efficiency across 5 cell lines), include Western_blot.png and flow_cytometry.png
showing 87% editing efficiency (p<0.001). Compare with literature benchmarks.