ClaudeCodeMod

All shelves / Marketplaces

dnvriend/bibtex-tool

dnvriend/bibtex-tool · 0 stars · 1 plugin

Marketplace A CLI tool that extracts metadata from PDFs and markdown files to generate BibTeX bibliography entries.

Install

In Claude Code
/plugin marketplace add dnvriend/bibtex-tool

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 1

After adding the marketplace, install one with /plugin install <name>@bibtex-tool.

  1. 1bibtex-toolA Python CLI tool/plugin install bibtex-tool@bibtex-tool

Files

README.md

bibtex-tool

bibtex-tool logo

Python Version License: MIT Code style: ruff Type checked: mypy Built with Claude Code

A CLI tool that extracts metadata from PDFs and markdown files to generate BibTeX bibliography entries.

Features

  • Extract DOIs from PDFs and query CrossRef for metadata
  • Parse markdown transcripts with APA-style citations
  • Deduplicate entries with interactive conflict resolution
  • Sort bibliography entries alphabetically
  • OpenTelemetry observability support
  • Shell completion for bash, zsh, and fish

Installation

Prerequisites
  • Python 3.14+
  • uv package manager
Install from source
git clone https://github.com/dnvriend/bibtex-tool.git
cd bibtex-tool
uv tool install .
Verify installation
bibtex-tool --version

Usage

# Generate BibTeX from PDFs
bibtex-tool generate "**/*.pdf" refs.bib

# Generate from markdown transcripts
bibtex-tool generate "*.md" refs.bib --base-dir ~/Documents

# Remove duplicates (interactive)
bibtex-tool deduplicate refs.bib clean.bib

# Remove duplicates (auto-keep first)
bibtex-tool deduplicate refs.bib clean.bib --auto

# Sort entries alphabetically
bibtex-tool sort refs.bib sorted.bib

# Enable verbose output
bibtex-tool generate "**/*.pdf" refs.bib -vv
Command Reference
Command Description
generate PATTERN OUTPUT Extract metadata and create .bib entries
deduplicate INPUT OUTPUT Remove duplicate entries by citation key
sort INPUT OUTPUT Sort entries alphabetically (a-z, then 0-9)
completion generate SHELL Generate shell completion script
Global Options
Option Description
-v, -vv, -vvv Verbosity level (INFO, DEBUG, TRACE)
--telemetry Enable OpenTelemetry tracing
--version Show version
--help Show help

Shell Completion

# Bash (add to ~/.bashrc)
eval "$(bibtex-tool completion generate bash)"

# Zsh (add to ~/.zshrc)
eval "$(bibtex-tool completion generate zsh)"

# Fish
bibtex-tool completion generate fish > ~/.config/fish/completions/bibtex-tool.fish

Development

make install      # Install dependencies
make check        # Run lint, typecheck, test, security
make pipeline     # Full CI pipeline

See CLAUDE.md for detailed development documentation.

License

MIT License - see LICENSE for details.

Author

Dennis Vriend - @dnvriend

Facts

Kind
Marketplace
Repo
dnvriend/bibtex-tool
Group
Uncategorized
Stars
0
Marketplace name
bibtex-tool
Owner
Dennis Vriend
License
MIT
Language
Python
Created
2026-01-18
Last push
2026-01-18
Plugins
1

From the same owner

  1. 2177dnvriend/elevenlabs-tts-tooldnvriend/elevenlabs-tts-tool0
  2. 2178dnvriend/gemini-file-search-tooldnvriend/gemini-file-search-tool0
  3. 2179dnvriend/gemini-google-maps-tooldnvriend/gemini-google-maps-tool0
  4. 2180dnvriend/gemini-google-search-tooldnvriend/gemini-google-search-tool0
  5. 2181dnvriend/openai-tts-tooldnvriend/openai-tts-tool0
  6. 2182dnvriend/paste-image-to-file-tooldnvriend/paste-image-to-file-tool0