# Academic Papers Search & MCP – arXiv, PubMed, OpenAlex (`cleardata-labs/academic-papers-mcp`) Actor

Search 150M+ scholarly papers, arXiv preprints and PubMed in one tool: abstracts, citation counts, DOIs, free PDF links, citation graphs. Run as a batch export (CSV/JSON) or connect it as an MCP server to Claude, Cursor or any AI agent. No API key needed.

- **URL**: https://apify.com/cleardata-labs/academic-papers-mcp.md
- **Developed by:** [ClearData Labs](https://apify.com/cleardata-labs) (community)
- **Categories:** AI, MCP servers, Education
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 mcp tool calls

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Academic Papers Search & MCP – Crossref, OpenAlex, arXiv, PubMed

**Find scholarly papers in seconds, from one tool, at a fraction of the usual price.** Search 150M+ journal articles,
conference papers and books (Crossref + OpenAlex), arXiv preprints and 37M+ PubMed records. You get clean records with
**abstracts, citation counts, DOIs, topics and free full-text / PDF links**, plus **citation graphs**.

Use it two ways:

- 🤖 **As an MCP server for AI agents** (Claude, Cursor, VS Code, n8n, OpenAI Agents SDK…): 6 research tools for
  **$0.01 per call**. That is 50–85 % cheaper than other academic MCP servers, and calls with no results are free.
- 📊 **As a batch export**: many queries or thousands of DOIs in, a CSV / Excel / JSON table out, at
  **$1.50 per 1,000 papers**.

No API key, no account at any publisher, no scraping of Google Scholar: only free, official scholarly databases.

### Who it is for

Researchers and PhD students doing literature reviews, R\&D and pharma teams tracking a field, AI developers building
research agents or RAG pipelines, librarians, science journalists, consultants, and grant writers.

### MCP server: connect your AI agent

Endpoint (Streamable HTTP):

```
https://cleardata-labs--academic-papers-mcp.apify.actor/mcp
```

Authenticate with your Apify API token (`Authorization: Bearer <YOUR_APIFY_TOKEN>`). In Claude Desktop, Cursor and other clients
that only take a command, use `mcp-remote`:

```json
{
  "mcpServers": {
    "academic-papers": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://cleardata-labs--academic-papers-mcp.apify.actor/mcp",
               "--header", "Authorization: Bearer YOUR_APIFY_TOKEN"]
    }
  }
}
```

| Tool | What it does | Price |
|---|---|---|
| `search_papers` | All disciplines: Crossref search enriched with OpenAlex abstracts, citation counts, topics and free PDF links. Filters: years, open access only, sort by relevance / most cited / newest | $0.01 |
| `search_preprints` | arXiv search with abstracts and PDF links; field tags `ti:`, `au:`, `abs:`, `cat:` and category filter | $0.01 |
| `search_pubmed` | PubMed (via Europe PMC) with abstracts, MeSH terms, citation counts, PMID/PMCID, free full text; optional bioRxiv/medRxiv | $0.01 |
| `get_papers` | Up to 20 full records by DOI, arXiv ID, PMID, PMCID, OpenAlex ID or title | $0.01 |
| `citation_graph` | Papers that cite a paper (most cited first) and/or the papers it cites | $0.01 |
| `literature_scan` | One call across papers + preprints + PubMed, merged without duplicates | $0.01 per source with results (max $0.03) |

Calls that find nothing, and calls that fail, are **not charged**.

### Batch mode: input examples

**1. Literature review export (all sources, most cited, last 5 years)**

```json
{
  "queries": ["CRISPR base editing", "prime editing off-target"],
  "sources": ["papers", "preprints", "pubmed"],
  "yearFrom": 2021,
  "sort": "citations",
  "maxResultsPerQuery": 100
}
```

**2. Enrich a reference list (DOIs, arXiv IDs, PubMed IDs or titles)**

```json
{
  "mode": "lookup",
  "ids": ["10.1038/nature14539", "1706.03762", "PMID:31452104", "Attention is all you need"]
}
```

**3. Who cites this paper? (follow-up work, evidence trail)**

```json
{
  "mode": "citations",
  "paperId": "10.1038/nature14539",
  "direction": "citing",
  "maxResultsPerQuery": 200
}
```

Other options: `openAccessOnly` (only papers with a free full text), `arxivCategory` (e.g. `cs.CL`),
`includeMedrxivPreprints`, `includeAbstracts`, `dedupeAcrossSources` (on by default: one paper found in several sources is
delivered and billed once), and `maxTotalResults` to cap the cost of a run.

### Output example

Values below are fictional and only show the format.

```json
{
  "query": "CRISPR base editing",
  "title": "A fictional study of base editing efficiency in model cells",
  "authors": "Jane Example; Alex Sample; Sam Placeholder",
  "authorCount": 3,
  "year": 2024,
  "publishedOn": "2024-05-14",
  "venue": "Journal of Fictional Biology",
  "publisher": "Example Press",
  "type": "journal-article",
  "doi": "10.0000/example.2024.001",
  "url": "https://doi.org/10.0000/example.2024.001",
  "freeFullTextUrl": "https://example.org/fulltext.pdf",
  "isOpenAccess": true,
  "oaStatus": "gold",
  "license": "cc-by",
  "citations": 42,
  "referencesCount": 55,
  "abstract": "We describe a fictional experiment…",
  "topic": "CRISPR and Genetic Engineering",
  "field": "Biochemistry, Genetics and Molecular Biology",
  "keywords": "Gene Editing; Humans",
  "pmid": "00000000",
  "openAlexId": "W0000000000",
  "source": "crossref+openalex"
}
```

The dataset has two views, **Papers** (a table that is ready to export) and **Abstracts**. A `SUMMARY` record lists counts per query and any
notes. Not-found IDs and empty queries appear as free rows with `found: false` and a reason.

### Pricing

| | Price | Compared with |
|---|---|---|
| MCP tool call with results | **$0.01** | $0.02–$0.0625 per call for other academic MCP servers |
| Paper in a batch run | **$0.0015** ($1.50 / 1,000) | $1–$10 / 1,000 for single-source scrapers |
| Empty results, errors, not-found IDs, input mistakes | **free** | |

### FAQ

**Is this legal and stable?** Yes. It uses only the official public APIs of Crossref, OpenAlex, arXiv and Europe PMC
(EMBL-EBI), which are free for reuse, and it respects each service's rate limits. It does not scrape Google Scholar, ResearchGate or
publisher websites.

**Do I get the full text?** You get the abstract and, when the paper is open access, a link to the free legal full text
or PDF (`freeFullTextUrl`). Paywalled full texts are not downloaded.

**Why are some abstracts missing?** Some publishers do not share abstracts with Crossref/OpenAlex. PubMed and arXiv
records almost always have one.

**What about OpenAlex limits?** OpenAlex gives every network a small free daily budget. Abstracts and citation data
come from it, so on very large jobs you can add your own free OpenAlex key (`openAlexApiKey`) for more headroom.
Search itself does not depend on it.

**Can I schedule it?** Yes. Use Apify schedules with `sort: "newest"` to get new papers on your topics every week, sent to
Google Sheets, Slack, email or a webhook.

**Personal data?** Only the bibliographic data that publishers make public (titles, author names as printed on the
paper, journals). No emails or contact details.

*Keywords: academic search API, scholarly papers, literature review, Google Scholar alternative, arXiv API, PubMed API,
Crossref, OpenAlex, citation graph, DOI lookup, MCP server, AI research agent, recherche bibliographique, articles
scientifiques, wissenschaftliche Literatur, búsqueda académica.*

# Actor input Schema

## `mode` (type: `string`):

Search = find papers by keywords. Lookup = full records for a list of DOIs, arXiv IDs, PubMed IDs or titles. Citations = papers that cite (or are cited by) one paper.

## `queries` (type: `array`):

One topic per line, e.g. "CRISPR base editing". Each query is searched in every selected source. Up to 200 queries per run.

## `sources` (type: `array`):

papers = all disciplines (Crossref, enriched with OpenAlex abstracts, citations and free PDF links); preprints = arXiv; pubmed = PubMed biomedical records (via Europe PMC).

## `maxResultsPerQuery` (type: `integer`):

How many papers to collect from each source for each query (1–1,000). In citations mode: max papers per direction.

## `yearFrom` (type: `integer`):

Only papers published in or after this year, e.g. 2020. Leave empty for no limit.

## `yearTo` (type: `integer`):

Only papers published in or before this year. Leave empty for no limit.

## `sort` (type: `string`):

Relevance to the query, most cited first, or newest first (arXiv has no citation counts and stays by relevance).

## `openAccessOnly` (type: `boolean`):

Keep only open-access papers (a free PDF or full-text link is included).

## `arxivCategory` (type: `string`):

Restrict preprints to an arXiv category, e.g. cs.CL, cs.LG, q-bio.GN, astro-ph.

## `includeMedrxivPreprints` (type: `boolean`):

Adds life-science preprints indexed by Europe PMC to the PubMed source.

## `dedupeAcrossSources` (type: `boolean`):

When the same paper is found in several sources (same DOI or title), keep only the first, richest record. You only pay once.

## `ids` (type: `array`):

DOIs (10.1038/nature14539 or https://doi.org/...), arXiv IDs (1706.03762), PubMed IDs (PMID:31452104), PMCIDs, OpenAlex IDs (W2919115771) or exact titles. Up to 5,000. Not-found IDs are free.

## `paperId` (type: `string`):

DOI, PubMed ID, arXiv ID or OpenAlex ID of the paper whose citation graph you want.

## `direction` (type: `string`):

citing = papers that cite it (most cited first); references = papers it cites; both.

## `includeAbstracts` (type: `boolean`):

Abstracts make rows larger; turn off for lighter CSV exports.

## `maxTotalResults` (type: `integer`):

Hard cap on the number of papers (and cost) for the whole run. Leave empty for no cap.

## `openAlexApiKey` (type: `string`):

Not needed. OpenAlex gives every network a small free daily budget for abstracts and citation data; if you run very large jobs, a free personal key from openalex.org/settings/api lifts it.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "large language models in clinical medicine"
  ],
  "sources": [
    "papers",
    "preprints",
    "pubmed"
  ],
  "maxResultsPerQuery": 20,
  "sort": "relevance",
  "openAccessOnly": false,
  "includeMedrxivPreprints": false,
  "dedupeAcrossSources": true,
  "ids": [
    "10.1038/nature14539",
    "1706.03762"
  ],
  "paperId": "10.1038/nature14539",
  "direction": "citing",
  "includeAbstracts": true
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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 = {
    "queries": [
        "large language models in clinical medicine"
    ],
    "ids": [
        "10.1038/nature14539",
        "1706.03762"
    ],
    "paperId": "10.1038/nature14539"
};

// Run the Actor and wait for it to finish
const run = await client.actor("cleardata-labs/academic-papers-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 = {
    "queries": ["large language models in clinical medicine"],
    "ids": [
        "10.1038/nature14539",
        "1706.03762",
    ],
    "paperId": "10.1038/nature14539",
}

# Run the Actor and wait for it to finish
run = client.actor("cleardata-labs/academic-papers-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 '{
  "queries": [
    "large language models in clinical medicine"
  ],
  "ids": [
    "10.1038/nature14539",
    "1706.03762"
  ],
  "paperId": "10.1038/nature14539"
}' |
apify call cleardata-labs/academic-papers-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cleardata-labs/academic-papers-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/o1njKZV74YJucFb4q/builds/AJj7yEahIcmULJOZD/openapi.json
