research-memory-mcp
Integrates with Obsidian vaults as the source of truth for research project memory, providing tools to read and write project memory, task summaries, figure registries, and more using Markdown files.
Click on "Install 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., "@research-memory-mcpRead bootstrap and detect the current project"
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.
Research Memory Protocol Template
中文说明见 README.zh-CN.md.
Local-first research memory protocol for AI agents, Obsidian, and MCP.
This template helps researchers manage cross-session project memory without treating AI chat history as the source of truth.
What This Solves
Agents forget project context across sessions.
Old project files are repeatedly reprocessed or converted.
Multiple versions of figures, manuscripts, and reports become hard to track.
AI-generated content can be mistaken for verified research evidence.
Different agents need a shared protocol, not tool-specific memory.
Related MCP server: enquire-mcp
Core Idea
Obsidian Vault = source of truth
Project Hub / Registry = structured project memory
MCP server = controlled read/write tools
Agent memory = optional recall layer, not evidenceRepository Layout
research-memory-protocol-template/
mcp/
research-memory-mcp.mjs
templates/
BOOTSTRAP.md
全域科研记忆协议.md
外部项目路径映射表.md
Project Memory 模板.md
Figure Registry 模板.md
Task Summary 模板.md
.research-memory.md.template
examples/
fake-obsidian-vault/
fake-external-project/
config/
opencode.example.json
pi-mcp-servers.example.json
docs/
setup.md
workflow.md
safety.mdQuick Start
Choose one setup mode:
MCP mode: for agents that support MCP, such as opencode or Pi agent.
No-MCP file protocol mode: for any agent that can read and edit local files.
Both modes use the same Obsidian Markdown files as source of truth.
See:
MCP Quick Start
Copy
templates/BOOTSTRAP.mdto:
mkdir -p ~/.research-memory
cp templates/BOOTSTRAP.md ~/.research-memory/BOOTSTRAP.mdCopy protocol files into your Obsidian research system:
cp templates/全域科研记忆协议.md "<your-vault>/科研规范_v1.0/00_总控/"
cp templates/外部项目路径映射表.md "<your-vault>/科研规范_v1.0/00_总控/"Configure environment variables:
export RESEARCH_MEMORY_ROOT="<your-vault>/科研规范_v1.0"
export RESEARCH_MEMORY_BOOTSTRAP="$HOME/.research-memory/BOOTSTRAP.md"Add the MCP server to your agent:
node /path/to/research-memory-protocol-template/mcp/research-memory-mcp.mjsAgent Prompt
Use this short prompt at the start of a session:
Use the research_memory MCP. First call read_bootstrap, then detect_project, then read_project_memory for the current project. Follow the research memory protocol: do not fabricate, do not move old files, do not delete figures automatically, prefer summaries and registries before deep-reading source files, and write back working memory with append_task_summary at the end. Final conclusions require my confirmation.MCP Tools
read_bootstrapdetect_projectread_project_memoryappend_task_summaryappend_figure_versionlist_projectsfile_fingerprint
Install from npm
After npm publication:
npm install -g research-memory-protocol-template
research-memory-mcpOr use it through npx:
npx research-memory-protocol-templateSafety Model
The MCP server can write working memory, not verified conclusions.
Allowed automatic writeback:
Task summaries
Materials read
Files created or modified
Pending verification items
Evidence gaps
Figure version rows
Requires user confirmation:
Final research conclusions
Statistical interpretations
Medical conclusions
Literature evidence grades
Manuscript-ready claims
Privacy
Do not publish your real Obsidian Vault, unpublished data, manuscripts, API keys, patient data, or real project paths.
This repository contains only templates and fake examples.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wuwususu/research-memory-protocol-template'
If you have feedback or need assistance with the MCP directory API, please join our Discord server