bib-enrich-mcp
Provides tools for enriching BibTeX entries by fetching metadata from the arXiv API, including title, authors, DOI, and publication venue, particularly for preprints.
Provides tools for enriching BibTeX entries by fetching metadata from the DBLP API, including title, authors, DOI, and publication venue, particularly for computer science conferences.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bib-enrich-mcp Find the complete citation for Attention Is All You Need"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bib-enrich-mcp
Writing a paper and your .bib file is a mess? This tool lets AI automatically complete your citations — fill in missing metadata, find publication venues, add DOIs, and even discover if a preprint has been formally published.
Features
Automatic metadata scraping from multiple sources:
arXiv API
DBLP API
CrossRef API
BibTeX parsing and writing with full field support
Batch processing of entire .bib files
MCP integration for use with AI assistants
Related MCP server: io.github.Hylouis233/bibverify
Installation
# Or install with uv (Recommended)
uv tool install bib-enrich-mcp
# Install from PyPI
pip install bib-enrich-mcp
# Or clone and install locally
git clone https://github.com/haoxiangsnr/bib-enrich-mcp.git
cd bib-enrich-mcp
uv syncQuick Start
Step 1: Configure MCP Client
Add the server to your MCP client (e.g., Cherry Studio, Claude Desktop, Cursor):
{
"mcpServers": {
"bib-enrich": {
"command": "bib-enrich-mcp"
}
}
}Step 2: Enable the MCP Server
In your MCP client, enable the bib-enrich server. Look for a tools icon (usually a wrench) in the chat interface.
Step 3: Start Using
Now you can ask the AI to help with your bibliography. Example prompts:
Help me find the complete citation for: Attention Is All You NeedEnrich this BibTeX entry with arXiv ID 2401.12345Process my references.bib file and fill in missing metadataThe AI will automatically call the appropriate tools to fetch metadata from arXiv, DBLP, and CrossRef.
Usage
As an MCP Server
Add to your MCP client configuration:
{
"mcpServers": {
"bib-enrich": {
"command": "bib-enrich-mcp"
}
}
}Running the Server
bib-enrich-mcpAPI Documentation
MCP Tools
mcp_enrich_bib_entry
Enrich a single bibliography entry by scraping metadata from academic sources.
Parameters:
cite_key(required): The citation key for the entrytitle(optional): Paper title to search forarxiv_id(optional): arXiv ID (e.g., "2401.12345")doi(optional): DOI of the paper
Returns: BibTeX string with enriched metadata
Example:
result = await mcp_enrich_bib_entry(
cite_key="vaswani2017attention",
title="Attention Is All You Need"
)mcp_enrich_bib_file
Enrich all entries in a BibTeX file.
Parameters:
file_path(required): Path to the .bib file
Returns: Summary of enriched entries
Example:
result = await mcp_enrich_bib_file("/path/to/references.bib")
# Returns: "Enriched 5/10 entries in /path/to/references.bib"Python API
You can also use the library directly in Python:
from bib_enrich_mcp.bib_parser import parse_bib_file, write_bib_file
from bib_enrich_mcp.scrapers import scrape_metadata
# Parse a bib file
entries = parse_bib_file("references.bib")
# Scrape metadata for a paper
results = await scrape_metadata(
title="Attention Is All You Need",
arxiv_id="1706.03762"
)Supported Metadata Sources
Source | Search by Title | Search by ID | Notes |
arXiv | ✅ | ✅ (arXiv ID) | Best for preprints |
DBLP | ✅ | ❌ | Best for CS conferences |
CrossRef | ✅ | ✅ (DOI) | Best for journals |
Development
Running Tests
uv run pytest tests/ -vProject Structure
bib-enrich-mcp/
├── src/bib_enrich_mcp/
│ ├── __init__.py
│ ├── bib_parser.py # BibTeX parsing/writing
│ ├── scrapers.py # Metadata scrapers
│ └── server.py # MCP server
├── tests/
│ ├── test_bib_parser.py
│ ├── test_scrapers.py
│ └── test_server.py
├── pyproject.toml
└── README.mdLicense
MIT
Available Tools
2 toolsmcp_enrich_bib_entryC
Enrich a bibliography entry by scraping metadata.
Args: cite_key: The citation key for the entry title: Paper title to search for arxiv_id: arXiv ID (e.g., 2401.12345) doi: DOI of the paper
Returns: BibTeX string with enriched metadata
Inputs: cite_key (required), doi, title, arxiv_id. Returns: result
mcp_enrich_bib_fileC
Enrich all entries in a BibTeX file.
Args: file_path: Path to the .bib file
Returns: Summary of enriched entries
Inputs: file_path (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one enriches a single bibliography entry by accepting specific identifiers, while the other enriches all entries in a BibTeX file. No overlap in functionality.
Both tools follow a consistent naming pattern with the prefix 'mcp_enrich_bib_' followed by a specific suffix ('entry' and 'file'). The naming is uniform and predictable.
The server has only 2 tools, which is on the low end. For a focused enrichment task, this may be acceptable, but it feels slightly under-scoped compared to typical MCP servers that often offer 3-15 tools.
The server covers the core enrichment functionality but lacks additional tools for operations like searching for entries, validating BibTeX, or undoing enrichments. The surface is minimal and may leave agents with dead ends.
Related MCP Connectors
Catch AI-fabricated citations (real DOI + fake title). Retraction, open-access, 10,000+ CSL styles.
Check AI references against Crossref and DataCite. DOI/arXiv metadata checks, plus tool discovery.
Turn DOIs, ISBNs, arXiv or PubMed ids into verified references and export them in any style.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to verify BibTeX citations and URLs against academic databases like Semantic Scholar and DBLP. It allows users to ensure bibliography accuracy and link accessibility directly within their research workflows.1MIT
- AlicenseNot gradedqualityBmaintenanceA multi-platform BibTeX reference verification and update tool with DOI-first lookup, dynamic source ranking, MCP tools, and skill export for AI assistants.60 PyPI98MIT
- AlicenseAqualityDmaintenanceEnables AI agents and LLM tools to verify academic citations against real literature, detect hallucinated references, retrieve authoritative metadata and DOIs, generate BibTeX/APA/IEEE citations, and search over 200M+ scientific publications via MCP tools.323 npmMIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to verify BibTeX records against multiple bibliographic sources, resolve DOI/PMID/PMCID/arXiv identifiers, and inspect explainable metadata matches without destructive edits.-