Obsidian Memory MCP logo

Obsidian Memory MCP

Community
YuNaga224

🧠 MCP server for storing AI memories as Markdown files with Obsidian graph visualization support

PublisherYuNaga224
Repositoryobsidian-memory-mcp
LanguageTypeScript
Forks
10
Stars
32
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Obsidian Memory MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    32 stars and 10 forks from the linked repository.

Obsidian Memory MCP

MCP server that stores AI memories as Markdown files for visualization in Obsidian's graph view.

About

This project is a modified version of Anthropic's memory server that has been adapted for Obsidian integration. The original server stored memories in JSON format, while this version stores them as individual Markdown files with Obsidian-compatible [[link]] syntax for graph visualization.

Key Changes from Original

  • Storage Format: Changed from JSON to individual Markdown files
  • Obsidian Integration: Added [[link]] syntax for relations
  • YAML Frontmatter: Metadata stored in frontmatter instead of JSON
  • File Structure: Each entity becomes a separate .md file
  • Removed Features: Simplified to focus on Markdown-only storage

Features

  • Markdown Storage: Individual .md files for each entity
  • Obsidian Integration: Uses [[link]] syntax for graph visualization
  • Knowledge Graph: Store entities, relations, and observations
  • Search Functionality: Query across all stored memories
  • YAML Frontmatter: Metadata stored in frontmatter

Storage Format

Each entity is stored as an individual Markdown file with:

  • YAML frontmatter for metadata (entityType, created, updated)
  • Obsidian-compatible [[links]] for relations
  • Organized sections for observations and relations

Example entity file (John_Doe.md):

markdown
---
entityType: person
created: 2025-07-10
updated: 2025-07-10
---

# John Doe

## Observations
- Works at Tech Corp
- Expert in TypeScript
- Lives in Tokyo

## Relations
- [[Manager of::Alice Smith]]
- [[Collaborates with::Bob Johnson]]
- [[Located in::Tokyo Office]]

Installation & Configuration

bash
git clone https://github.com/YuNaga224/obsidian-memory-mcp.git
cd obsidian-memory-mcp
npm install
npm run build

Then configure in Claude Desktop:

json
{
  "mcpServers": {
    "obsidian-memory": {
      "command": "node",
      "args": ["/full/path/to/obsidian-memory-mcp/dist/index.js"],
      "env": {
        "MEMORY_DIR": "/path/to/your/obsidian/vault"
      }
    }
  }
}

Usage with Obsidian

  1. Configure Claude Desktop with one of the options above
  2. Restart Claude Desktop
  3. Use the MCP memory tools to create entities and relations
  4. Open Obsidian and view the graph

The knowledge graph will be visualized with:

  • Entity files as nodes
  • [[links]] as edges
  • Different colors for different entity types (if configured in Obsidian)

API

The server exposes the following tools:

  • create_entities: Create new entities
  • create_relations: Create relations between entities
  • add_observations: Add observations to existing entities
  • delete_entities: Delete entities and related data
  • delete_observations: Remove specific observations
  • delete_relations: Remove relations
  • read_graph: Get the entire knowledge graph
  • search_nodes: Search entities by query
  • open_nodes: Get specific entities by name

Development

bash
npm run watch  # Watch for changes and rebuild

Credits

This project is based on Anthropic's memory server from the Model Context Protocol servers collection. We thank Anthropic for releasing the original implementation under the MIT license.

License

MIT License - see LICENSE file for details.

Original memory server: Copyright (c) 2024 Anthropic, PBC
Obsidian integration modifications: Copyright (c) 2025 YuNaga224

Installation

TypingMind
{
  "mcpServers": {
    "obsidian-memory-mcp": {
      "command": "node",
      "args": [
        "/full/path/to/obsidian-memory-mcp/dist/index.js"
      ],
      "env": {
        "MEMORY_DIR": "<MEMORY_DIR>"
      }
    }
  }
}

Use Obsidian Memory MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Obsidian Memory MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Obsidian Memory MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Obsidian Memory MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "obsidian-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "obsidian-memory-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Obsidian Memory MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Obsidian Memory MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Obsidian Memory MCP to help me with this task?
Obsidian Memory MCP
Sure. I read it.
Here is what I found using Obsidian Memory MCP.

Frequently asked questions

What is the Obsidian Memory MCP MCP server used for?

Obsidian Memory MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Obsidian Memory MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Obsidian Memory MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Obsidian Memory MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Obsidian Memory MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Obsidian Memory MCP MCP to TypingMind?

Obsidian Memory MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Obsidian Memory MCP MCP provide in TypingMind?

Obsidian Memory MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Obsidian Memory MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Obsidian Memory MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