DOI to BibTeX MCP Server

DOI to BibTeX MCP Server

Converts Digital Object Identifiers (DOIs) to BibTeX format using the official DOI content negotiation API, enabling users to quickly generate bibliography entries for academic papers.

Category
Visit Server

README

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.

Deployment Options

Option 1: Free Railway Deployment (Recommended for Claude Web)

Railway offers a free tier perfect for hosting this MCP server:

  1. Create a Railway account at https://railway.app (free)

  2. 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
  3. Railway will automatically:

    • Detect the Dockerfile
    • Build and deploy your server
    • Give you a public URL like https://your-app.up.railway.app
  4. 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/sse
    • Click Connect

Railway Free Tier: $5/month credit, enough for thousands of DOI conversions

Option 2: Claude Desktop (Local)

  1. Install Python dependencies:
pip install -r requirements.txt
  1. Add to your MCP settings file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "doi-to-bibtex": {
      "command": "python",
      "args": ["/absolute/path/to/doi-to-bibtex-mcp.py"]
    }
  }
}
  1. 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/example
  • With doi: prefix: doi:10.1234/example
  • Full URL: https://doi.org/10.1234/example

Files Included

  • server-http.py - HTTP/SSE version for Railway
  • doi-to-bibtex-mcp.py - stdio version for Claude Desktop
  • Dockerfile - Railway deployment configuration
  • requirements.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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured