PA

prashalruchiranga/arxiv-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

41 stars 9 forks 品質 56 トレンド 12MIT

自然言語を用いた arXiv API とやり取りできる MCP サーバー

概要

自然言語を使用して arXiv API と相互作用することを可能にするモデルコンテキストプロトコル(MCP)サーバー。 - arXiv.orgでホストされているスカラーリー記事に関するメタデータを取得する - ローカルマシンにPDF形式の記事をダウンロード - 特定のクエリのためのarXivデータベースを検索 - 記事を取得し、大きな言語モデル(LLM)コンテキストにそれらを読み込む - - - タイトルに基づいて、arXiv.orgでホストされている記事のURLを取得する - 記事のタイトル - - arXiv.orgでホストされている記事をPDFファイルとしてダウンロード - タイトル(文字列):記事タイトル - - arXiv.orgでホストされている記事をLLM - タイトル(文字列): 記事タイトル - - arXivでホストされている記事のメタデータを取得します.

概要(AI 翻訳)

自然言語を使用して arXiv API と相互作用することを可能にするモデルコンテキストプロトコル(MCP)サーバー。

##特徴

  • arXiv.orgでホストされている学術的な記事に関するメタデータを取得します
  • ローカルマシンにPDF形式の記事をダウンロード
  • 特定のクエリでarXivデータベースを検索する
  • 記事の取得と大きな言語モデル(LLM)のコンテキストに読み込みます

ツール

  • get article url
  • タイトルに基づいてarXiv.orgでホストされている記事のURLを取得します
  • [title (文字列): タイトル
  • download article
  • arXiv.orgでホストされている記事をPDFファイルとしてダウンロード
  • [title(文字列):記事タイトル
  • **load article to context **
  • arXiv.orgでホストされている記事をLMLのコンテキストにロードする
  • [title(文字列):記事タイトル
  • get details
  • タイトルに基づいてarXiv.orgでホストされている記事のメタデータを取得する
  • [title(文字列):記事タイトル
  • search arxiv
  • 指定されたパラメータに基づいて arXiv API の検索クエリを実行し、一致する記事メタデータを返す
  • [all_fields(文字列):すべてのメタデータフィールドを横断する一般的なキーワード検索
  • [title (文字列): キーワード(s)の記事のタイトル内で検索

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

arXiv MCP Server

A Model Context Protocol (MCP) server that enables interacting with the arXiv API using natural language.

Features

  • Retrieve metadata about scholarly articles hosted on arXiv.org
  • Download articles in PDF format to the local machine
  • Search arXiv database for a particular query
  • Retrieve articles and load them into a large language model (LLM) context

Tools

  • get_article_url
    • Retrieve the URL of an article hosted on arXiv.org based on its title
      • title (String): Article title
  • download_article
    • Download the article hosted on arXiv.org as a PDF file
      • title (String): Article title
  • load_article_to_context
    • Load the article hosted on arXiv.org into context of a LLM
      • title (String): Article title
  • get_details
    • Retrieve metadata of an article hosted on arXiv.org based on its title
      • title (String): Article title
  • search_arxiv
    • Performs a search query on the arXiv API based on specified parameters and returns matching article metadata
      • all_fields (String): General keyword search across all metadata fields
      • title (String): Keyword(s) to search for within the titles of articles
      • author (String): Author name(s) to filter results by
      • abstract (String): Keyword(s) to search for within article abstracts
      • start (int): Index of the first result to return

Setup

MacOS

Clone the repository

git clone https://github.com/prashalruchiranga/arxiv-mcp-server.git
cd arxiv-mcp-server

Install uv package manager. For more details on installing, visit the official uv documentation.

# Using Homebrew
brew install uv

# or
curl -LsSf https://astral.sh/uv/install.sh | sh

Create and activate virtual environment.

uv venv --python=python3.13
source .venv/bin/activate

Install development dependencies.

uv sync

Windows

Install uv package manager. For more details on installing, visit the official uv documentation.

# Use irm to download the script and execute it with iex
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Close and reopen the shell, then clone the repository.

git clone https://github.com/prashalruchiranga/arxiv-mcp-server.git
cd arxiv-mcp-server

Create and activate virtual environment.

uv venv --python=python3.13
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →