> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the AlphaXiv MCP server

The AlphaXiv MCP connector routes your AI agent's tool calls to AlphaXiv's own MCP server through Scalekit. Each user signs in to AlphaXiv once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 18 tools.

**Authentication:** OAuth 2.1/DCR
**Categories:** AI, Search, Developer Tools
**Tools:** 18: 10 read, 4 write, 4 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=ALPHAXIVMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the AlphaXiv MCP connection

   In **AgentKit > Connections**, create an AlphaXiv MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for AlphaXiv MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'alphaxivmcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize AlphaXiv MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'alphaxivmcp_find_researchers',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "alphaxivmcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize AlphaXiv MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="alphaxivmcp_find_researchers",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'alphaxivmcp_answer_pdf_queries',
  toolInput: {
    paper: '<paper>',
    queries: [],
  },
  connector: 'alphaxivmcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="alphaxivmcp_answer_pdf_queries",
    tool_input={
        "paper": "<paper>",
        "queries": [],
    },
    connection_name="alphaxivmcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `alphaxivmcp_answer_pdf_queries`

AlphaXiv Answer PDF Queries · Read-only

Returns raw filtered page content from one PDF as XML. Supports arXiv, alphaXiv, and Semantic Scholar abstract pages. Multiple queries on the same paper can be batched into one call.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `paper` (`string`, required): The paper to read, as an ID ('2307.12307'), a URL ('https://arxiv.org/pdf/2307.12307', 'https://www.alphaxiv.org/abs/2307.12307'), or a title or keyword ('DeepSeek-V4'). An title resolves to a single best match, which you should prefer instead of using lookup_paper.
- `queries` (`array`, required): A brief description of what information you're looking for in the paper.

Example input: `{"paper":"<paper>","queries":[]}`

### `alphaxivmcp_discover_papers`

AlphaXiv Discover Papers · Read-only

Discovers and ranks multiple candidate papers for a research topic. Use for literature discovery, related work, or broad topical coverage.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `difficulty` (`number`, required): A 1-10 estimate of how much retrieval effort this request warrants.
- `keywords` (`array`, required): 3-4 concise keyword terms for exact-name, acronym, method, benchmark, author, or title matching.
- `question` (`string`, required): A detailed semantic description of the papers that would best answer the user's request.
- `prioritize` (`string`, optional): What to weigh once topical relevance is accounted for. Omit it for the default, which grounds results in roughly the past year of work while letting strong older matches through. Use 'recency' when the request is about what is new — 'latest work', 'what has X been up to', 'recent papers' — which ranks the newest plausible matches first, needing no date bound and excluding nothing. Use 'historical' for seminal, foundational, or best-known work, where lifetime standing outweighs freshness. Use 'popular' only where the request names popularity, votes, or community standing — 'best' on its own asks which work is strongest, not which is most upvoted — which gives community votes the dominant weight among the topically relevant matches and mostly ignores age; for a pure most-popular list with no subject to search for, browse_paper_feed is the better tool. One of: `historical`, `default`, `recency`, `popular`. Default: `default`.
- `published_after` (`string`, optional): Only return papers first published on or after this date (YYYY-MM-DD). Omit it unless the request names a real boundary, e.g. 'since 2024' — this excludes papers outright, so to merely favour new work set prioritize to 'recency' instead of guessing a cutoff.
- `published_before` (`string`, optional): Only return papers first published on or before this date (YYYY-MM-DD). Omit it unless the request names a historical window, e.g. 'before AlexNet' or 'papers from 2025'. Results thin out the further back and narrower the window is; report what comes back rather than retrying the same window.

Example input: `{"difficulty":1,"keywords":[],"question":"<question>"}`

### `alphaxivmcp_find_researchers`

AlphaXiv Find Researchers · Read-only

