Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. Conventions MCP
C
Health: ActiveRecent health check succeeded.Last checked 8/10/2026, 11:58:54 PM

Conventions MCP

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Memory for coding conventions and standing instructions that persists across sessions.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "conventions-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "conventions-mcp"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Tool Schemas (7) Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Capabilities & Tool Schemas (7) ~158 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Conventions MCP.

capture_thought

Save a convention, instruction, correction, or preference. Embeds locally; classification is provided by the calling agent.

update_thought

Correct/refine an existing thought in place β€” same id, re-embedded and re-tagged from the new content.

search_thoughts

Hybrid semantic + keyword search.

list_thoughts

List all captures, optionally filtered by type.

list_rules

Every global + current-project rule in one deterministic call β€” no embeddings, no ranking, ordered by id. What the hooks use under the hood.

thought_stats

Totals, type breakdown, top topics, and per-project counts.

Documentation Overview

conventions-mcp

Personal memory for coding conventions and standing instructions β€” one store, any MCP-compatible AI client, available in every project. Occasional other notes are fine too, but this is primarily meant to hold things like "always use 2-space indent in this language," "never force-push to main," corrections after getting something wrong, and workflow preferences β€” the kind of thing that should carry across sessions and projects rather than get re-explained every time.

Why this one

There's no shortage of memory MCP servers β€” several well-established ones (mem0/OpenMemory, Zep/Graphiti, the official reference memory server, plus a long tail of smaller projects) already do "remember things across sessions." What's different here:

  • Narrow taxonomy, not a general note-taking store. Every capture gets forced into one of five purpose-built types β€” convention, instruction, correction, preference, other β€” plus a project field and topic tags. A general "remember anything" store gives you a pile of loosely-related notes to search through; this one is opinionated about what belongs in it at all, which keeps retrieval precise instead of noisy.
  • Deterministic retrieval, not best-effort. Most memory MCPs rely entirely on the calling model noticing a tool description is relevant and deciding to call it β€” which fails silently and inconsistently. Three Claude Code hooks here (SessionStart, UserPromptSubmit, PreToolUse) make a list_rules call unavoidable β€” the first two are advisory reminders, and the third actually enforces it by denying every other tool call until list_rules has run. It's forced once per session (and re-armed after a compaction or /clear, when the loaded rules fall out of context), not once per turn. If you're not on Claude Code, you still get the tool descriptions, just not the hook guarantee.
  • Transparent by default, not silent. Every capture and update echoes the verbatim stored content and whether it's global or project-scoped back immediately, so a misheard or misclassified rule is visible and correctable on the spot β€” not something you discover three sessions later via search.
  • Fully local, zero network calls. SQLite + local embeddings, no hosted service, no per-token costs, no API key. Classification (type/topics/projectScoped) is done by the calling agent at capture time, guided by the tool description β€” it already has the full conversation the thought came from, richer context than an isolated content string would give a separate extractor model.
  • Project-scoped without fuzzy matching. A rule can be global (the default) or tied to one specific codebase, and which project it belongs to is derived deterministically from the working directory, not guessed by an LLM from free text β€” so retrieval doesn't depend on an LLM having phrased a project name consistently across captures.

If what you want is a general-purpose "remember everything" store, or you're not on Claude Code and don't need the hook-driven determinism, one of the more general options above may fit better. This one is for someone who specifically wants a tight, coding-convention-focused memory that stays accurate and doesn't require trusting the model to remember to check it.

What it's tuned to store

Every capture is classified into one of five types by the calling agent, guided by capture_thought's tool description (src/server.js):

TypeWhat it means
conventionA specific coding style/pattern rule (e.g. "always use 2-space indent")
instructionA standing directive on how to work/behave (e.g. "never force-push to main")
correctionA past mistake and the corrected approach
preferenceA softer preference, not a hard rule
otherCatch-all for anything that doesn't fit but still got captured

