Clawmarks
Allows for the visualization and navigation of annotated code bookmarks and narrative exploration trails directly within the Neovim editor through the clawmarks.nvim plugin.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Clawmarksbookmark this file as a decision point for the auth refactor"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
The Problem
Working with an LLM agent on a complex problem often means iterating across multiple files, considering alternatives, making decisions, and building understanding over time. But when the conversation ends, you're left with a wall of chat history and modified files—no clear trail of where you went and why.
Clawmarks solves this by letting agents drop annotated bookmarks as they work. These clawmarks capture the narrative of your exploration: decision points, open questions, alternatives considered, and how they all connect. The result is a navigable map of your coding session, not just a transcript.
Related MCP server: MCP Bookmarks
What It Does
Clawmarks is an MCP server that gives LLM agents tools to create annotated bookmarks in your codebase. Clawmarks are organized into trails (narrative journeys), can reference each other (knowledge graph style), and are stored in a simple JSON file that any editor can consume.
Each clawmark captures:
Where - File, line, column
What - An annotation explaining why this location matters
Type - Decision, question, change needed, alternative approach, etc.
Connections - References to other clawmarks (knowledge graph edges)
Context - Tags and trail groupings
Quick Start
Install globally:
npm install -g clawmarksAdd
.clawmarks.jsonto your global gitignore (one-time setup):echo ".clawmarks.json" >> ~/.gitignore_global git config --global core.excludesfile ~/.gitignore_globalAdd the MCP server:
Option A: Claude CLI (recommended)
claude mcp add --scope user clawmarks -- clawmarks mcpOption B: Manual configuration
Add to your project's
.mcp.json:{ "mcpServers": { "clawmarks": { "command": "clawmarks", "args": ["mcp"] } } }
The server stores .clawmarks.json in the current working directory. To override the project root:
claude mcp add --scope user clawmarks -- clawmarks mcp --env CLAWMARKS_PROJECT_ROOT=/path/to/projectOr in .mcp.json:
{
"mcpServers": {
"clawmarks": {
"command": "clawmarks",
"args": ["mcp"],
"env": {
"CLAWMARKS_PROJECT_ROOT": "/path/to/project"
}
}
}
}MCP Tools
Trail Management
Tool | Description |
| Create a new trail to organize related clawmarks |
| List all trails (optionally filter by status) |
| Get trail details with all its clawmarks |
| Archive a completed trail |
Clawmark Management
Tool | Description |
| Add an annotated bookmark at a file location |
| Update clawmark metadata |
| Remove a clawmark |
| List clawmarks with optional filters |
Knowledge Graph
Tool | Description |
| Create a reference from one clawmark to another |
| Remove a reference |
| Get all clawmarks connected to a clawmark |
| List all tags used across clawmarks |
Clawmark Types
decision- A decision point that was madequestion- Open question needing resolutionchange_needed- Code that needs modificationreference- Reference point (existing code to understand)alternative- Alternative approach being considereddependency- Something this depends on
Data Format
Clawmarks stores data in .clawmarks.json:
{
"version": 1,
"trails": [
{
"id": "t_abc123",
"name": "Auth Refactor Options",
"description": "Exploring JWT vs session-based auth",
"status": "active",
"created_at": "2025-12-17T10:30:00Z"
}
],
"clawmarks": [
{
"id": "c_xyz789",
"trail_id": "t_abc123",
"file": "src/auth/handler.ts",
"line": 42,
"column": 8,
"annotation": "Current session logic - could replace with JWT",
"type": "alternative",
"tags": ["#security", "#breaking-change"],
"references": ["c_def456"],
"created_at": "2025-12-17T10:31:00Z"
}
]
}Editor Integrations
The .clawmarks.json file is designed to be consumed by any editor or tool.
Editor | Plugin |
Neovim | |
VS Code | Coming soon |
Emacs | Contributions welcome |
Example Usage
In a conversation with your LLM agent:
"Let's explore two approaches to refactoring the auth system. Can you create a trail and mark the key decision points?"
The agent will:
Create a trail called "Auth Refactor Options"
Add clawmarks at relevant code locations
Link related clawmarks together
Tag clawmarks with relevant concerns
You can then browse these clawmarks in your editor to revisit the exploration's journey through your code.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Flicense-quality-maintenanceEnables building and querying code knowledge graphs for project analysis, with tools for exploring code relationships, managing workflows, and automating development tasks. Integrates with Git and GitHub for branch management and pull request creation.Last updated426- Alicense-qualityDmaintenanceA VSCode extension that provides MCP tools for AI assistants to programmatically create, manage, and annotate code bookmarks. It enables AI-driven and manual organization of codebase architecture, flows, and key components through hierarchical bookmarks and groups.Last updated1MIT

Oceanir Memoryofficial
Flicense-qualityDmaintenanceProvides persistent long-term memory for AI coding agents by storing entities, relations, and observations across different sessions. It enables users to manage and query structured knowledge like coding preferences, project patterns, and technical solutions via a graph-based storage system.Last updated1- Flicense-qualityDmaintenanceLets you save, tag, and search bookmarks directly from Claude Code using natural language commands, with persistent storage in a local JSON file.Last updated
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrilikecoding/clawmarks'
If you have feedback or need assistance with the MCP directory API, please join our Discord server