Arxivum
This server is a local research assistant that searches arXiv, builds a personal paper library, and uses local LLMs to summarize, generate ideas, verify novelty, and query papers—all without cloud calls.
Search and import papers from arXiv with optional field-specific queries, category filters, enrichment (citation counts via Semantic Scholar), and summaries.
Query the local library using hybrid vector + metadata retrieval with optional cross-encoder reranking, citation/venue/category filters.
Get detailed paper info including metadata, citation metrics, summaries, and generated ideas.
Generate structured summaries (problem statement, methodology, findings, ablations, discussion, limitations, overall) with caching and section selection.
Generate novel research ideas based on a paper's constraints and inductive biases, including search queries for novelty checks.
Verify novelty of generated ideas against the local library and arXiv, returning verdicts: likely_novel, needs_review, or similar_exists.
List and filter the paper library with pagination, sorting by citations/date, and venue/category filters.
Remove papers and their derived data (summaries, embeddings, cached files).
Monitor agent activity via a detailed action log (search, import, summarize, idea, novelty, query, remove, enrich).
Search and import papers from arXiv into a local library.
Enrich papers with citation counts, venue, and impact data from Semantic Scholar.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Arxivum search arXiv for recent papers on reinforcement learning and summarize them"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
What it does
Search arXiv and import papers into a local library with one tool call.
Enrich every paper with citation counts, venue, and impact data from Semantic Scholar. Free, no API key required.
Summarise papers into structured sections: problem statement, methodology, findings, ablations, discussion, limitations, and an overall assessment. Generated by a local LLM.
Generate ideas grounded in each paper's constraints, assumptions, and inductive biases. Each idea includes suggested search queries for novelty verification.
Verify novelty by checking generated ideas against your local library and arXiv. The LLM judges overlap and returns a verdict: likely novel, needs review, or similar exists.
Query the library with hybrid vector + metadata retrieval and cross-encoder reranking for precise results.
Supervise everything through a visual web panel. Inspect papers, approve or reject ideas, and watch every agent action in real time.
Everything runs on your CPU or a small GPU. No cloud LLM calls. No data leaves your machine.
Related MCP server: paper-mcp
Quick start
1. Install
git clone <repo>
cd arxivum
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev,llm]"On Windows, activate the venv with .venv\Scripts\activate instead.
The [llm] extra installs llama-cpp-python, which needs CMake and a C++
compiler. On Windows, install Visual Studio Build Tools first. Without
[llm], everything works except local LLM generation (summaries, ideas,
novelty checks). You can still search, import, enrich, and query the library.
2. Configure
cp .env.example .envEdit .env and add your HF_TOKEN. This is used only for downloading
models from Hugging Face Hub. No remote inference is performed.
3. Download models (~1.5 GB)
python scripts/download_models.pyThis downloads BGE embedding and reranker models (cached by sentence-transformers) and Qwen2.5-1.5B-Instruct GGUF (Q4_K_M, ~1 GB) for local LLM inference.
4. Initialise the database
python scripts/migrate.py5. Run
MCP server for coding agents (Claude Code, Cursor, Freebuff):
python -m src.mcp_serverCommunicates over stdio by default. Set MCP_TRANSPORT=sse in .env for
SSE mode.
Web API + visual panel for human supervision:
python -m src.api.mainVisual panel:
http://localhost:8000Demo page:
http://localhost:8000/demoAPI docs:
http://localhost:8000/docs
MCP tools
The server exposes nine tools, all prefixed with research_:
Tool | Description |
| Search arXiv, import results, optionally enrich and summarise. |
| Hybrid vector + metadata search over your local library. |
| Full metadata, metrics, summaries, and ideas for a paper. |
| Remove a paper and all derived data. |
| Generate or retrieve structured summaries. |
| Generate novel ideas from a paper's constraints. |
| Re-verify an idea's novelty against the library and arXiv. |
| List papers with pagination and filters. |
| Return recent agent actions for supervision. |
Configuration
All settings come from environment variables loaded from .env.
See .env.example for the full list and defaults. Key options:
Variable | Default | Purpose |
|
| SQLite database + ChromaDB location. |
|
| GGUF model file location. |
|
| LLM context window size. |
|
| CPU threads for LLM inference. |
|
| GPU layers to offload (0 = pure CPU). |
|
| MCP transport: |
| unset |
|
| none | Hugging Face token (model download only). |
Testing
pytestUnit, component, and integration tests. Mocked and offline. Runs in ~3 seconds.
Smoke tests require real models and network access. Run them after downloading models:
pytest tests/smoke/ -v -sHow it works
Coding Agent ──MCP stdio──▶ MCP Server ──▶ arXiv API + Semantic Scholar
│
FastAPI + Visual Panel
│
┌───────────────┴───────────────┐
ChromaDB SQLite
(vectors) (metadata/ideas)
│
llama-cpp-python (Qwen2.5-1.5B GGUF)
sentence-transformers (BGE embed/rerank)Retrieval pipeline:
arXiv search results are imported into SQLite (metadata) and ChromaDB (vector embeddings of abstracts and titles).
Semantic Scholar enrichment adds citation counts and venue data.
Generated summary sections are also indexed as vector chunks for fine-grained RAG retrieval.
Library queries use hybrid vector search with metadata pre-filtering, followed by cross-encoder reranking for precision.
Memory management: On constrained machines, only one heavy model
(embedder, reranker, or LLM) is resident at a time. The model manager
automatically unloads the previous model before loading the next. Set
WARM_RESIDENCY=1 on hosts with ≥ 8 GB free RAM to skip the swap and
keep all three loaded. On a 1.5B Q4_K_M GGUF this trades ~1 GB of RAM
for eliminating ~175× cold-load latency (see the
Warm-residency: rows in tests/benchmark/BENCHMARK_RESULTS.md).
Scope
This is a local-only POC. All models, databases, and services run on the user's machine. Cloud and HPC scaling is future work.
License
MIT. See LICENSE.
Available Tools
9 toolsresearch_generate_ideasA
Generate novel research ideas based on a paper's constraints and inductive biases. Each idea includes suggested search queries for novelty verification.
Args: arxiv_id: Source paper's arXiv ID. num_ideas: Number of ideas (1–5, default 3). focus_area: theoretical, applied, methodological, or hybrid.
Inputs: arxiv_id (required), num_ideas, focus_area. Returns: result
research_generate_summaryA
Generate or retrieve a structured summary of a paper. Sections: problem_statement, methodology, findings, ablations, discussion, limitations, overall.
Args: arxiv_id: arXiv ID of the paper. sections: Which sections to generate (default: all). force: Regenerate even if cached (default False).
Inputs: arxiv_id (required), force, sections. Returns: result
research_get_activity_logB
Return recent agent actions from the activity log for supervision.
Args: limit: Number of entries (default 50). action_type: Optional filter — search, import, summarize, idea, novelty, query, remove, enrich.
Inputs: limit, action_type. Returns: result
research_get_paper_detailsA
Get full metadata, citation metrics, summaries, and ideas for a paper in the local library.
Args: arxiv_id: Normalized arXiv ID (e.g. 2106.00001).
Inputs: arxiv_id (required). Returns: result
research_list_libraryA
List papers in the local library with pagination and optional filters.
Args: limit: Page size (default 20). offset: Pagination offset (default 0). sort_by: Sort key — citation_count, published, or created_at. primary_category: Optional arXiv category filter (e.g. cs.LG). min_citations: Filter out papers with fewer citations (0 = no filter). venue: Partial venue/conference name filter (e.g. "NeurIPS").
Inputs: limit, venue, offset, sort_by, +2 more. Returns: result
research_query_libraryA
Search the local library for papers relevant to query using hybrid vector + metadata retrieval. Returns JSON with scored results including abstract snippets and citation counts.
Args: query: Natural-language query. top_k: Number of results (default 5). min_citations: Filter out papers with fewer citations (0 = no filter). venue: Partial venue/conference name filter (e.g. "NeurIPS"). primary_category: arXiv category filter (e.g. cs.LG). rerank: Apply cross-encoder reranking (default True).
Inputs: query (required), top_k, venue, rerank, +2 more. Returns: result
research_remove_paperA
Remove a paper and all derived data (summaries, ideas, embeddings) from the local library.
Args: arxiv_id: arXiv ID of the paper to remove. delete_files: Also delete cached files (default True).
Inputs: arxiv_id (required), delete_files. Returns: result
research_search_papersA
Search arXiv for papers matching query and import them into the local library. Returns a JSON list of imported papers with their arXiv IDs, titles, and citation counts (if enriched).
Args: query: arXiv search query (natural language or field-specific). max_results: Maximum papers to return (1–50, default 10). primary_category: Optional arXiv category filter (e.g. cs.LG). auto_enrich: If True, fetch Semantic Scholar metrics (slower). summarize: If True, generate summaries after import (much slower).
Inputs: query (required), summarize, auto_enrich, max_results, +1 more. Returns: result
research_verify_noveltyA
Run a novelty re-verification on a previously generated idea. Checks the local library and arXiv for similar work, then uses the LLM to judge overlap. Returns a verdict: likely_novel, needs_review, or similar_exists.
Args: idea_id: Database ID of the idea (from generate_ideas output). search_query: Optional override query for the arXiv check.
Inputs: idea_id (required), search_query. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct action and resource: searching/importing vs. querying local library vs. retrieving details vs. removing vs. generating summaries vs. generating ideas vs. verifying novelty vs. listing papers vs. activity log. There is no overlap or ambiguity between them.
All tools follow a consistent pattern: `research_` prefix + imperative verb + optional noun (e.g., `research_search_papers`, `research_generate_summary`). All use snake_case with no mixed conventions, making the pattern predictable and readable.
With 9 tools, the server is well-scoped for an academic research assistant. Each tool provides essential functionality without overloading the interface, covering search, import, retrieval, generation, and verification. The count is within the ideal 3–15 range.
The tools cover the core lifecycle: importing, querying, retrieving details, removing, generating summaries/ideas, and verifying novelty. Minor gaps exist—for example, no tool to manually add a paper by ID or to directly edit metadata—but agents can work around these using existing tools.
Maintenance
Related MCP Connectors
Academic research MCP server for paper search, citation checks, graphs, and deep research.
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA remote MCP server for searching arXiv papers, extracting paper details, and generating structured prompts for LLM agents.1-
- FlicenseAqualityDmaintenanceA local MCP server for searching and reading arXiv papers, enabling paper search, retrieval, and summarization through Claude.6-
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI assistants to search arXiv papers, retrieve metadata, and access PDFs.MIT
- AlicenseNot gradedqualityDmaintenanceA MCP server for searching and downloading academic papers from arXiv, PubMed, bioRxiv, and more. It integrates with LLMs like Claude Desktop for paper discovery.MIT