The first tool for researcher affiliations, organization rosters, who left an organization, career moves, and what researchers are doing now. It composes name or subject relevance, current affiliation or role, citation range, position history, and verified coauthorship. Never use this tool merely to resolve a name for another call; pass the name directly to that profile or relationship call. Advising and lab-membership questions are answered here: coauthored_with returns the joint-work record behind each candidate, and require_position_overlap narrows it to people who were at the same place at the same time. Position constraints bind to one LinkedIn experience row. Returns [SLUG=...] handles.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `affiliation` (`string`, optional): Current organization ('DeepSeek', 'UC Berkeley'). Every indexed spelling of it is matched, so write the name plainly and never spell out variants yourself. For a historical organization use position.affiliation, or include_past_affiliations as shorthand.
- `include_past_affiliations` (`boolean`, optional): Shorthand for a past position at `affiliation`, excluding researchers whose current affiliation still matches. Use `position` for role or date constraints. Default: `false`.
- `limit` (`integer`, optional): Results per page. Defaults to 12, or 50 for a relationship search, whose rows are one line each.
- `max_citations` (`integer`, optional): Citation ceiling, e.g. to find rising researchers who are not yet famous.
- `min_citations` (`integer`, optional): Citation floor, to keep a roster to established researchers.
- `page` (`integer`, optional): 1-based page over the same ordering. Every result says whether more matched beyond it, so page on when the answer needs the tail rather than re-running a narrower search. A page that reports no total is not a count of the roster; only the last page of a search establishes one. Default: `1`.
- `position` (`object`, optional): Composable LinkedIn position-history filter. Affiliation, role, status, and every date bound apply to the same experience row. For a recent departure use a past position with ended_after and end-date ordering; combine with top-level affiliation or role for transitions.
- `query` (`string`, optional): A person's name only when identifying that person is the final task, or a research subject ('mechanistic interpretability'). Never use this to resolve an anchor for another call; pass the name directly there. Omit for structured roster, relationship, or career queries.
- `relationship` (`object`, optional): Coauthorship evidence from linked public alphaXiv papers, one line per coauthor: shared papers, what share of that person's own output the collaboration is, how often they lead a paper the anchor closes, the years it ran, and their current position. require_position_overlap composes it with position history to add shared time.
- `role` (`string`, optional): Current role to filter by, token-matched ('professor' matches assistant and associate professors; 'phd student'). Only current roles are indexed. Omit or leave empty when not filtering by role.
- `sort` (`string`, optional): 'relevance' ranks a query, or relationship strength for a relationship-only search, otherwise citations. 'recent_activity' ranks by latest linked paper. 'relationship_strength' requires relationship. One of: `relevance`, `citations`, `recent_activity`, `relationship_strength`. Default: `relevance`.
- `topic` (`string`, optional): Research subject to answer from authorship of papers on it, for 'who works on X' and 'who does prominent work on X'. One concept in the vocabulary its own papers use — name the architecture, benchmark, or subfield, and spell out an acronym alongside it. Never concatenate several related concepts to widen the net.
- `topic_authors` (`string`, optional): Which byline slot `topic` weights: 'lead' for the students and postdocs who drive the work, 'senior' for the PIs who close the author list, 'any' for both. One of: `lead`, `senior`, `any`. Default: `lead`.

Example input: `{}`

### `alphaxivmcp_get_paper_content`

AlphaXiv Get Paper Content · Read-only

Get the content of an arXiv/alphaXiv paper as text. By default returns a structured AI-generated intermediate report. Use the fullText option to get raw extracted text.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `url` (`string`, required): An arXiv or alphaXiv URL
- `fullText` (`boolean`, optional): If true, return the full extracted text instead of the intermediate report. Default: `false`.

Example input: `{"url":"<url>"}`

### `alphaxivmcp_get_researcher`

AlphaXiv Get Researcher · Read-only

Gets compact profiles for one or many researchers. Pass full names or exact raw [SLUG=...] handles together in `researchers`; each name resolves to the best-matching indexed researcher, tolerating a misspelling. Never use get_researcher merely before get_researcher_papers; a larger or date-bounded paper question goes directly there. Current positions and up to five curated past positions are returned by default; request additional sections with `include`. Papers are independently opt-in for small profile context. For compact current-role enrichment of names extracted from a webpage, use resolve_researchers.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `researchers` (`array`, required): One to 25 researcher full names or exact raw slugs. Names resolve to the best-matching indexed researcher; a corrected spelling is reported inline.
- `include` (`array`, optional): Additional sections to return. Available sections: bio, full curated position_history, raw linkedin_experience, education, citation_trajectory, coauthors, alphaxiv_account, and links.
- `paper_limit` (`integer`, optional): Papers per researcher. Defaults to 3.
- `papers` (`string`, optional): Optional paper context. notable selects high-attention work and one cross-organization paper when available; recent orders by publication date. One of: `none`, `notable`, `recent`. Default: `none`.

