arXiv MCP Server
arXiv MCP サーバー
自然言語を使用して arXiv API と対話できるようにするモデル コンテキスト プロトコル (MCP) サーバー。
特徴
arXiv.org にホストされている学術論文のメタデータを取得します
記事をPDF形式でローカルマシンにダウンロードする
特定のクエリでarXivデータベースを検索する
記事を取得し、大規模言語モデル(LLM)コンテキストにロードする
Related MCP server: Model Context Protocol Python Server
ツール
記事のURLを取得する
arXiv.org にホストされている記事の URL をタイトルに基づいて取得する
title(文字列): 記事のタイトル
ダウンロード記事
arXiv.org にホストされている記事を PDF ファイルとしてダウンロードする
title(文字列): 記事のタイトル
記事をコンテキストに読み込む
arXiv.org にホストされている記事を LLM のコンテキストにロードする
title(文字列): 記事のタイトル
詳細を取得する
arXiv.org にホストされている記事のメタデータをタイトルに基づいて取得する
title(文字列): 記事のタイトル
検索_arxiv
指定されたパラメータに基づいてarXiv APIで検索クエリを実行し、一致する記事のメタデータを返します。
all_fields(文字列): すべてのメタデータフィールドにわたる一般的なキーワード検索title(文字列): 記事のタイトル内で検索するキーワードauthor(文字列): 結果をフィルタリングする著者名abstract(文字列): 論文抄録内で検索するキーワードstart(int): 返される最初の結果のインデックス
設定
手動インストール
リポジトリをクローンする
git clone https://github.com/prashalruchiranga/arxiv-mcp-server.git
cd arxiv-mcp-serveruvパッケージマネージャーをインストールします。他のオペレーティングシステムへのインストールの詳細については、公式のUVドキュメントをご覧ください。
# Using Homebrew for macOS
brew install uv
# or
curl -LsSf https://astral.sh/uv/install.sh | sh仮想環境を作成してアクティブ化します。
uv venv --python=python3.13
source .venv/bin/activate # or `venv\Scripts\activate` on Windows開発依存関係をインストールします。
uv syncClaude Desktopでの使用
この統合を有効にするには、 claude_desktop_config.jsonファイルにサーバー設定を追加してください。ファイルが存在しない場合は作成してください。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"arxiv-server": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/arxiv-mcp-server/src/arxiv_server",
"run",
"server.py"
],
"env": {
"DOWNLOAD_PATH": "/ABSOLUTE/PATH/TO/DOWNLOADS/FOLDER"
}
}
}
}コマンドフィールドに uv 実行ファイルへのフルパスを入力する必要があるかもしれません。これは、macOSの場合はwhich uv 、Windowsの場合はwhere uv実行することで取得できます。
プロンプトの例
Can you get the details of 'Reasoning to Learn from Latent Thoughts' paper?Get the papers authored or co-authored by Yann Lecun on convolutional neural networksDownload the attention is all you need paperCan you get the papers by Andrew NG which have 'convolutional neural networks' in title?Can you display the paper?List the titles of papers by Yann LeCun. Paginate through the API until there are 30 titlesライセンス
MITライセンス。LICENSE を参照してください。
Available Tools
5 toolsdownload_articleB
Download the article hosted on arXiv.org as a PDF file. This tool searches for the article based on its title, retrieves the article's PDF, and saves it to a specified download location using the arXiv ID as the filename.
Args: title: Article title.
Returns: Success or error message.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden. It describes the download and save behavior but lacks critical details: authentication requirements, rate limits, file size constraints, error handling specifics, or whether the operation is idempotent. The mention of 'arXiv ID as filename' is helpful but insufficient for comprehensive behavioral understanding.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded with the core functionality. The Args/Returns sections are clear but could be integrated more seamlessly. Every sentence contributes meaning, though the structure could be more fluid.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and minimal schema coverage, the description provides basic operational context but lacks sufficient detail for a robust tool. It explains what happens but not how it happens under different conditions, error scenarios, or performance characteristics.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage and only 1 parameter, the description adds significant value by explaining that the 'title' parameter is used to search for the article. However, it doesn't clarify format expectations (exact match vs. partial), search behavior, or what happens with ambiguous titles.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('download', 'searches', 'retrieves', 'saves') and resources ('article hosted on arXiv.org', 'PDF file'). It distinguishes from siblings by specifying the full download process rather than just getting URLs or details.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_article_url', 'search_arxiv', or 'load_article_to_context'. It doesn't mention prerequisites, limitations, or comparative use cases with sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_article_urlA
Retrieve the URL of an article hosted on arXiv.org based on its title. Use this tool only for retrieving the URL. This tool searches for the article based on its title, and then fetches the corresponding URL from arXiv.org.
Args: title: Article title.
Returns: URL that can be used to retrieve the article.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the behavioral process ('searches for the article based on its title, and then fetches the corresponding URL'), which is helpful. However, it lacks details on error handling, rate limits, or authentication needs, leaving some behavioral aspects unclear for a tool that interacts with an external service.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by usage guidelines and behavioral details, all in three concise sentences. The Args and Returns sections are structured and add necessary information without redundancy, making every sentence earn its place efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, 0% schema coverage, and no output schema, the description does well by explaining the tool's purpose, usage, process, and return value. However, it could be more complete by addressing potential issues like what happens if no article is found or if multiple matches exist, which are relevant for a search-based tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds meaningful context by explaining that the 'title' parameter is the 'Article title' used for searching, which clarifies its role beyond the bare schema. However, it doesn't specify format requirements (e.g., exact match vs. partial) or examples, leaving some ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Retrieve the URL'), resource ('article hosted on arXiv.org'), and mechanism ('based on its title'). It distinguishes this tool from siblings like download_article (which downloads content) and search_arxiv (which likely returns search results), making the purpose unambiguous and well-differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance: 'Use this tool only for retrieving the URL.' This clearly defines when to use it (for URL retrieval) and implies when not to use it (e.g., for downloading content, which is handled by download_article). It effectively distinguishes this tool from alternatives in the sibling list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_detailsA
Retrieve information of an article hosted on arXiv.org based on its title. This tool searches for the article based on its title and retrieves arXiv ID, title, authors, link, direct PDF URL, published timestamp, last updated timestamp, and summary.
Args: title: Article title.
Returns: A JSON-formatted string containing article details if retrieval is successful; otherwise, a plain error message string.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses the tool's behavior (searches by title, returns JSON on success or error message on failure), but lacks details on error conditions, rate limits, authentication needs, or whether the search is exact or fuzzy.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded with the core purpose, followed by clear sections for arguments and returns. Every sentence adds value without redundancy, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (single parameter, no output schema, no annotations), the description is mostly complete. It covers purpose, usage, parameters, and return behavior, but could improve by addressing error specifics or search nuances for full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds meaningful context beyond the schema, which has 0% coverage. It explains that the 'title' parameter is used to search for the article and retrieve its details, though it doesn't specify format expectations or search behavior (e.g., exact match, partial).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verb ('Retrieve information') and resource ('article hosted on arXiv.org'), and distinguishes it from siblings by specifying it searches by title and returns comprehensive metadata rather than downloading or loading content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use this tool (retrieving article details by title), but does not explicitly mention when not to use it or name specific alternatives among the sibling tools like search_arxiv or get_article_url.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
load_article_to_contextB
Load the article hosted on arXiv.org into context. This tool searches for the article based on its title, retrieves the article content, and loads text content into LLM context.
Args: title: Article title.
Returns: Article as a text string or error message.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden but provides minimal behavioral details. It mentions searching and retrieving content, but doesn't disclose error handling, rate limits, authentication needs, or what 'loads text content into LLM context' entails operationally. The return statement adds some value but remains vague.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and concise, with a clear purpose statement followed by Args and Returns sections. Each sentence adds value, though the return statement could be more specific about error conditions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and low schema coverage, the description is minimally adequate. It covers the basic purpose and parameter use but lacks details on behavioral traits, error handling, and output format beyond 'text string or error message', leaving gaps for a tool that interacts with an external service.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds meaningful context for the single parameter 'title' by specifying it's used to search for the article on arXiv.org. With 0% schema description coverage and only one parameter, this adequately compensates, though it doesn't detail format constraints like exact match requirements.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Load the article hosted on arXiv.org into context' with specific actions (search, retrieve, load text). It distinguishes from siblings like 'download_article' (which might save files) and 'search_arxiv' (which might return metadata), but doesn't explicitly contrast them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like 'download_article' or 'search_arxiv'. The description implies usage for loading article content into context, but lacks explicit when/when-not instructions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_arxivB
Performs a search query on the arXiv API based on specified parameters and returns matching article metadata. This function allows for flexible querying of the arXiv database. Only parameters that are explicitly provided will be included in the final search query. Results are returned in a JSON-formatted string with article titles as keys and their corresponding arXiv IDs as values.
Args: all_fields: General keyword search across all metadata fields including title, abstract, authors, comments, and categories. title: Keyword(s) to search for within the titles of articles. author: Author name(s) to filter results by. abstract: Keyword(s) to search for within article abstracts. start: Index of the first result to return; used for paginating through search results. Defaults to 0.
Returns: A JSON-formatted string containing article titles and their associated arXiv IDs; otherwise, a plain error message string.
| Name | Required | Description | Default |
|---|---|---|---|
| all_fields | No | ||
| title | No | ||
| author | No | ||
| abstract | No | ||
| start | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that results are JSON-formatted with titles as keys and arXiv IDs as values, and mentions pagination via the 'start' parameter. However, it lacks details on rate limits, error handling beyond 'plain error message string,' or authentication needs, leaving behavioral gaps for a search tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a purpose statement, parameter explanations, and return details in separate sections. It's appropriately sized but includes some redundancy (e.g., repeating 'JSON-formatted string'). Every sentence adds value, though it could be more front-loaded with key usage information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, 0% schema coverage, and no output schema, the description does a decent job covering parameters and basic behavior. However, for a search tool with 5 parameters and sibling alternatives, it lacks context on error specifics, result limits, or when to choose this over other tools, making it minimally adequate but incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It effectively explains all five parameters: 'all_fields' searches across metadata, 'title' searches titles, 'author' filters by author, 'abstract' searches abstracts, and 'start' is for pagination. This adds clear meaning beyond the schema's basic titles, though it doesn't cover default behaviors or input formats in depth.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool 'performs a search query on the arXiv API' and 'returns matching article metadata,' providing a specific verb (search) and resource (arXiv database). It distinguishes from siblings like download_article or get_details by focusing on search functionality, though it doesn't explicitly contrast with them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like get_details or load_article_to_context. It mentions 'flexible querying' but offers no explicit when/when-not scenarios or prerequisites, leaving the agent to infer usage from context alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
- First observed
download_article - First observed
get_article_url - First observed
get_details - First observed
load_article_to_context - First observed
search_arxiv
TDQS
Scored across 5 tools
The tools have some functional overlap that could cause confusion, particularly between get_article_url, get_details, and load_article_to_context which all retrieve article information based on title. However, their specific purposes (URL retrieval, metadata details, and full text loading) are differentiated in their descriptions, which helps mitigate misselection risks.
Most tools follow a consistent verb_noun pattern (download_article, get_article_url, get_details, load_article_to_context) with clear action-oriented names. The only deviation is search_arxiv, which uses 'search' as a verb but follows the same general naming convention, maintaining good readability throughout the set.
With 5 tools, this server is well-scoped for arXiv article operations. Each tool serves a distinct purpose in the article retrieval and search workflow, from discovery (search_arxiv) to information retrieval (get_details, get_article_url) to content access (download_article, load_article_to_context), making the count appropriate for the domain.
The tool set covers core arXiv operations effectively: searching, retrieving metadata, accessing URLs, downloading PDFs, and loading text content. A minor gap exists in update/management operations (e.g., saving articles to collections or tracking reading history), but these are not essential for the basic arXiv interaction workflow that this server targets.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
A Model Context Protocol server for Wix AI tools
Extract papers from ArXiv — titles, abstracts, authors, categories & PDF links. Monitor new AI, phys
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI agents to search, retrieve, and analyze academic papers from arXiv, supporting features like keyword search, paper details retrieval, content extraction, and paper analysis.6MIT
- FlicenseNot gradedqualityDmaintenanceA Python implementation of the Model Context Protocol (MCP) server that enables searching and extracting information from arXiv papers, designed to be extensible with additional MCP tools.-
- FlicenseAqualityDmaintenanceA Model Context Protocol server that provides tools for searching arXiv papers and managing research paper information with local storage capabilities.21-
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to search, retrieve, analyze, and export academic papers from arXiv.org using the Model Context Protocol.19MIT