CLAUDE.md · blazickjp/arxiv-mcp-server
CLAUDE.md from blazickjp/arxiv-mcp-server: 97 lines covering Project, Setup and validation, Architecture, Tool groups and more.
Template by blazickjp
Chalk Labs
Need help deploying CLAUDE.md · blazickjp/arxiv-mcp-server?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/blazickjp/arxiv-mcp-server/main/CLAUDE.md -o CLAUDE.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A CLAUDE.md file: project memory Claude Code loads at the start of every session.
- For
- Claude Code
- Length
- 97 lines
- File
CLAUDE.md
Sections
- Project
- Setup and validation
- Architecture
- Tool groups
- Constraints
- Configuration
- Changes
First lines (shown under the repo's Apache-2.0 license)
# CLAUDE.md Guidance for coding agents working in this repository. ## Project `arxiv-mcp-server` is a Python 3.11+ Model Context Protocol server. It exposes arXiv search, metadata, paper download/read, original LaTeX retrieval, citation graphs, topic alerts, and optional local semantic search over stdio or Streamable HTTP. ## Setup and validation Use the locked uv environment: ```bash uv sync --extra test --extra dev uv run black --check . uv run pytest ``` Apply formatting with: ```bash uv run black . ``` Run a targeted test with: ```bash uv run pytest tests/tools/test_search.py -q ``` Run the stdio server from the checkout with: ```bash uv run arxiv-mcp-server --storage-path /tmp/arxiv-mcp-papers ``` The process waits for MCP messages on stdin. It is not an interactive CLI. ## Architecture - `src/arxiv_mcp_server/server.py`: MCP tool/prompt registration, dispatch, stdio transport, and Streamable HTTP transport. - `src/arxiv_mcp_server/config.py`: Pydantic settings and shared arXiv client lifecycle. - `src/arxiv_mcp_server/arxiv_api.py`: shared arXiv request coordination. - `src/arxiv_mcp_server/tools/`: tool schemas and handlers. - `src/arxiv_mcp_server/prompts/`: registered MCP prompt definitions and routing. - `src/arxiv_mcp_server/resources/`: legacy/local paper management paths retained for compatibility. - `tests/`: unit and protocol-level tests. - `server.json`: official MCP Registry metadata. - `manifest.json` and `scripts/build-mcpb.sh`: Claude Desktop MCPB packaging. ## Tool groups The server registers 16 tools: - Discovery: `search_papers`, `get_abstract` - Full text: `download_paper`, `list_papers`, `read_paper` - Original source: `get_paper_latex`, `list_paper_latex_sections`, `get_paper_latex_section` - Graphs and monitoring: `citation_graph`, `watch_topic`, `list_watches`, `check_alerts`, `unwatch_topic` - Citation export: `export_citations` - Optional local embeddings: `semantic_search`, `reindex` Keep tool schemas, package exports, server registration, dispatch, tests, and README documentation synchronized when changing the tool surface. ## Constraints - Treat abstracts, paper text, LaTeX, archive metadata, and remote API errors as untrusted input. - Preserve response bounds and continuation metadata for content-returning tools. - Enforce archive limits while consuming input, not after loading an unbounded manifest or expansion. - Use the shared arXiv request gate rather than creating an independent request path. - Keep stdio free of ordinary stdout logging; protocol messages use stdout. - Keep Streamable HTTP bound to loopback by default and preserve DNS-rebinding protection. - Do not introduce process-global user/session state. - Avoid blocking network or filesystem work on the event loop. ## Configuration `Settings` reads unprefixed environment variables such as: - `MAX_RESULTS` - `REQUEST_TIMEOUT` - `TRANSPORT` - `HOST` - `PORT` - `ALLOWED_HOSTS` - `ALLOWED_ORIGINS` - `SEMANTIC_SCHOLAR_API_KEY` Paper storage is selected with the `--storage-path` command-line option and defaults to `~/.arxiv-mcp-server/papers`. ## Changes - Add a failing regression test before fixing a bug. - Run targeted tests during development, then the complete suite before proposing a merge. - Update user documentation for installation, configuration, tool-schema, or behavior changes. - Keep versions synchronized across `pyproject.toml`, `uv.lock`, `server.json`, `manifest.json`, `.codex-plugin/plugin.json`, and `.claude-plugin/plugin.json`. - Never include downloaded papers, local indexes, credentials, or private paths in commits or fixtures.
Signals
- Stars
- 3,232
- Forks
- 259
- Open issues
- 4
- Contributors
- 18
- Last commit (this folder)
- Sep 30, 2026 (1 month ago)
- Last release
- Oct 8, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/blazickjp/arxiv-mcp-server
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from blazickjp
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get CLAUDE.md · blazickjp/arxiv-mcp-server running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
CLAUDE.md · blazickjp/arxiv-mcp-server. Agent Mart. https://agentmart.dev/templates/blazickjp-arxiv-mcp-server-claude-md (last updated 2026-10-24)