Example input: `{"researchers":[]}`

### `alphaxivmcp_get_researcher_papers`

AlphaXiv Get Researcher Papers · Read-only

Papers on alphaXiv for one or many researchers, grouped per researcher. Pass full names or exact raw [SLUG=...] handles together in `researchers`; each name resolves to the best-matching indexed researcher, tolerating a misspelling. Never call get_researcher or find_researchers first for one named person's papers. Sort 'recent' with published_after answers what-are-they-doing-now; 'cited' answers best-known work. Paper [ID=...] handles chain into the paper tools.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `researchers` (`array`, required): One to 25 researcher full names or exact raw slugs. Names resolve to the best-matching indexed researcher; a corrected spelling is reported inline.
- `limit_per_researcher` (`integer`, optional): Maximum number of papers to return per researcher (1-25). Defaults to 10. Default: `10`.
- `published_after` (`string`, optional): Only papers first published on or after this date (YYYY-MM-DD). Use with sort 'recent' for activity windows; omit unless the request names one.
- `sort` (`string`, optional): 'cited' for notable work, 'recent' for current activity, 'viewed' for alphaXiv attention. One of: `recent`, `cited`, `viewed`. Default: `cited`.

Example input: `{"researchers":[]}`

### `alphaxivmcp_list_followed_researchers`

AlphaXiv List Followed Researchers · Read-only

List the researcher profiles the user follows, with each one's slug, name, current headline or affiliation, and citation count. Following a researcher surfaces their new papers in the user's alphaXiv feed. Pass a slug from here to get_researcher or get_researcher_papers for the full profile.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `alphaxivmcp_list_library`

AlphaXiv List Library · Read-only

List the user's alphaXiv library: their folders (bookmark collections) with folder_id, name, type, parent_id, sharing_status, and paper_count. Set include_papers to also list papers per folder. Pass paper_ids_or_urls to check which folders already contain specific papers. The default folders 'default-to-read', 'default-reading', and 'default-completed' represent reading status; a paper may belong to any number of folders at once.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `include_papers` (`boolean`, optional): Also list the papers inside each folder (capped per folder). Default: `false`.
- `paper_ids_or_urls` (`array`, optional): Report which folders already contain each of these papers.

Example input: `{}`

### `alphaxivmcp_read_files_from_github_repository`

AlphaXiv Read Files From Github Repository · Read-only

Reads the contents of a file or directory from the paper's codebase repository. Returns repository structure for '/', directory listing for directories, or file contents for files.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `githubUrl` (`string`, required): The URL of the paper's codebase repository.
- `path` (`string`, required): The path to the file or directory. Use '/' to get the entire repository structure.

Example input: `{"githubUrl":"<githubUrl>","path":"<path>"}`

### `alphaxivmcp_resolve_researchers`

AlphaXiv Resolve Researchers · Read-only

Turns a list of people extracted from a webpage or other external source into current, citeable alphaXiv researcher entries. Use this once after reading a roster, team page, award list, or similar source, before repeating its possibly stale affiliations. Pass every person in one batch. Optional personal URLs and related researchers disambiguate names; related anchors are matching context, not proof of the source's claimed relationship.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `people` (`array`, required): Up to 50 externally named people to identify in one call.
- `related_researchers` (`array`, optional): Optional full names or exact raw slugs related to the whole list; coauthorship only disambiguates.

Example input: `{"people":[]}`

### `alphaxivmcp_create_folder`

AlphaXiv Create Folder · Write

Create a new custom folder in the user's library. Optionally nest it under parent_folder_id (from list_library). Returns the new folder_id.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): The name to give the new folder (1-100 characters).
- `parent_folder_id` (`string`, optional): Nest the new folder under this existing folder.