Each thought also gets 1–3 topic tags for filtering. This is deliberately narrow β€” it's not a general note-taking store β€” but the taxonomy isn't hardcoded logic, it's just the wording of the tool description and its zod schema in src/server.js. Retuning what counts as a convention vs. an instruction, or adding a new type, is a matter of editing that description text, not restructuring the code. The one wrinkle: the five type names are also referenced in the type filter's enum in list_thoughts (src/server.js) β€” if you rename or add a type, update that enum too or the new type will get rejected as a filter value. Everything's stored as a JSON blob column, so none of this needs a schema migration.

Separately, every thought gets a project field β€” null by default (applies everywhere), or a specific project id if it's scoped to the current codebase. The calling agent only judges whether it's project-scoped (projectScoped); the actual project id is derived deterministically from the working directory β€” the absolute path with separators turned into dashes, e.g. /var/www/html β†’ -var-www-html, matching the per-project directory name Claude Code itself uses under ~/.claude/projects/. The model never names the project, so retrieval can do an exact match instead of fuzzy text comparison.

  • Storage: SQLite (better-sqlite3) + sqlite-vec for native vector search, FTS5 for keyword search, combined via reciprocal rank fusion. One file, no server, no daemon.
  • Embeddings: local, via Xenova/bge-small-en-v1.5 (384-dim, quantized, ~130MB). Loads lazily on first use, no network call, no GPU needed.
  • Classification: done by the calling agent (Claude Code, or any MCP client) at capture time, guided by the tool description β€” no network call, no external model, no API key.
  • Transport: MCP over stdio. No port, no listener, no CORS, no shared secret β€” the trust boundary is simply "who can launch this process," same as any other local tool.
  • Proactive retrieval: Claude Code hooks (see below) enforce standing rules before tool use β€” no CLAUDE.md instruction to keep in sync, no dependence on the model happening to notice a tool description is relevant.

Setup

Two ways to get this: a git checkout (if you want to read/modify the source) or the npm package (if you just want it running).

Git checkout:

Terminal
npm install
npm run init-db        # creates data/memory.db

npm package:

Terminal
npm install -g conventions-mcp
conventions-mcp init-db    # creates ~/.conventions-mcp/memory.db

Nothing to configure β€” there's no API key and no external service. MEMORY_DB_PATH is the only environment variable this reads, and it's optional (see .env.example).

Register with Claude Code

Register at user scope so it's available in every project, not just one repo β€” use the claude mcp add CLI, not a hand-edited config file:

bash
# Git checkout β€” an absolute path, since Claude Code may spawn this from an
# arbitrary working directory:
claude mcp add --scope user conventions -- node /absolute/path/to/conventions-mcp/src/server.js

# npm package β€” already on PATH:
claude mcp add --scope user conventions -- conventions-mcp

Either way, this writes to ~/.claude.json's mcpServers key, which is what the CLI actually reads; a mcpServers entry placed directly in ~/.claude/settings.json is silently inert. Verify with claude mcp list. A new Claude Code session is required to pick up a newly-registered server.

Standing-rule hooks

Three hooks in ~/.claude/settings.json enforce list_rules before tool use β€” the first two provide reminders, the third actually enforces it:

config.json
{
  "hooks": {
    "SessionStart": [
      { "hooks": [{ "type": "command", "command": "node /absolute/path/to/conventions-mcp/bin/session-rules.js", "timeout": 15 }] }
    ],
    "UserPromptSubmit": [
      { "hooks": [{ "type": "command", "command": "node /absolute/path/to/conventions-mcp/bin/prompt-reminder.js", "timeout": 5 }] }
    ],
    "PreToolUse": [
      { "matcher": "*", "hooks": [{ "type": "command", "command": "node /absolute/path/to/conventions-mcp/bin/pre-tool-check.js", "timeout": 5 }] }
    ]
  }
}
  • bin/session-rules.js fires at session start and emits a short reminder to call list_rules first β€” rather than embedding rule content in the hook output directly, which doesn't scale (a large enough stored rule set gets silently truncated to a small preview before it ever reaches the model). It also re-arms the enforcement gate after a compaction or /clear (the two events that drop the already-loaded rules from context), so a reload is forced then too.
  • bin/prompt-reminder.js fires on every turn with a static reminder to follow the loaded conventions and to capture any new convention/instruction/preference the message states β€” the one obligation no hook event can detect on its own, since "the user just stated a rule" is a semantic judgment only the model can make.
  • bin/pre-tool-check.js fires before every tool call and denies it outright until list_rules has run this session β€” the first two hooks are advisory (reminders only), so this is the layer that actually enforces the requirement. It's forced once per session, not once per turn.

