waymark

waymark

MCP server exposing a codebase's OKF knowledge bundle to Claude Code with three schema-enforced query tools: list_concepts, read_concept, and find_concept_by_resource.

Category
Visit Server

README

waymark

MCP server exposing a codebase's OKF knowledge bundle (okf/) to Claude Code — three schema-enforced query tools instead of raw Read/Grep over hand-written docs.

Tools

  • list_concepts(type?, tags?) — frontmatter-only summaries. tags matches any-of the given tags.
  • read_concept(path) — full frontmatter + body for one concept, by the path a list_concepts call returned.
  • find_concept_by_resource(file_path) — reverse lookup: which concept(s) describe a given source file.

The server is stateless — it re-reads okf/ from process.cwd() on every call, so there's nothing to invalidate when concept files change.

Setup (per project)

npx -y @aleburrascano/waymark init

This registers everything a repo needs in one step:

  • Adds a waymark entry to .mcp.json (creating it if missing).
  • Installs a pre-commit hook at .git/hooks/pre-commit that blocks commits when a resource-mapped file changes without its okf/ concept being updated. Safe to re-run — it upgrades its own hook on later waymark versions but never overwrites a hook it didn't install.
  • Installs two skills to .claude/skills/: okf-staleness-fix (the writer/judge playbook Claude Code uses to resolve a blocked commit) and okf-bootstrap (the propose/approve/generate/judge playbook Claude Code uses to seed an initial okf/ bundle).
  • Adds (or refreshes) an ## OKF context section in the repo's CLAUDE.md.

Run it again any time to pick up updates from a newer waymark version.

Bootstrapping an existing codebase

okf/ bundles don't have to be hand-written from scratch. After running waymark init, ask Claude Code to bootstrap one:

"Bootstrap okf for this repo"

This invokes the okf-bootstrap skill, which:

  1. Runs waymark bootstrap — a deterministic scan (git ls-files-based, respects .gitignore) that lists every candidate source file.
  2. Proposes a candidate concept list grouped by domain (one concept per named unit you'd naturally ask "what is X" about) — nothing is written yet.
  3. Waits for your approval, or feedback to re-group/rename/split candidates.
  4. Generates each approved concept, verified by a judge subagent before it's written to disk.
  5. Stages the new files with git add and reports what was generated — committing is left to you.

This is a one-time, human-supervised pass. Ongoing drift after that is caught by the pre-commit hook and okf-staleness-fix skill, not by re-running bootstrap.

Local development

npm install
npm test
npm run build && npm link   # then `waymark` runs the built CLI

npm test runs vitest against TypeScript source directly — no build step required for the test suite.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured