# obelisk [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/zachhannum/obelisk  
**GitHub Stars:** 2  
**npm Downloads (last month):** 265  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/obelisk

## Description
Comment on a passage of an Obsidian note, and propose suggested edits.

## Tools
Capabilities this server exposes over MCP:

- **obelisk_list** — Every Obelisk comment on a note, with the passage each one is anchored to, plus the note body with line numbers.

Read this before commenting: the `quote` you pass to obelisk_comment has to be copied out of this body character for character, and the line numbers here are what `nearLine` refers to.

It is also the first half of the other flow — a person leaves a comment asking for something, you read it here, make the edit yourself, and call obelisk_resolve.
- **obelisk_comment** — Leave a comment on one passage of a note. It appears in the reader's Obsidian sidebar, badged as coming from an agent.

`quote` is the anchor and must appear in the note verbatim — the same characters, punctuation, capitalization and spacing. Copy it from obelisk_list; do not retype it or tidy it up. There is no way to pass a line or column, and you should not try to count them: the quote is the anchor and the tool does the arithmetic. If the quote is not found, or is found more than once, nothing is written and you are told which.

`body` is markdown. To propose a specific rewrite, put it in a ```suggestion fenced block inside the body — its contents replace exactly the quoted passage when the reader clicks Apply, so a comment can explain itself and propose the change at once.
- **obelisk_reply** — Add a reply to an existing comment thread. A reply is markdown too, so a counter-proposal is a ```suggestion block in one.

Use this to answer a question a person asked in a comment. To say that you have done what a comment asked, edit the note and call obelisk_resolve instead — a reply saying "done" leaves the thread open.
- **obelisk_resolve** — Mark a comment settled — the reader's sidebar grays it out and drops it from the open count.

This is what closes the loop on a comment a person left for you: read it, make the edit in the note yourself, then resolve it. Resolving a comment you did not write is allowed, but it records that what the comment asked for has been done, so resolve only once it has.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "obelisk": {
    "command": "npx",
    "args": ["-y","obelisk-mcp"]
  }
}
```

## Documentation

## What the obelisk MCP server does

The obelisk MCP server connects an MCP-capable agent to comments embedded in Obsidian notes. It works with vault files directly, allowing an agent to inspect comments, create new comments, add replies, and update comment content from outside the Obsidian application. Suggested replacements can be included in comments and applied to the quoted passage through the shared Obelisk data model.

Comments are stored as YAML under an `obelisk` key in each note's frontmatter. The note body remains unchanged when a comment is written. Because the data travels with the file, comments can remain available through sync, Git, export, and renaming workflows supported by the underlying files.

## How it works

The obelisk MCP server uses stdio rather than a network port. An MCP client starts the process when a session begins and stops it when the session ends. One registration can work across a vault, while an absolute note path can address a file in another vault.

A comment is anchored by its quoted text, not by a line number alone. The quoted string must occur in the note exactly once unless a nearby line from `obelisk list` is used to distinguish duplicate quotes. If the quote is missing or ambiguous, the write is rejected instead of attaching the comment to an uncertain passage. Before writing, the tool rereads the file and refuses the operation if the file changed underneath it.

Suggested edits are represented as fenced `suggestion` blocks inside comment text. Applying one replaces the anchored range only when the underlying text still matches. The plugin can then show the result as a diff and resolve the comment.

## Setup and configuration

Install the package globally with `npm install -g obelisk-mcp`, which provides the `obelisk` and `obelisk-mcp` commands. A client can also install the server from the official MCP registry identifier `io.github.zachhannum/obelisk`.

No port, daemon, or environment variable is required. To test the process independently, send an MCP initialize request followed by `tools/list` to `npx -y obelisk-mcp`. The package is published on npm, so a new version is picked up when a later MCP session starts.

## Tools and capabilities

The obelisk MCP server exposes four MCP tools. The documented workflows cover listing note content and comments, creating a comment from an exact quote, and associating model-written comments with a review run.

Model-created comments can carry an origin containing the model and a review-pass identifier. In Obsidian, those comments receive an agent badge and can be grouped under one review chip. This lets a user inspect or dismiss a pass while keeping the comments in the note.

## Limitations and notes

The project is marked early and has not been exercised against a large vault. Correct anchoring depends on exact quote text; a plausible but incorrect line number is not a safe substitute. Writes are limited to frontmatter, but concurrent file changes cause refusal rather than automatic merging.

_Full upstream README: https://allmcps.com/mcp/obelisk/readme_

