Integrations
Allows interaction with the Crossref API to search for academic works by title or author, and retrieve detailed publication metadata using Digital Object Identifiers (DOIs).
Crossref MCP Server
A Model Context Protocol (MCP) server for interacting with the Crossref API.
Features
- Search works by title
- Search works by author
- Get work details by DOI
Installation
Usage
The server provides three main tools:
1. Search by Title
Search for works in Crossref by title:
2. Search by Author
Search for works in Crossref by author:
3. Get Work by DOI
Retrieve a specific work using its DOI:
Response Format
All responses are returned as structured JSON objects with the following format:
For successful searches:
For single DOI lookup:
For errors or no results:
Testing
The server comes with a comprehensive test suite using Vitest. Tests cover all available tools and include various scenarios including successful responses, empty results, and error handling.
Running Tests
Test Structure
The tests use Vitest's mocking capabilities to simulate Crossref API responses without making actual network requests. The test structure includes:
- Mock Data: Sample responses for title searches, author searches, and DOI lookups
- Mock Handlers: Testing versions of the handler functions in
mcp-server-test-handlers.js
- Test Cases: Tests for all tools covering:
- Successful API responses
- Empty result sets
- Error handling and network failures
Extending Tests
To add more test cases:
- Add new mock data to the test file if needed
- Create additional test cases in the relevant describe block
- Use the
mockFetchResponse()
helper to simulate API responses
Example:
This server cannot be installed
A Model Context Protocol server that enables querying the Crossref API to search for academic publications by title, author, or DOI, returning structured metadata about scholarly works.
Related MCP Servers
- -securityAlicense-qualitySemantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.Last updated -22PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides access to the DBLP computer science bibliography database, allowing AI models to search publications, process citations, and generate accurate BibTeX entries.Last updated -61PythonMIT License
- -securityFlicense-qualityA Model-Client-Protocol server that enables users to search the Gallica digital library of the National Library of France and generate structured sequential research reports with formatted citations and relevant images.Last updated -2Python
- -securityFlicense-qualityProvides tools for accessing the Semantic Scholar API to search papers, retrieve paper and author details, and fetch citations and references through the Model Context Protocol.Last updated -1Python