Skip to main content

Academic literature search, citation management, and PDF retrieval CLI

Project description

OpenCite

Academic literature search, citation management, and PDF retrieval CLI.

Searches Semantic Scholar, OpenAlex, and PubMed in parallel, deduplicates results, and supports BibTeX output, citation graph traversal, PDF retrieval, and PDF-to-markdown conversion.

Installation

pip install opencite

With PDF conversion support:

pip install opencite[convert]

For development:

git clone https://github.com/neuromechanist/opencite.git
cd opencite
uv sync --extra dev

Claude Code Plugin

OpenCite is available as a Claude Code plugin, giving Claude direct access to academic literature search and citation management.

To install:

  1. Open Claude Code
  2. Type /plugin and press Enter
  3. Select "Add marketplace"
  4. Enter neuromechanist/opencite
  5. Restart Claude Code

Once installed, use /opencite or ask Claude to search for papers, look up DOIs, get BibTeX, etc.

Quick Start

# Search for papers
opencite search "transformer attention mechanism"

# Look up a paper by DOI
opencite lookup 10.1038/nature12345

# Find most-cited papers in a field
opencite canonical "deep learning for neuroscience" --min-citations 500

# Get papers citing a specific work
opencite cite 10.1038/nature12345

# Download a PDF
opencite pdf 10.1038/nature12345 -o papers/

Configuration

Set API keys in a .env file or as environment variables:

SEMANTIC_SCHOLAR_API_KEY=your_key
PUBMED_API_KEY=your_key
OPENALEX_API_KEY=your_key
MISTRAL_API_KEY=your_key          # for PDF-to-markdown via Mistral OCR

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencite-0.1.1.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencite-0.1.1-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file opencite-0.1.1.tar.gz.

File metadata

  • Download URL: opencite-0.1.1.tar.gz
  • Upload date:
  • Size: 55.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opencite-0.1.1.tar.gz
Algorithm Hash digest
SHA256 863bd5ab508b00b70a562c97eb6a325a55c9c6fa97e933f6888c3de4228e6de5
MD5 83ba26dc10beee392e52f045d9486746
BLAKE2b-256 b4683f7cf487e0854cea7fe8cbedaa4e8f99ae3920ce546c627cbe55d664147d

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencite-0.1.1.tar.gz:

Publisher: publish.yml on neuromechanist/opencite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opencite-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: opencite-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opencite-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23366829c781b48d8d24baf3618d7a837eb44edb558f2db924597edb0f8a386e
MD5 b810ef0044e6bd50a99655ed5fe2b86c
BLAKE2b-256 add862b60f1a205da76aa99673f9949bdae46bc5df10bb44e835b015d25a0224

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencite-0.1.1-py3-none-any.whl:

Publisher: publish.yml on neuromechanist/opencite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page