Example input: `{"name":"<name>"}`

### `alphaxivmcp_follow_researcher`

AlphaXiv Follow Researcher · Write

Follow a researcher so their new papers reach the user's feed. Idempotent: following someone already followed changes nothing. Get the slug from find_researchers, get_researcher, or a /@<slug> profile URL.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `slug` (`string`, required): Researcher slug, as returned in [SLUG=...] handles and rendered at /@<slug>.

Example input: `{"slug":"<slug>"}`

### `alphaxivmcp_rename_folder`

AlphaXiv Rename Folder · Write

Rename a custom folder. Only custom folders can be renamed, not the default reading-status or publications folders. Get folder_id from list_library.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The folder_id of the custom folder to rename, obtained from list_library.
- `name` (`string`, required): The new name for the folder (1-100 characters).

Example input: `{"folder_id":"<folder_id>","name":"<name>"}`

### `alphaxivmcp_save_papers_to_folder`

AlphaXiv Save Papers To Folder · Write

Add one or more papers (by arXiv id or alphaXiv/arXiv URL) to a folder in the user's library. Papers not yet in the database are fetched from arXiv. Omit folder_id to save to the 'Want to read' folder. Get folder_id from list_library. Adding is idempotent and never removes a paper from its other folders.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `paper_ids_or_urls` (`array`, required): One or more papers to add, each as an arXiv id or an alphaXiv/arXiv URL.
- `folder_id` (`string`, optional): Target folder. Defaults to the user's 'Want to read' folder.

Example input: `{"paper_ids_or_urls":[]}`

### `alphaxivmcp_delete_folder`

AlphaXiv Delete Folder · Destructive

Delete a folder and its paper memberships (the papers themselves are not deleted). The publications and private-papers folders cannot be deleted. Get folder_id from list_library.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The folder_id of the folder to delete, obtained from list_library.

Example input: `{"folder_id":"<folder_id>"}`

### `alphaxivmcp_move_papers_between_folders`

AlphaXiv Move Papers Between Folders · Destructive

Move papers from a source folder to a destination folder in a single atomic operation: each paper is added to the destination and removed from the source. A paper already in the destination is reported as a duplicate and left untouched in the source. Get folder ids from list_library.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `from_folder_id` (`string`, required): The folder_id of the source folder, obtained from list_library.
- `paper_ids_or_urls` (`array`, required): One or more papers to move, each as an arXiv id or an alphaXiv/arXiv URL.
- `to_folder_id` (`string`, required): The folder_id of the destination folder, obtained from list_library.

Example input: `{"from_folder_id":"<from_folder_id>","paper_ids_or_urls":[],"to_folder_id":"<to_folder_id>"}`

### `alphaxivmcp_remove_papers_from_folder`

AlphaXiv Remove Papers From Folder · Destructive

Remove one or more papers from a single folder in the user's library. Only affects the given folder; the paper stays in any others. Get folder_id from list_library.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The folder_id of the folder to remove the papers from, obtained from list_library.
- `paper_ids_or_urls` (`array`, required): One or more papers to remove from the folder, each as an arXiv id or an alphaXiv/arXiv URL.

Example input: `{"folder_id":"<folder_id>","paper_ids_or_urls":[]}`

### `alphaxivmcp_unfollow_researcher`

AlphaXiv Unfollow Researcher · Destructive

Stop following a researcher. Idempotent: unfollowing someone not followed changes nothing. Get the slug from list_followed_researchers.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `slug` (`string`, required): Researcher slug, as returned in [SLUG=...] handles and rendered at /@<slug>.

Example input: `{"slug":"<slug>"}`

## Related

Other AI connectors ([all 153](/agentkit/connectors/?category=ai)):

- [Chorus](/agentkit/connectors/chorus/): Scalekit connector, Username and password, 9 tools
- [Gong](/agentkit/connectors/gong/): Scalekit connector, OAuth, 69 tools
- [Jiminny](/agentkit/connectors/jiminny/): Scalekit connector, Access token, 27 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
