sarashina-arxiv-mcp
Fetches and processes arXiv papers: translates them into bilingual Japanese/English HTML pages, tracks translation progress, and performs semantic search over paper content with translated excerpts.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
sarashina-arxiv-mcp
sarashina-arxiv-rag(sarashina_client)を DeepSeek harness (dsh)の tool として使えるようにする stdio の MCP サーバー。sarashina-arxiv-rag のコードは変更せず、path 依存で import して使う。
このプロジェクトは terasakisatoshi 氏の sarashina-arxiv-rag をインスパイア元として作ったもので、翻訳・索引のエンジン(sarashina_client)も上流リポジトリのものをそのまま使っている。

セットアップ
Python 3.14+ と uv を使う。上流の sarashina-arxiv-rag をこのリポジトリの隣に clone してから uv sync する(pyproject.toml の path 依存が ../sarashina-arxiv-rag を指す):
git clone https://github.com/terasakisatoshi/sarashina-arxiv-rag.git
git clone https://github.com/koh11235813/sarashina-arxiv-mcp.git
cd sarashina-arxiv-mcp
uv syncSARASHINA_API_KEY(https://chat.sarashina.ai/dashboard/api-keys で発行)をプロジェクト直下の .env に置く。サーバーは cwd の .env を読むので、dsh からは MCP entry の cwd をこのディレクトリに向ける。すでに .env がある場合は上書きしない:
[ -f .env ] || echo 'SARASHINA_API_KEY=your_api_key_here' > .envRelated MCP server: arXiv MCP Server
skill
skills/sarashina-arxiv-rag/ に、dsh がこの MCP を使うときの手順書(SKILL.md)とその evals が入っている。~/.agents/skills/ に symlink すると dsh の skill として読まれる:
ln -sfn "$PWD/skills/sarashina-arxiv-rag" ~/.agents/skills/sarashina-arxiv-ragtools
dsh からは mcp__sarashina__<名前> で見える。
tool | すること |
| arXiv 論文を段落ごとに英→日翻訳し、 |
| 翻訳ジョブの進み具合、残り時間、エラー、HTML へのリンク |
| Sarashina の埋め込みと rerank で、論文から質問に近い箇所を最大 5 つ返す(ページ番号と、キャッシュ済みなら訳つき)。 |
| 任意のテキストの日英翻訳 |
paper には 2611.22373、https://arxiv.org/abs/2611.22373、10.48550/arXiv.2611.22373 のどれでも渡せる。HTML のファイル名は DOI の arXiv. 以降を小文字にしたもの(/tmp/arxiv.2611.22373.html)。
対訳ページ
既定は対訳表示で、右ペインの幅が広いと日本語と英語が左右に並ぶ。「日本語」「English」へはボタン、またはキーボードの
b/j/eで切り替えられる。右上に現在の段落番号(
¶42 / 221 · p.3)が表示され、¶欄に番号を入れると移動できる。図と表は PDF から切り抜いた画像として、display 数式は arXiv HTML 版の MathML(取得できない場合は画像)として、翻訳せずに埋め込む。
4 語未満の短い断片(図のラベル、表のセル、見出しなど)は翻訳せず、英語のまま表示する。
翻訳 API は 6 リクエスト/分のため、HTML は開始時、1 分後、その後 5 分ごと、完了時に書き直す。書き直しのたびに先頭へ戻るので、位置は段落番号で戻す。
翻訳中に別のページ範囲で
translate_paperを呼んでも、走っているジョブは止まらない。範囲を変えるときは、完了後に呼び直す。
キャッシュ
訳と埋め込みは sarashina-arxiv-rag と同じ ~/.cache/sarashina-client($SARASHINA_CACHE_DIR)に、同じキー(chunk 本文の SHA1)で入る。途中で止まっても、translate_paper をもう一度呼べば訳済みの段落は API を呼ばずに再利用される。sarashina-web で訳した段落も共有される。
開発
uv sync
uv run pytest # ネットワークも API キーも使わないTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
GitHub, npm, PyPI, Stack Overflow, arXiv and OpenAlex paper search as agent tools.
arXiv and OpenAlex/Crossref paper search (an open Google Scholar alternative) as agent tools.
Papers, SEC filings, Wikipedia, HN and web reading for research agents. 15 tools, x402.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables searching, downloading, and managing academic papers from arXiv.org through natural language interactions. Provides tools for paper discovery, PDF downloads, and local paper collection management.41MIT
- AlicenseAqualityDmaintenanceEnables interaction with arXiv.org to search scholarly articles, retrieve metadata, download PDFs, and load article content directly into LLM context for analysis.53MIT
- AlicenseNot gradedqualityDmaintenanceEnables agents to search, analyze, and explore arXiv academic papers with advanced multi-field search, author lookup, category browsing, citation extraction, and bibliography export.63 npmApache 2.0
- AlicenseAqualityBmaintenanceEnables AI assistants to search arXiv papers, retrieve metadata, browse categories, and read paper text.5MIT