AXM bibliographic tools — DOI resolution, BibTeX retrieval, paper search & PDF download
Project description
axm-bib
Bibliographic tools: search papers, resolve DOIs to BibTeX, download open-access PDFs.
Features
- 🔍 Search — Find papers by title/keywords (Semantic Scholar + CrossRef fallback)
- 📖 DOI → BibTeX — Resolve any DOI to a BibTeX entry (CrossRef)
- 📥 PDF Download — Download open-access PDFs (Unpaywall + arXiv fallback)
- 🤖 MCP Integration — Auto-discovered tools via
axm-mcp
Installation
uv add axm-bib
Quick Start
# Search papers
axm-bib search "attention is all you need" -n 5
# Resolve a DOI to BibTeX
axm-bib doi 10.1145/363235.363259
# Download an open-access PDF
axm-bib pdf 10.48550/arXiv.1706.03762
CLI Options
axm-bib search
| Option | Default | Description |
|---|---|---|
QUERY |
required | Search query (title, keywords) |
--limit, -n |
5 | Max results (1–100) |
--abstract/--no-abstract |
True |
Show paper abstracts |
--abstract-len |
0 (full) | Truncate abstracts to N chars |
axm-bib doi
| Option | Description |
|---|---|
DOI |
Digital Object Identifier to resolve |
axm-bib pdf
| Option | Default | Description |
|---|---|---|
DOI |
required | DOI of the paper |
--output, -o |
auto | Output directory |
MCP Integration
axm-bib tools are automatically discovered by axm-mcp:
search_paper(query, limit)— Search papersdoi_to_bibtex(doi)— Resolve DOIget_pdf(doi)— Download PDF
Configuration
| Variable | Purpose |
|---|---|
UNPAYWALL_EMAIL |
Email for Unpaywall API (prompted on first use) |
S2_API_KEY |
Optional Semantic Scholar API key for higher rate limits |
Config file: ~/.config/axm-bib/config.toml
Development
git clone https://github.com/axm-protocols/axm-bib.git
cd axm-bib
uv sync --all-extras
uv run pytest # 122 tests, 93% coverage
uv run ruff check src/ # lint
License
Apache License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
axm_bib-0.1.0.tar.gz
(37.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
axm_bib-0.1.0-py3-none-any.whl
(23.4 kB
view details)
File details
Details for the file axm_bib-0.1.0.tar.gz.
File metadata
- Download URL: axm_bib-0.1.0.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36b625d0038878ede70c9ae4f10a42ba789a2ea901d9dd3a0455e5b928623826
|
|
| MD5 |
fb7c9fd99fb600c8ec29d9735a8244ff
|
|
| BLAKE2b-256 |
f8793c40e339952dfc49040e604b1da51114b5f32039d61cfe3fc1e47069d555
|
File details
Details for the file axm_bib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: axm_bib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75d5dd4ed45843ca04d3b1d76285791bfdd8e82f6ffd9a2446ec745ffdbb1012
|
|
| MD5 |
ce1255d288733d30220b3c4d7a33fc5c
|
|
| BLAKE2b-256 |
e9f37cfa305989a987581ea6f00b5921d2129fad72ab544bad0042d8b6a330b2
|