Usage
- •Scope: DBLP search, fuzzy title/author lookup, venue info, BibTeX collect/export, stats. No MCP server needed.
- •Entry:
scripts/dblp_cli.py(executable). Depends onrequests; needs network access tohttps://dblp.org/. - •State: BibTeX buffer stored at
~/.codex/dblp-skill/state.json, cleared afterexport-bibtex.
Common commands
bash
scripts/dblp_cli.py search --query "transformer and retrieval" --max-results 5 --year-from 2018 --venue-filter iclr scripts/dblp_cli.py fuzzy --title "attention is all you need" --similarity-threshold 0.6 --max-results 5 --include-bibtex scripts/dblp_cli.py author --name "Geoffrey Hinton" --similarity-threshold 0.7 --max-results 10 scripts/dblp_cli.py venue --name ICLR scripts/dblp_cli.py stats --input results.json # or --input - scripts/dblp_cli.py add-bibtex --dblp-key conf/nips/VaswaniSPUJGKP17 --citation-key Vaswani2017 scripts/dblp_cli.py export-bibtex --path /tmp/refs.bib
Parameter notes
- •
searchsupports--year-from/--year-toand--venue-filter;--include-bibtexfetches BibTeX. - •
fuzzy/authoruse--similarity-thresholdin [0,1]; higher is stricter. - •
statsexpects an array withtitle/authors/venue/year; supports stdin via--input -. - •
add-bibtexstrips.bibsuffix ordblp.org/rec/prefix and overwrites duplicate citation keys. - •
export-bibtexappends.bib, creates parent dirs, and clears the buffer after export.
Tips
- •Use
searchorfuzzyto getdblp_key, then immediatelyadd-bibtex, and export once at the end. - •Add author/year hints for better hits, e.g.
--query "attention vaswani 2017". - •DBLP may rate-limit; keep request rate reasonable.