Paper Memory MCP Lite
Local-first MCP server for indexing and searching research materials (papers, notes, logs, READMEs) using SQLite FTS, with tools for memory management and evidence retrieval.
README
Paper Memory MCP Lite
Local-first MCP-style research memory for papers, notes, figures, experiment logs, and GitHub README files.
Paper reading gets messy fast: one PDF has the key idea, one Markdown note has your interpretation, one experiment log has the actual failure, and one README has the code status. This project gives agents a tiny local memory layer that indexes those files and exposes search through a simple MCP-compatible stdio server.
It is intentionally small: no cloud database, no embeddings service, no account, no background daemon. Everything lives in a local SQLite file.
If this helps your research workflow, a star helps other people find it.
Features
- Index Markdown, text, JSON, YAML, and lightweight PDF text when optional PDF tooling is installed.
- Store paper notes, figure captions, experiment logs, repo READMEs, and daily briefings in one SQLite FTS database.
- Search snippets with source path, title, kind, and timestamp.
- Expose MCP-style tools:
index_research_foldersearch_research_memoryget_daily_contextlink_paper_to_experimentsummarize_evidence_pack
- Run as a CLI for smoke tests or as a stdio JSON-RPC server for agents.
Quick Start
git clone https://github.com/StaryMoon/paper-memory-mcp-lite.git
cd paper-memory-mcp-lite
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
paper-memory index examples/sample_research
paper-memory search "continual deraining"
paper-memory daily
MCP Server
Add this to an MCP client configuration and adjust the path:
{
"mcpServers": {
"paper-memory-lite": {
"command": "python3",
"args": ["-m", "paper_memory_mcp_lite.server", "serve"],
"env": {
"PAPER_MEMORY_DB": "/absolute/path/to/paper-memory.sqlite"
}
}
}
}
See docs/mcp-config.json for a copyable example.
Tool Behavior
| Tool | Purpose |
|---|---|
index_research_folder |
Index a folder of Markdown, text, JSON, YAML, and optional PDF text. |
search_research_memory |
Search local research notes and return snippets with file paths. |
get_daily_context |
Retrieve the most recent notes, logs, and briefings for daily planning. |
link_paper_to_experiment |
Store a lightweight relationship between a paper note and an experiment log. |
summarize_evidence_pack |
Build an evidence pack from search results without pretending it is a full literature review. |
CLI Examples
paper-memory index ~/Downloads/文稿/papers
paper-memory search "reasoning RL benchmark" --limit 8
paper-memory link papers/deepseek-r1.md experiments/grpo-ablation.md --note "baseline for reasoning radar"
paper-memory evidence "image restoration continual prompt"
Privacy Model
- Local SQLite database only.
- No telemetry.
- No API keys.
- No automatic background crawl.
- The indexer only reads folders you explicitly pass to it.
Related Projects
- ai-researcher-skills
- codegraph-memory-mcp-lite
- obsidian-research-brief-kit
- awesome-ai-paper-reproduction-radar
License
MIT.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.