None of the three touch the database directly β€” list_rules itself resolves the current project from the session's working directory when the model calls it, so this works correctly regardless of where the conventions-mcp install itself lives on disk.

npm package: the scripts live inside the global install rather than a known clone path β€” resolve it first with npm root -g, then point the hook at $(npm root -g)/conventions-mcp/bin/session-rules.js the same way.

Windows: point the command at the .cmd wrapper instead of the .js file directly (no node prefix β€” the batch file invokes it) β€” bin\session-rules.cmd / bin\prompt-reminder.cmd / bin\pre-tool-check.cmd for a git checkout, or the equivalent path under npm root -g for the npm package.

Tools

ToolDescription
capture_thoughtSave a convention, instruction, correction, or preference. Embeds locally; classification is provided by the calling agent.
update_thoughtCorrect/refine an existing thought in place β€” same id, re-embedded and re-tagged from the new content.
search_thoughtsHybrid semantic + keyword search.
list_thoughtsList all captures, optionally filtered by type.
list_rulesEvery global + current-project rule in one deterministic call β€” no embeddings, no ranking, ordered by id. What the hooks use under the hood.
thought_statsTotals, type breakdown, top topics, and per-project counts.
delete_thoughtPermanently delete a thought by id.

Notes

  • If a single message states several distinct rules, capture_thought gets called once per rule, each relayed individually β€” not merged into one capture or summarized together.
  • The database lives at data/memory.db in a git checkout, or ~/.conventions-mcp/memory.db for the npm package (override either with MEMORY_DB_PATH). It's gitignored β€” back it up yourself if you care about it (it's just a SQLite file; cp is a complete backup).
  • To upgrade embedding quality later without re-architecting, swap MODEL_NAME in src/embeddings.js β€” but re-embed existing thoughts if the new model's vector space isn't compatible with the old one (different models' embeddings aren't comparable, even at the same dimension).

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    β˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory17 views
    Compare vs Moxie Docs MCP β†’
  • Mcp Obsidian logoMcp Obsidian

    Universal AI bridge for Obsidian vaults using MCP. Provides safe read/write access to notes with 11 comprehensive methods for vault operations including search, batch operations, tag management, and frontmatter handling. Works with Claude, ChatGPT, and any MCP-compatible AI assistant.

    🧠 Knowledge & Memory2 views
    Compare vs Mcp Obsidian β†’
  • Memora logoMemora

    Persistent memory with knowledge graph visualization, semantic/hybrid search, cloud sync (S3/R2), and cross-session context management.

    🧠 Knowledge & Memory2 views
    Compare vs Memora β†’
  • Codebase Memory Mcp logoCodebase Memory Mcp

    Code-intelligence engine that indexes a repo into a persistent knowledge graph β€” functions, classes, call chains, HTTP routes, cross-service links. 159 languages via tree-sitter + Hybrid LSP, sub-ms structural queries, 99% fewer tokens than grep. Single static binary, zero dependencies, 100% local. npx codebase-memory-mcp

    🧠 Knowledge & Memory6 views
    Compare vs Codebase Memory Mcp β†’

Frequently Asked Questions about Conventions MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "conventions-mcp": { "command": "npx", "args": ["-y", "Conventions MCP"] } }

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

Technical Specs & Signals

Category🧠Knowledge & Memory
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit17d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 24, 2026
45Quality signal: Fair Β· 45/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools20/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory β†’Best MCP servers for Memory & Knowledge β†’Alternatives to Conventions MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code