Gosidian logo

Gosidian

Self-hosted Markdown vault with web editing and 71 MCP tools for persistent, structured agent memory.

Install Gosidian

Run the project’s own setup commands, in order.

Setup steps from the project

gosidian installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    docker run -d --name gosidian \
      -p 8080:8080 \
      -v "$(pwd)/vault:/vault" \
      ghcr.io/daniele-chiappa/gosidian:latest
    
  2. 2. Add to Claude Code
    claude mcp add gosidian http://localhost:8080/mcp \
      --transport http --header "Authorization: Bearer $TOKEN"
    

Overview

gosidian MCP server connects AI agents to a self-hosted, Obsidian-compatible Markdown vault through Streamable HTTP MCP. It provides typed tools for bootstrapping sessions, ingesting files, searching, reading and writing notes, managing links, coordinating handoffs, and auditing activity. A shared web UI lets people edit notes, inspect backlinks and graphs, and manage users and tokens while all views operate on the same files. Reach for gosidian when agents need durable, human-readable memory with identity-based retrieval, access controls, and multi-user project boundaries.

Use cases

  • Store agent plans, decisions, skills, and handoffs as Markdown notes
  • Share project-scoped memory between multiple agents
  • Edit and inspect an agent vault through Obsidian or the web UI
  • Audit automated note changes and token-based access

Key features

  • 71 typed MCP tools over Streamable HTTP
  • Obsidian-compatible Markdown files on disk
  • Web UI with editor, search, backlinks, and graph view
  • Scoped bearer tokens with project restrictions
  • Multi-user roles, teams, grants, and audit trails
  • Markdown-based agent handoffs with change notifications

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 62d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.

How Gosidian works

What gosidian does

gosidian combines a Markdown vault, an MCP endpoint, and a browser-based interface in one self-contained service. Notes remain ordinary .md files on disk, so the vault can also be opened in Obsidian, VS Code, Vim, or another Markdown editor. Removing gosidian's metadata directory leaves a usable Obsidian-compatible vault.

The web application provides note editing with live preview, full-text search, backlinks, graph visualization, attachments, configuration pages, and audit views. Its workspace arranges notes, searches, graphs, and configuration forms as resizable windows. People and agents work against the same files rather than separate copies.

How it works

Agents connect to the built-in MCP server over Streamable HTTP; legacy HTTP+SSE is also supported. Authentication uses bearer tokens, with optional OAuth 2.1 authorization support. Tokens can carry read or write scopes and can be limited to projects. Each request is further constrained by the owning account's permissions.

The service supports multiple accounts with Admin, User, and Read-only roles. Projects have visibility settings and can grant read, write, or admin access to accounts and teams. Accounts can create tokens that inherit or pin a subset of their own access. Handoffs use Markdown notes with atomic claim and completion behavior, while a long-poll change feed supports agent coordination.

A SQLite FTS5 database indexes the vault for search, but it is only a rebuildable cache. The Markdown files remain the source of the notes.

Setup and configuration

The quickest deployment uses the published Docker image and mounts a local directory at /vault:

Terminal
docker run -d --name gosidian \
  -p 8080:8080 \
  -v "$(pwd)/vault:/vault" \
  ghcr.io/daniele-chiappa/gosidian:latest

Open http://localhost:8080, create an administrator, and generate an MCP token from the administration area. A Claude Code connection can then use the HTTP endpoint with bearer authentication:

Terminal
claude mcp add gosidian http://localhost:8080/mcp \
  --transport http --header "Authorization: Bearer $TOKEN"

The mounted vault directory persists after the container stops. Source, Docker Compose, and bare-metal installation paths are also available. GitHub Codespaces can launch a disposable demonstration instance with a seeded vault; its demo login is demo / gosidian-demo.

Tools and capabilities

The MCP surface contains 71 typed tools covering:

  • Session bootstrap and file ingestion
  • Identity-based search and note retrieval
  • Note creation, updates, and linking
  • Agent handoffs and change waiting
  • Self-checking and audit operations
  • Access through bearer tokens and scoped project permissions

The browser interface adds human-oriented editing, search, graph navigation, audit history, user administration, token management, and project configuration. Optional TOTP two-factor authentication and LDAP or Active Directory login are available for deployments that enable them.

Limitations and notes

Search is based on note identity, including paths, tags, frontmatter, and backlinks. Semantic search over the notes is intentionally not part of the core design. Experimental pipelines can provide document-oriented RAG, but it is separate from the main Markdown retrieval model.

The project does not provide a hosted tier, mobile application, real-time collaboration, or a WYSIWYG editor. The service is headless and does not require an Obsidian desktop process. Auto-capture integrations are handled through Claude Code hooks rather than being built into the binary.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gosidian

gosidian is an MCP server that connects AI agents to a self-hosted, Obsidian-compatible Markdown vault. Its 71 typed tools support session bootstrap, file ingestion, search, note reading and writing, links, agent handoffs, self-checks, and audits, while a web UI lets people manage the same files.

Install gosidian with Docker by mounting a local directory at `/vault` and publishing port 8080. After opening the web UI, create an administrator and generate an MCP token, then configure an HTTP-capable client to call `/mcp` with a bearer token.

Yes, gosidian stores notes as ordinary Markdown files that Obsidian can open directly. It adds a web interface and MCP automation layer without requiring an Obsidian desktop process, and its metadata can be removed when a plain vault is needed.

gosidian controls access with account roles, project visibility, grants, and bearer-token scopes. Tokens can be limited to read or write access and to selected projects, while each request is narrowed to the permissions of the owning account.

Yes, agents can coordinate through Markdown handoff notes with an atomic claim-and-complete lifecycle. The `memory_wait_changes` long-poll feed lets agents wait for vault changes, providing a basic task queue while keeping coordination data in the vault.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGosidian AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gosidian?style=directory)](https://allmcps.com/mcp/gosidian)
HTML Embed
<a href="https://allmcps.com/mcp/gosidian"><img src="https://allmcps.com/api/badge/gosidian?style=directory" alt="Gosidian on AllMCPs" /></a>