- Home
- MCP servers
- DOI to BibTeX
DOI to BibTeX
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run a lightweight MCP server that converts DOIs to BibTeX by querying the official DOI content negotiation API. This makes it easy to fetch properly formatted BibTeX entries directly from doi.org, enabling seamless bibliography workflows in your tools and workflows.
How to use
Once you have the DOI to BibTeX MCP server available, you can ask your MCP client to convert DOIs by providing the DOI in any of these formats: a bare identifier like 10.1234/example, a prefixed form like doi:10.1234/example, or a full URL like https://doi.org/10.1234/example. The server will fetch the BibTeX data using the DOI content negotiation API and return the BibTeX entry for you to incorporate into your bibliography.
How to install
Prerequisites you need before installing: Python and pip are available on your system.
Option A: Railway deployment (recommended for quick setup) requires pushing the MCP code to a GitHub repository and using Railway to host the server. The deployment will expose a public URL that you can use to connect your MCP client.
Option B: Claude Desktop (local) setup runs the MCP locally so you can test without network hosting. You will run a Python script that integrates with Claude Desktop through the MCP interface.
Additional content
Files included in the project include server-http.py for HTTP/SSE deployments and doi-to-bibtex-mcp.py for local stdio usage, plus a Dockerfile and requirements.txt for dependencies. The server uses the official DOI content negotiation service, which redirects to the appropriate registration agency (Crossref, DataCite, etc.) for each DOI, so you always receive BibTeX data sourced directly from publishers and registration agencies.
Deployment options provide flexible hosting choices. You can host publicly via Railway (free tier), or run locally with Claude Desktop. The HTTP approach exposes a URL that your MCP client can query, while the stdio approach runs a local Python script that you can configure in Claude Desktop.
Available tools
convert_doi_to_bibtex
Fetches BibTeX entries by querying the DOI content negotiation API and returning the BibTeX representation for a given DOI.