# Academic Paper Search MCP Server: DOI & Citations (`stelli/scholarly-literature-mcp`) Actor

MCP server for AI agents: search academic papers, look up DOIs and arXiv IDs, and create BibTeX or APA citations from open arXiv and Crossref metadata.

- **URL**: https://apify.com/stelli/scholarly-literature-mcp.md
- **Developed by:** [Voltköpfe](https://apify.com/stelli) (community)
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 tool calls

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is the Academic Paper Search MCP Server?

The **Academic Paper Search MCP Server** lets AI assistants and agents **search academic papers**, **look up a paper by DOI or arXiv ID** and **create citations in BibTeX or APA style**. It is an MCP server (Model Context Protocol) that runs on Apify as a server Actor and speaks **Streamable HTTP** on the path `/mcp`.

The data comes from two open scholarly APIs: the **arXiv API** and the **Crossref REST API**. Every record says where it comes from, under which license, and when it was retrieved. This Actor is an independent project. It is not affiliated with, endorsed by or supported by arXiv or Crossref.

### What can this MCP server do?

- **Paper search** by topic across arXiv (titles and abstracts) and Crossref (titles), merged into one list without duplicates (matched by DOI / arXiv ID).
- **Paper details** for one DOI or arXiv ID: title, authors, year, venue, publisher, volume, issue, pages, type and links.
- **Citation formatting** in BibTeX and APA 7 (plain text), built from the metadata.
- **Provenance on every record:** source, link, metadata license, abstract license, retrieval time.
- **Open abstracts only:** arXiv abstracts (CC0) and Crossref abstracts under CC0, CC BY or CC BY-SA. For all other works you get the DOI link instead.
- **Pay only for successful calls:** failed calls are not charged (see [Pricing](#how-much-does-it-cost)).

### How to use it

1. Get your Apify API token in Apify Console under **Settings → Integrations** (`https://console.apify.com/settings/integrations`).
2. Copy the server URL of this Actor from its **Server** tab. It usually looks like `https://stelli--scholarly-literature-mcp.apify.actor`; the MCP endpoint is that URL plus `/mcp`.
3. Add the server to your MCP client (examples below). Send the token in the `Authorization: Bearer …` header.
4. Ask your assistant, for example: *"Find recent papers on graph neural networks for drug discovery and give me BibTeX for the top three."*

#### Claude Code

```bash
claude mcp add --transport http scholarly-literature \
  https://stelli--scholarly-literature-mcp.apify.actor/mcp \
  --header "Authorization: Bearer <YOUR_APIFY_TOKEN>"
```

#### Cursor

Add this to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project):

```json
{
  "mcpServers": {
    "scholarly-literature": {
      "url": "https://stelli--scholarly-literature-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer ${env:APIFY_TOKEN}" }
    }
  }
}
```

#### Other clients with a JSON configuration

```json
{
  "mcpServers": {
    "scholarly-literature": {
      "url": "https://stelli--scholarly-literature-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
    }
  }
}
```

#### Claude.ai and Claude Desktop through the Apify MCP server

You can also reach this Actor through the hosted **Apify MCP server** at `https://mcp.apify.com` (sign-in through your browser, no token needed). In Claude.ai, open **Customize → Connectors → Add → Add custom connector**, enter the URL and allow access. The default tools of the Apify MCP server include `fetch-actor-mcp-tool-list` and `call-actor-mcp-tool`, which list and call the tools of an Actor that runs an MCP server. Ask your assistant to use `stelli/scholarly-literature-mcp`.

Setup guides from Apify: [Apify MCP server](https://docs.apify.com/mcp), [Claude.ai](https://docs.apify.com/integrations/claude-ai), [Claude Desktop](https://docs.apify.com/integrations/claude-desktop), [Cursor](https://docs.apify.com/integrations/cursor).

### Tools

| Tool | What it does | Parameters |
|---|---|---|
| `search_papers` | Searches by topic in arXiv (titles and abstracts) and Crossref (titles). Results are merged and de-duplicated. | `query` (required, max. 300 characters), `sources` (`arxiv`, `crossref`; default both), `yearFrom`, `yearTo`, `maxResults` (1–25, default 10) |
| `get_paper` | Metadata for one paper. | `id`: DOI, arXiv ID, `doi.org` link or `arxiv.org/abs` link |
| `format_citation` | Builds a reference from the metadata: BibTeX and/or APA 7 (plain text). | `id`, `style` (`bibtex`, `apa`, `both`; default `both`) |

#### Example calls

```json
{ "name": "search_papers", "arguments": { "query": "graph neural networks drug discovery", "yearFrom": 2022, "maxResults": 5 } }
```

```json
{ "name": "get_paper", "arguments": { "id": "1706.03762" } }
```

```json
{ "name": "format_citation", "arguments": { "id": "https://arxiv.org/abs/1706.03762", "style": "bibtex" } }
```

#### Example output

`get_paper` for `1706.03762` (shortened: abstract and author list cut):

```json
{
  "paper": {
    "id": "arxiv:1706.03762",
    "title": "Attention Is All You Need",
    "authors": [{ "name": "Ashish Vaswani" }, { "name": "Noam Shazeer" }, "…"],
    "year": 2017,
    "publishedDate": "2017-06-12",
    "arxivId": "1706.03762",
    "type": "preprint",
    "categories": ["cs.CL", "cs.LG"],
    "abstract": "The dominant sequence transduction models are based on …",
    "source": "arxiv",
    "sourceUrl": "https://arxiv.org/abs/1706.03762",
    "metadataLicense": "CC0-1.0 (arXiv API Terms of Use)",
    "abstractLicense": "CC0-1.0 (arXiv)",
    "retrievedAt": "2026-11-18T20:33:58.456Z",
    "modified": false,
    "legalStatusNote": "Descriptive metadata incl. abstract from the arXiv API, CC0 1.0 per the arXiv API Terms of Use. …",
    "alsoFoundIn": []
  },
  "attribution": ["Thank you to arXiv for use of its open access interoperability."]
}
```

`format_citation` for the same paper, style `apa`:

```text
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017). Attention Is All You Need (arXiv:1706.03762). arXiv. https://doi.org/10.48550/arXiv.1706.03762
```

`search_papers` returns `query`, `sources`, `count`, `results` (records as above), `warnings` (for example, when one source could not be reached) and `attribution`.

#### Output fields

| Field | Meaning |
|---|---|
| `source` | `arxiv` or `crossref` |
| `sourceUrl` | Link to the record (`https://arxiv.org/abs/…` or `https://doi.org/…`) |
| `metadataLicense` | License or status of the metadata |
| `abstractLicense` | License of the abstract; only set when an abstract is returned |
| `abstractOmittedReason` | Why no abstract is returned (for example, no open license) |
| `retrievedAt` | Time of retrieval (ISO 8601) |
| `modified` | `true` if text was changed (for example, XML markup removed from a Crossref abstract) |
| `legalStatusNote` | Short note on the legal status of the record |
| `alsoFoundIn` | The same work in the other source (after de-duplication) |

Citations are generated automatically from the metadata. Please check them before you use them; source metadata can be incomplete.

### Sources and licenses

**arXiv API.** Descriptive metadata of arXiv e-prints, including titles, abstracts and author names, is available under CC0 1.0 according to the [arXiv API Terms of Use](https://info.arxiv.org/help/api/tou.html). This Actor returns only metadata and a link to the abstract page. It never downloads or delivers PDFs or other e-print files.

> Thank you to arXiv for use of its open access interoperability.

**Crossref REST API.** Bibliographic metadata from Crossref is factual and can be reused without restriction; see [Crossref: Retrieve metadata](https://www.crossref.org/documentation/retrieve-metadata/). **Abstracts are an exception:** their copyright stays with the publisher or the authors. Metadata from Crossref.

### What is filtered out, and why

- **Abstracts without an open license.** arXiv abstracts are returned (CC0). A Crossref abstract is returned only if the work's `license` field shows CC0, CC BY or CC BY-SA for the published version and no embargo applies. Works under CC BY-NC, CC BY-ND, publisher licenses or without a license get no abstract; the record gives the DOI link instead and states the reason in `abstractOmittedReason`. Reason: abstracts are copyrighted texts, and this is a commercial service.
- **Personal data beyond author names.** Authors are returned as names only (with given and family name when the source provides them). Affiliations, ORCID iDs, e-mail addresses and author IDs are removed by one central filter. Reason: data minimisation; author names are needed for references, the rest is not.
- **No search by person.** The search covers titles (and arXiv abstracts), not author fields. The Actor offers no author profiles.
- **No full texts.** No PDFs and no full texts, only links.
- **No non-paper items.** Crossref results are limited to works such as articles, proceedings papers, preprints, books, chapters, reports and dissertations (figures and tables are excluded).

### Limits and polite use of the sources

- **Request pauses for arXiv:** at most one request every three seconds and one connection at a time, through one queue per server process. In addition, all server runs coordinate through a shared timestamp (best effort). Calls that need arXiv can therefore take several seconds. When the queue is full, new arXiv requests are rejected with a message to try again in a minute.
- **Crossref:** one request at a time and about one request per second (Crossref's public pool). If Crossref announces a stricter limit in its response headers, the server slows down further.
- **No retries against refusals:** if a source answers with HTTP 403, HTTP 429, HTTP 503 or a bot/challenge page, the request stops with an error. The server does not retry, does not use proxies and pauses requests to that source for about ten minutes. If only one source fails, `search_papers` returns the results of the other source and a warning.
- **No PDFs, no full texts.** Only metadata and links.
- **Abstracts only with an open license** (see above).
- `search_papers` returns at most 25 results per call. Relevance ranking is done by the sources.
- Identical requests are answered from a short-lived in-memory cache.
- APA output is plain text (no italics).

### How much does it cost?

This Actor uses **pay per event**. Each successful tool call (`search_papers`, `get_paper` or `format_citation`) is one `tool-call` event at **$0.03**. Failed calls (for example, invalid IDs or a source that refuses the request) are not charged.

Example: 100 successful tool calls cost 100 × $0.03 = $3.00.

The current price is always shown on the Actor's **Pricing** tab. For Apify plans and the free plan, see [apify.com/pricing](https://apify.com/pricing).

### Data protection

- **Controller:** Marvin Stellmacher (Voltköpfe), Freiheitstr. 42, 42277 Wuppertal, Germany, info@voltkoepfe.de.
- **What is processed:** author names, only as part of bibliographic records as published by arXiv and Crossref. No affiliations, ORCID iDs, e-mail addresses or author IDs.
- **Purpose and legal basis:** creating literature references on request of the user. Legal basis is Art. 6(1)(f) GDPR (legitimate interest): authors publish their names so that their work can be found and cited.
- **Source of the data:** the public arXiv API and Crossref REST API (see above).
- **Storage:** nothing is stored beyond the running process. Results are not written to a dataset or key-value store (the only stored value is the time of the last arXiv request, without any query or result); the in-memory cache is cleared when the run ends, at the latest one hour after each entry was created.
- **Logs:** search queries are not logged. Logs contain only the tool name, duration and number of results.
- **Your rights:** you can request access, rectification, erasure or restriction, and you can object to the processing (Art. 15–18 and 21 GDPR). Write to info@voltkoepfe.de or use the **Issues** tab of this Actor. You can also lodge a complaint with a data protection supervisory authority (Art. 77 GDPR).
- The Apify platform processes your requests under Apify's own terms and privacy policy.

### FAQ

#### Is this an official arXiv or Crossref service?

No. It is an independent project that uses their public APIs.

#### Why do some results have no abstract?

Because their abstract is not under an open license (CC0, CC BY or CC BY-SA). Use the DOI link in `sourceUrl` to read it at the publisher.

#### Can I search for a person?

No. The search covers titles (and arXiv abstracts) only. This is deliberate.

#### Where can I report a problem?

Use the **Issues** tab of this Actor.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset. Intentionally empty, because nothing is stored beyond the running process. The record format of search_papers and get_paper results is described in the dataset schema.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("stelli/scholarly-literature-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("stelli/scholarly-literature-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call stelli/scholarly-literature-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stelli/scholarly-literature-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6YWeG9Bc5dvz2hEAr/builds/y1qNfCGo4HNWRvmdK/openapi.json
