Samong logo

Samong

Search, link, and update local Markdown notes through MCP, with path-aware and optional local semantic search.

Install Samong

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

Setup steps from the project

Samong 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. Run
    brew tap waanvar/samong
    
  2. 2. Install
    brew install samong
    
  3. 3. Install
    scoop install samong
    
  4. 4. Install
    git clone https://github.com/waanvar/samong.git
    
  5. 5. Run
    cd samong
    
  6. 6. Install
    cd web && npm install && npm run build   # build the web UI first (it gets embedded)
    

Overview

Samong MCP server connects AI tools to Markdown notes stored in local project repositories. It indexes `.md` files, respects `.gitignore`, skips dependency directories, and exposes search, read, and write operations through MCP. Notes can use Obsidian-compatible wikilinks, with paths preserved to distinguish duplicate filenames and links resolved across registered vaults. Reach for Samong when an agent needs access to repository documentation, runbooks, ADRs, or other local knowledge without a hosted service.

Use cases

  • Search repository ADRs and design documents from an AI assistant
  • Read runbooks and project notes during development tasks
  • Write updated knowledge back to local Markdown files
  • Link related notes across multiple project vaults

Key features

  • MCP access to local Markdown notes
  • Path-aware full-text search
  • Obsidian-compatible wikilinks and backlinks
  • Incremental indexing with `.gitignore` support
  • Optional local multilingual semantic search
  • Relevance ranking with link connectedness

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.

13/13 checks healthy over the last 82d

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
Last commit23d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Samong works

What Samong does

Samong turns Markdown files in project repositories into a local knowledge base for both humans and MCP-compatible AI tools. A vault is associated with a repository or other folder, and its notes remain ordinary .md files that can be committed, edited, or read outside Samong.

The index includes note content and relationships between notes. Obsidian-style [[wikilink]] and [[wikilink|alias]] syntax is supported. Notes are addressed by their paths rather than titles, so multiple files with the same name can coexist without being collapsed. Cross-vault links can use paths such as [[other-vault/note]], and backlinks are available in the opposite direction.

How it works

Point Samong at a project root or add an existing notes folder as a vault. It scans Markdown files while honoring .gitignore and excluding dependency directories. Incremental reindexing limits updates to changed files. Index data is stored under <vault>/.brain/ and can be rebuilt from the source Markdown files.

Search combines textual relevance with link connectedness. A note referenced by other notes can receive a limited ranking boost, while clear text matches remain more important. An optional semantic build and local embedding step can add meaning-based ranking using a multilingual model that runs on the same machine. Semantic search is disabled by default.

Setup and configuration

Samong can be installed with Homebrew on macOS or Linux, Scoop on Windows, cargo install samong, or a platform-specific release archive. The bundled application can create Documents/Samong on first launch, or an existing folder can be added from the vault menu. Release archives include the web UI and do not require Rust or Node.js; building from source requires Rust, and the Cargo installation requires Rust 1.88 or newer.

Run samong-mcp to make the knowledge base available to MCP clients. The project specifically documents Claude Code and Claude Desktop as clients that can search, read, and write the same notes.

The launcher supports SAMONG_PORT when its default port range is occupied and SAMONG_NO_OPEN=1 to prevent opening a browser. These settings apply to starting the local application rather than changing the note format or index contents.

Tools and capabilities

  • Search indexed Markdown notes by path-aware result.
  • Read note content from the local knowledge base.
  • Write changes to the same Markdown files used outside the application.
  • Follow wikilinks and inspect backlinks across registered vaults.
  • Include selected dependency documentation as read-only reference notes through scope.include.
  • Rank results using text, link connectedness, and optionally local semantic embeddings.

Limitations and notes

Samong is local-first: notes, indexes, and optional embeddings stay on the local machine. It does not require an account or cloud service. The knowledge base is limited to Markdown files, and ignored files are excluded unless they are explicitly brought in through the supported dependency-documentation scope.

Semantic search requires a build with the semantic feature followed by samong embed; it is not part of the default setup. Downloaded binaries are unsigned, so macOS Gatekeeper and Windows SmartScreen may require an explicit approval. Package-manager installations and cargo install avoid that browser-download behavior.

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 Samong

Samong is an MCP server that connects AI tools to Markdown notes in local project repositories. Its main tools search indexed notes, read note contents, and write updates to the same knowledge base. It supports paths, wikilinks, cross-vault links, and optional local semantic ranking.

Install Samong with Homebrew, Scoop, Cargo, or a release archive, then run `samong-mcp`. Cargo installation requires Rust 1.88 or newer, while release archives bundle the web UI and do not require Rust or Node.js.

Samong is documented for Claude Code and Claude Desktop. Those clients can search, read, and write the same local Markdown knowledge base through `samong-mcp`.

Samong indexes Markdown under a selected project root or vault, respects `.gitignore`, skips dependency directories, and keeps results keyed by path. Search combines text relevance with a limited boost for notes that are heavily connected in the link graph.

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 PreviewSamong AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/samong?style=directory)](https://allmcps.com/mcp/samong)
HTML Embed
<a href="https://allmcps.com/mcp/samong"><img src="https://allmcps.com/api/badge/samong?style=directory" alt="Samong on AllMCPs" /></a>