DOI to BibTeX MCP Server
Converts DOI identifiers to BibTeX format using the official DOI content negotiation API, fetching bibliographic data directly from publishers and registration agencies.
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., "@DOI to BibTeX MCP Serverget BibTeX for doi:10.1038/nature12373"
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.
DOI to BibTeX MCP Server
An MCP (Model Context Protocol) server that converts DOIs to BibTeX format using the official DOI content negotiation API.
How It Works
This server uses DOI content negotiation to fetch BibTeX entries directly from doi.org. When you provide a DOI, it makes an HTTP request with the Accept: application/x-bibtex header to get the bibliographic data in BibTeX format.
Related MCP server: bib-enrich-mcp
Deployment Options
Option 1: Free Railway Deployment (Recommended for Claude Web)
Railway offers a free tier perfect for hosting this MCP server:
Create a Railway account at https://railway.app (free)
Create a new project:
Click "New Project"
Select "Deploy from GitHub repo"
Connect your GitHub account
Push these files to a GitHub repo
Select your repository
Railway will automatically:
Detect the Dockerfile
Build and deploy your server
Give you a public URL like
https://your-app.up.railway.app
Add to Claude Web:
Go to Settings > Integrations in Claude.ai
Click "+ Add Custom Integration"
Enter name: "DOI to BibTeX"
Enter URL:
https://your-app.up.railway.app/sseClick Connect
Railway Free Tier: $5/month credit, enough for thousands of DOI conversions
Option 2: Claude Desktop (Local)
Install Python dependencies:
pip install -r requirements.txtAdd to your MCP settings file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"doi-to-bibtex": {
"command": "python",
"args": ["/absolute/path/to/doi-to-bibtex-mcp.py"]
}
}
}Restart Claude Desktop
Usage
Once connected, ask Claude to convert DOIs:
Example requests:
"Convert DOI 10.1038/nature12373 to BibTeX"
"Get BibTeX for https://doi.org/10.1126/science.1157784"
"I need the BibTeX entry for doi:10.1103/PhysRevLett.104.198101"
The server accepts DOIs in multiple formats:
Just the identifier:
10.1234/exampleWith doi: prefix:
doi:10.1234/exampleFull URL:
https://doi.org/10.1234/example
Files Included
server-http.py- HTTP/SSE version for Railwaydoi-to-bibtex-mcp.py- stdio version for Claude DesktopDockerfile- Railway deployment configurationrequirements.txt- Python dependencies
Alternative Free Hosting Options
Render: https://render.com (free tier available)
Fly.io: https://fly.io (free tier available)
Replit: https://replit.com (free tier available)
All work similarly - push your code, get a public URL, add to Claude.
Data Source
This server uses the official DOI content negotiation service, which redirects to the appropriate registration agency (Crossref, DataCite, etc.) for each DOI. The data comes directly from publishers and registration agencies.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Catch AI-fabricated citations (real DOI + fake title). Retraction, open-access, 10,000+ CSL styles.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Scrape arXiv, OpenAlex and Crossref papers by author, topic, journal or DOI. Pay per row.
bioRxiv + medRxiv preprint server API
Related MCP Servers
- AlicenseBqualityDmaintenanceRetrieve citation data effortlessly from CiteAs and Google Scholar. Get BibTeX-formatted citations for your resources with just a few commands. Enhance your research workflow by integrating citation retrieval directly into your applications.214MIT
- AlicenseBqualityDmaintenanceAutomatically enriches BibTeX citations with missing metadata (DOI, venue, etc.) from arXiv, DBLP, and CrossRef via an MCP server for AI assistants.2MIT
- AlicenseNot gradedqualityDmaintenanceSearches academic references from arXiv, DBLP, Semantic Scholar, and OpenAlex concurrently and generates BibTeX citations.10MIT
- AlicenseAqualityBmaintenanceCLI and MCP server for fetching multiple BibTeX options from Google Scholar's visible citation export flow.19 npm1MIT