# Academic Reference Checker and Paper Search API (`magicfingers/academic-paper-search`) Actor

Check reference lists against Crossref and OpenAlex: does each cited paper exist, which fields match or differ, is it retracted. Search papers with filters and look up DOIs. Batch runs or an MCP server. Failed lookups are free.

- **URL**: https://apify.com/magicfingers/academic-paper-search.md
- **Developed by:** [abdulrahman alrashid](https://apify.com/magicfingers) (community)
- **Categories:** Education, MCP servers, AI
- **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 $4.00 / 1,000 reference checkeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Reference Checker and Paper Search API

Check a reference list against Crossref and OpenAlex: for every citation you get whether the cited paper exists, a confidence score, which fields match (title, first author, year, venue, volume, issue, pages, DOI) and which differ, the DOI, the open-access link and the retraction status with the notice that proves it. The same Actor searches papers with filters and looks up DOIs, as a batch run or as an MCP server for AI agents. You pay per checked citation or per paper record; lookups that no source can answer cost nothing.

### What is Academic Reference Checker and Paper Search API?

It is a citation checker and scholarly metadata API built on two open, documented sources: the Crossref REST API and the OpenAlex API. It does not scrape Google Scholar or publisher pages, and it never downloads full texts.

- **Reference checking**: paste citations in APA, Harvard, IEEE, Vancouver, MLA or Chicago style (or bare DOIs). Each one is parsed, matched against both sources and scored. Invented, mistyped and retracted references stand out at once.
- **Paper search**: search phrases with year range, open access, peer-reviewed venues, no preprints, no reviews or surveys, language and sort order. Results from both sources are merged and de-duplicated by DOI and normalised title.
- **DOI look-up**: title, authors, year, venue, volume, issue, pages, work type, language, citation count, open-access link, licence and retraction notices for a list of DOIs.
- **Evidence for every value**: each row names the source of every field (`fieldSources`) and gives the API links used (`evidenceUrls`), so any result can be checked by hand. A value is either taken from a source or left empty; nothing is guessed.

### What can it check?

Every citation gets one of three statuses:

| Status | Score | Meaning |
|---|---|---|
| `verified` | 0.85 or more | A record with this title, authors and year exists. Small differences (a venue written as the preprint server, a year one apart) are still listed in `differences`. |
| `mismatch` | 0.60 to 0.85 | A close record exists, but at least one main field differs: wrong year, wrong first author or a changed title. `differences` shows the cited and the recorded value side by side. |
| `not_found` | below 0.60 | No record in Crossref or OpenAlex matches. Typical for invented citations, and for books, theses, reports and web pages, which the `note` field flags as "type not covered". |

The score is a weighted mean of four parts, over the parts the citation gives: title similarity 50%, authors 20%, year 20%, venue 10%. A title similarity under 0.65 always gives `not_found`, so a matching author and year cannot make a different paper look found. A citation that is only a DOI is `verified` when the DOI exists and `not_found` when it does not.

Retractions: `isRetracted` is true when Crossref holds a retraction notice for the work (from the publisher or from the Retraction Watch database) or when OpenAlex marks it as retracted. The `updates` list gives each notice with its DOI, date, source and link. Preprints: when a published version and a preprint of the same work are both found, the published one is shown and the preprint DOI is listed in `differences` and `otherVersionDois`.

### How to verify a reference list

1. Open the Actor, keep **Mode** on **Check references** and paste your reference list into **References**, one citation per line (up to 1,000).
2. Optional: add your email in **Contact email for Crossref**. Crossref then serves the run from its faster polite pool.
3. Click **Start**. Open the **Reference check** view of the output to see each status, the matched fields and the differences, or export everything as JSON, CSV or Excel.

### How much does it cost?

This Actor uses pay-per-event pricing. Platform usage is included in the event prices for batch runs.

| Event | Charged when | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|---|
| Reference checked (`reference-checked`) | One citation checked and saved with its status (verified, mismatch or not_found). Citations that no source could answer and duplicate lines are not charged. | 5.00 USD per 1,000 events | 5.00 USD per 1,000 events | 4.50 USD per 1,000 events | 4.00 USD per 1,000 events |
| Actor start (`apify-actor-start`) | Charged by Apify when the run starts: once up to 1 GB of memory, then once for each extra GB. | 0.05 USD per 1,000 runs | 0.05 USD per 1,000 runs | 0.05 USD per 1,000 runs | 0.05 USD per 1,000 runs |
| Paper (`paper`) | One paper record saved in search or dois mode, or returned by the search_papers MCP tool. DOIs that do not exist, failed lookups and papers already saved for an earlier phrase are not charged. | 2.00 USD per 1,000 events | 2.00 USD per 1,000 events | 1.80 USD per 1,000 events | 1.60 USD per 1,000 events |
| MCP tool call (`tool-call`) | One successful call of an MCP tool (check_reference, search_papers or get_paper_by_doi) in server mode. Calls that fail or find nothing for a DOI are not charged. | 5.00 USD per 1,000 events | 5.00 USD per 1,000 events | 4.50 USD per 1,000 events | 4.00 USD per 1,000 events |

Example: 1,000 references on the Bronze plan cost 1,000 x 0.005 USD = 5.00 USD, plus 0.00005 USD for the run start. Platform usage (compute, storage, traffic) is included in these prices.

Free plan: the 5 USD of monthly Apify credit covers about 1,000 references a month when no other Actor is used.

What is charged, in plain terms:

- **Check references**: one `reference-checked` per citation, whatever its status. A `not_found` result is a delivered check (it is how invented citations are caught), so it is charged. Citations that Crossref and OpenAlex could not answer after 3 retries go to the `FAILED` record and are free. Identical lines are checked once.
- **Search papers and Look up DOIs**: one `paper` per row saved. DOIs that do not exist, failed lookups and papers already saved for an earlier phrase of the same run are free.
- **MCP server**: one `tool-call` per successful call; `search_papers` also charges one `paper` for each paper it returns, so a search costs the same per paper as in a batch run. Server runs are single-tenant: they start in your Apify account, so you also pay the platform usage of those runs (a server run uses memory while it waits for requests, until its idle timeout stops it).

Set a **maximum cost per run** in the run options: the run stops starting new work once that amount is reached and keeps every row saved up to then. The MCP server refuses a call, without charging it, when the run's maximum cost could not pay for it.

### Input examples

Check a reference list:

```json
{
  "mode": "references",
  "references": [
    "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30.",
    "[2] Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015.",
    "Ioannidis JPA. Why most published research findings are false. PLoS Med. 2005;2(8):e124.",
    "10.1016/S0140-6736(97)11096-0"
  ],
  "contactEmail": "you@your-university.edu"
}
```

Search open-access, peer-reviewed papers in English from 2020 to 2024, most cited first:

```json
{
  "mode": "search",
  "queries": ["graph neural networks drug discovery"],
  "yearFrom": 2020,
  "yearTo": 2024,
  "peerReviewedOnly": true,
  "excludeReviews": true,
  "openAccessOnly": true,
  "language": "en",
  "sortBy": "cited",
  "maxResultsPerQuery": 50
}
```

Look up DOIs:

```json
{
  "mode": "dois",
  "dois": ["10.1038/nature14539", "https://doi.org/10.1371/journal.pmed.0020124"]
}
```

### Output example

The prefill citation, checked on 2026-11-13 (authors shortened):

```json
{
  "input": "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30.",
  "mode": "references",
  "inputIndex": 1,
  "status": "verified",
  "confidence": 0.936,
  "matchedFields": ["title", "firstAuthor", "year", "volume"],
  "differences": [
    {
      "field": "venue",
      "cited": "Advances in Neural Information Processing Systems",
      "record": "arXiv (Cornell University)",
      "note": "the record found is a preprint; the cited venue may be the published version"
    }
  ],
  "note": null,
  "doi": "10.48550/arxiv.1706.03762",
  "title": "Attention Is All You Need",
  "authors": ["Ashish Vaswani", "Noam Shazeer", "Niki Parmar"],
  "year": 2017,
  "venue": "arXiv (Cornell University)",
  "type": "preprint",
  "citedByCount": 136211,
  "isOpenAccess": true,
  "oaUrl": "https://arxiv.org/pdf/1706.03762",
  "isRetracted": false,
  "updates": [],
  "recordUrl": "https://doi.org/10.48550/arxiv.1706.03762",
  "source": "openalex",
  "sources": ["openalex"],
  "fieldSources": {"title": "openalex", "year": "openalex", "citedByCount": "openalex"},
  "evidenceUrls": ["https://api.openalex.org/works/W2626778328"],
  "checkedAt": "2026-11-13T09:30:00Z"
}
```

Crossref has no DOI record for the 2017 conference version of this paper, so the match is the arXiv record, and the venue is listed as a difference.

### Output fields

| Field | Type | Description |
|---|---|---|
| `input` | string | The citation, search phrase or DOI as given in the input. |
| `mode` | string | references, search or dois: the mode that produced the row. |
| `inputIndex` | integer or null | Position of the citation, DOI or search phrase in its input list (1 = first line). |
| `query` | string or null | Search mode: the phrase that found this paper. Null in the other modes. |
| `rank` | integer or null | Search mode: position of the paper in the results of its phrase, after merging, filtering and sorting. |
| `status` | string | references: verified (score at least 0.85), mismatch (0.60 to 0.85, see differences) or not_found (below 0.60). search and dois: found. |
| `confidence` | number or null | references: match score from 0 to 1 (title 50%, authors 20%, year 20%, venue 10%, over the parts the citation gives). Null in search and dois modes. |
| `matchedFields` | array | references: cited fields that equal the record: title, firstAuthor, year, venue, volume, issue, pages, doi. |
| `differences` | array | references: each field that differs: field, cited value, record value and a note (for example a preprint found for a journal citation). |
| `note` | string or null | Extra information: why a citation was not found (for example type not covered for books and web pages), the closest record, or a retraction warning. |
| `doi` | string or null | DOI of the record, in lower case without https://doi.org/. |
| `title` | string or null | Title of the record. |
| `authors` | array | Author names in the order the source lists them. |
| `year` | integer or null | Publication year. |
| `publicationDate` | string or null | Publication date as precise as the source gives it (YYYY-MM-DD, YYYY-MM or YYYY). |
| `venue` | string or null | Journal, proceedings, book or repository the work appeared in. |
| `venueType` | string or null | journal, conference, repository, book, ebook platform or other. |
| `volume` | string or null | Volume as given by the source. |
| `issue` | string or null | Issue as given by the source. |
| `pages` | string or null | Pages or article number as given by the source. |
| `publisher` | string or null | Publisher or host organisation. |
| `type` | string or null | article, review, conference-paper, preprint, book, book-chapter, dissertation, dataset, report or another OpenAlex work type (Crossref types are mapped to these). |
| `language` | string or null | Two-letter language code of the work. |
| `citedByCount` | integer or null | Number of citing works counted by the source (OpenAlex when it has the work, else Crossref). |
| `isOpenAccess` | boolean or null | True when a free full text exists (OpenAlex open-access data). |
| `oaStatus` | string or null | gold, green, hybrid, bronze, diamond or closed (OpenAlex). |
| `oaUrl` | string or null | Link to the free full text as the source gives it. |
| `license` | string or null | Licence of the work as the source gives it (cc-by, cc0, publisher-specific-oa and so on). |
| `abstract` | string or null | Abstract, only when the work carries a Creative Commons or public-domain licence and includeAbstracts is on. |
| `isRetracted` | boolean or null | True when Crossref (publisher or Retraction Watch notice) or OpenAlex marks the work as retracted; false when neither records a retraction; null when no source was asked. |
| `updates` | array | Retractions, corrections and expressions of concern from Crossref: type, DOI of the notice, date, source (publisher or retraction-watch) and its link (the evidence). |
| `openAlexId` | string or null | OpenAlex work ID. |
| `otherVersionDois` | array | DOIs of other versions of the same work (for example its preprint) found and merged. |
| `recordUrl` | string or null | https://doi.org link of the record, or its OpenAlex page when it has no DOI. |
| `source` | string or null | Source of the record the match was made against: crossref or openalex. |
| `sources` | array | Every source that supplied a value of this row. |
| `fieldSources` | object | For each filled field, the source it came from (crossref or openalex). |
| `evidenceUrls` | array | API links of the records used and of the searches made, to check the result by hand (no API key is included). |
| `checkedAt` | string | Time the row was made (ISO 8601, UTC). |

The run also writes a `SUMMARY` record (counts per status, items not saved, duplicates, requests per source, the reason for an early stop) and a `FAILED` record (each citation, phrase or DOI that was not saved, with the reason) to its key-value store.

### Use as an MCP server in desktop AI assistants, code editors and n8n

The Actor also runs as a remote MCP server (Streamable HTTP), so an AI agent can check citations and look up papers while it writes. Connect your MCP client to:

```text
https://magicfingers--academic-paper-search.apify.actor/mcp
```

with the header `Authorization: Bearer <your Apify API token>`. Copy the exact address from the Actor's **Server** tab. A typical client configuration:

```json
{
  "mcpServers": {
    "academic-papers": {
      "url": "https://magicfingers--academic-paper-search.apify.actor/mcp",
      "headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN"}
    }
  }
}
```

In n8n, point its MCP client node at the same URL and add the same `Authorization` header.

Tools:

| Tool | Input | Returns | Cost |
|---|---|---|---|
| `check_reference` | `citation`: one citation or DOI | one row as above: status, confidence, matched fields, differences, record | 1 `tool-call` |
| `search_papers` | `query`, optional `year_from`, `year_to`, `open_access_only`, `peer_reviewed_only`, `exclude_preprints`, `exclude_reviews`, `language`, `sort_by`, `max_results` (1 to 50, default 10) | `results`: paper rows | 1 `tool-call` + 1 `paper` per result |
| `get_paper_by_doi` | `doi` | one paper row | 1 `tool-call`; free when the DOI does not exist |

### Limits

- Coverage: works with a DOI in Crossref or a record in OpenAlex. Many books, book chapters without DOIs, theses, reports, standards and web pages are not covered and come back as `not_found` with "type not covered" in `note`.
- A `verified` status means a matching record exists. It does not mean the citation supports the claim it is attached to.
- Conference papers without DOIs (for example many machine learning proceedings) often match only their arXiv preprint; the venue then shows as a difference.
- Citation parsing is rule-based. Unusual styles fall back to a search with the whole citation text, which works for most citations but can lower the confidence.
- Peer-reviewed only is based on the work type and the venue type (journal or conference) given by OpenAlex and Crossref. It is not a check of the review process.
- Reviews and surveys are recognised by the OpenAlex work type and by title words (survey, systematic review, literature review, scoping review, meta-analysis, a title that ends in "a review"). Some reviews with other titles stay in.
- Sort orders other than relevance sort the most relevant works found for the phrase (at least 50 of them), so "most cited" means the most cited of the works that match the phrase well.
- A filter that needs a value the record does not have leaves the record out (for example a work with no known language when **Language** is set).
- Abstracts are included only when the work carries a Creative Commons or public-domain licence. Other abstracts belong to their publishers or authors.
- `isRetracted` false means neither source records a retraction; it is not a guarantee.
- Speed: Crossref allows 1 request at a time without a contact email, so a reference list takes about 1 second per citation (37 real citations took 44 seconds in testing). With **Contact email for Crossref**, Crossref allows 3 at a time. Up to 1,000 citations or DOIs and 100 search phrases per run; the run timeout is 30 minutes.
- OpenAlex searches use a daily budget. When it is used up, the run goes on with Crossref alone and says so in the log and in `SUMMARY`. You can give your own free OpenAlex key in **OpenAlex API key**.

### FAQ

**Am I charged for a citation that was not found?** Yes. `not_found` is a completed check against both sources and is often the answer you need (an invented or badly mistyped reference). You are not charged when the sources could not be reached; those citations are listed in `FAILED`.

**Why is a correct citation a mismatch?** Look at `differences`: usually the year is off by more than one, or the first author is a different person. A year exactly one apart (online and print dates) still counts as verified and is listed.

**Can I trust the values?** Every value comes from Crossref or OpenAlex and `fieldSources` says which. `evidenceUrls` holds the API links of the records and searches used, without any key, so you can open them in a browser.

**Does it read full texts or Google Scholar?** No. It uses only the public metadata APIs of Crossref and OpenAlex, and links to open-access copies where those sources list one.

**Can I run it on a schedule?** Yes. Save a task with your input and add a schedule in Apify Console, for example to re-check a bibliography for new retractions every month.

### Data sources and attribution

- Metadata from [Crossref](https://www.crossref.org) (REST API). Crossref states that most of its metadata is facts in the public domain (CC0); abstracts are under the copyright of their publishers or authors and are used here only when openly licensed. Retraction data includes the Retraction Watch database (CC0), made available by Crossref.
- Metadata from [OpenAlex](https://openalex.org) (CC0). Priem, J., Piwowar, H., & Orr, R. (2022). OpenAlex: A fully-open index of scholarly works, authors, venues, institutions, and concepts. ArXiv. https://arxiv.org/abs/2205.01833
- Open-access status and links come from OpenAlex, which holds the same values as Unpaywall.
- Not used: Semantic Scholar (its API licence forbids selling or distributing the API, and parts of its data carry non-commercial licences), Unpaywall (its terms do not allow republishing its data; the same values come from OpenAlex), Google Scholar and publisher web pages.

### Other Actors by the same author

- [ATS Jobs API](https://apify.com/magicfingers/ats-jobs-api): every open job of the companies you list from Greenhouse, Lever, Ashby and SmartRecruiters.
- [Tech Stack Detector](https://apify.com/magicfingers/techstack-detector): the CMS, shop platform, analytics and 190+ technologies of a list of websites.
- All Actors: [apify.com/magicfingers](https://apify.com/magicfingers)

# Changelog

This Actor's version history is a separate document: https://apify.com/magicfingers/academic-paper-search/changelog.md

# Actor input Schema

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

references: check citation strings (does the paper exist, which fields match). search: find papers by search phrase. dois: look up DOIs.

## `references` (type: `array`):

One citation per line in any common style (APA, Harvard, IEEE, Vancouver, MLA, Chicago), or a bare DOI. Up to 1,000 per run. Identical lines are checked once.

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

One search phrase per line, for example web scraping or graph neural networks drug discovery. Up to 100 per run. A paper found by an earlier phrase of the same run is saved and charged once.

## `dois` (type: `array`):

One DOI per line, with or without https://doi.org/, for example 10.1038/nature14539. Up to 1,000 per run. DOIs that do not exist go to the FAILED record and are not charged.

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

Search mode: keep papers published in this year or later (unit: year). Leave empty for no lower limit.

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

Search mode: keep papers published in this year or earlier (unit: year). Leave empty for no upper limit.

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

Search mode: keep only papers with a free full text, as OpenAlex records it (the same data as Unpaywall).

## `peerReviewedOnly` (type: `boolean`):

Search mode: keep only journal articles, reviews, letters and conference papers whose venue is a journal or a conference. This is based on the record type and venue, not on a check of the review process.

## `excludePreprints` (type: `boolean`):

Search mode: leave out preprints and repository copies (arXiv, bioRxiv, SSRN and others).

## `excludeReviews` (type: `boolean`):

Search mode: leave out works that OpenAlex classes as reviews and works whose title says survey, systematic review, literature review, scoping review or meta-analysis.

## `language` (type: `string`):

Search mode: two-letter language code of the work, for example en or de. Works with no known language are left out when this is set. Leave empty for every language.

## `sortBy` (type: `string`):

Search mode: order of the results of each phrase.

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

Search mode: most papers saved for one search phrase, after the filters (unit: papers).

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

Add the abstract when the work carries a Creative Commons or public-domain licence. Other abstracts belong to their publishers or authors and are left out.

## `contactEmail` (type: `string`):

Your own email, sent to Crossref as the mailto contact. Crossref then serves the run from its polite pool (10 requests per second instead of 5, 3 at a time instead of 1), which makes large reference lists faster. Leave empty to send no email.

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

Your own free OpenAlex API key (openalex.org/settings/api). It gives OpenAlex searches your own daily budget. Leave empty to use the Actor's key.

## Actor input object example

```json
{
  "mode": "references",
  "references": [
    "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30."
  ],
  "openAccessOnly": false,
  "peerReviewedOnly": false,
  "excludePreprints": false,
  "excludeReviews": false,
  "sortBy": "relevance",
  "maxResultsPerQuery": 25,
  "includeAbstracts": true
}
```

# Actor output Schema

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

All rows saved by the run (checked citations or paper records), as JSON.

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

Counts per status, items not saved, duplicates, API requests and the reason for an early stop.

## `failed` (type: `string`):

Citations, queries or DOIs that no source could answer, and DOIs that do not exist. They are not charged.

# 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 = {
    "references": [
        "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30."
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("magicfingers/academic-paper-search").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 = { "references": ["Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30."] }

# Run the Actor and wait for it to finish
run = client.actor("magicfingers/academic-paper-search").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 '{
  "references": [
    "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30."
  ]
}' |
apify call magicfingers/academic-paper-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,magicfingers/academic-paper-search"
        }
    }
}
```

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/wu0dgIE6naxP1bhth/builds/DKayzGDkprrGpUo0z/openapi.json
