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.
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.
Research Memory Protocol Template
Chinese documentation: 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: obsidian-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
global-research-memory-protocol.md
external-project-path-map.md
project-memory-template.md
figure-registry-template.md
task-summary-template.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:
mkdir -p "<your-vault>/research-memory-vault/00-control"
cp templates/global-research-memory-protocol.md "<your-vault>/research-memory-vault/00-control/"
cp templates/external-project-path-map.md "<your-vault>/research-memory-vault/00-control/"Configure environment variables:
export RESEARCH_MEMORY_ROOT="<your-vault>/research-memory-vault"
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.
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
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
1Shared long-term memory vault for AI agents with 20 MCP tools.
Cloud-hosted MCP server for durable AI memory
One memory, every AI. A shared, user-owned markdown memory your AI clients read and write over MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to access and manage your local Obsidian vault through a standardized protocol.143,971 npm2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceRemote MCP server that gives AI agents read/write access to your Obsidian vaults, supporting both local desktop vaults and headless mode.3,512 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to read, search, and write to your Obsidian vault.4 npmMIT
- FlicenseNot gradedqualityDmaintenanceA local MCP server that gives AI agents structured access to a personal Obsidian knowledge vault, with semantic search, organization through Maps of Content, and git-backed history.-