Skip to content

Installation

Requirements

  • Python 3.10 or higher
  • pip or uv package manager

Install from PyPI

pip install papersmith

Optional Dependencies

papersmith has optional extras for specific features:

pip install papersmith[mcp]

Installs the MCP (Model Context Protocol) server dependencies for use with Claude Desktop, Cursor, and other LLM clients.

pip install papersmith[charts]

Installs matplotlib for embedding bar, line, pie, and scatter charts.

pip install papersmith[pdf]

Installs docx2pdf for converting documents to PDF. Requires Microsoft Office or LibreOffice.

pip install papersmith[mcp,charts,pdf]

Development Installation

git clone https://github.com/imnb57/papersmith.git
cd papersmith
pip install -e ".[dev]"

This installs all development dependencies including pytest, ruff, mypy, and mkdocs.

Verify Installation

import papersmith
print(papersmith.__version__)
papersmith version