vector-memory-mcp: Instructions file for Claude Code

CLAUDE.md

vector-memory-mcp CLAUDE.md is an instructions file for Claude Code from aeriondyseti/vector-memory-mcp. It costs 2,697 tokens per session, scanned A, original, MIT.

A project guide for vector-memory-mcp, a local server that stores conversations and other memories in SQLite and finds related text by meaning or keywords.

In plain words
What is it for?
Use it when developing, testing, type-checking, warming up models, or troubleshooting this memory server.
Why use it?
It clarifies the project’s Bun runtime, file structure, commands, and storage design so agents do not apply incompatible Node.js assumptions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

This is aeriondyseti/vector-memory-mcp's own configuration. It tells Claude Code how to work on vector-memory-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vector-memory-mcp configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is --marketplace ../aeriondyseti-plugins/.claude-plugin/marketplace.json.

Reuse

Borrowing it

Nothing to install: this file belongs to aeriondyseti/vector-memory-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aeriondyseti/vector-memory-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/aeriondyseti/vector-memory-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vector-memory-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aeriondyseti/vector-memory-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/aeriondyseti/vector-memory-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aeriondyseti/vector-memory-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aeriondyseti/vector-memory-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vector-memory-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aeriondyseti/vector-memory-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aeriondyseti/vector-memory-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,697 This file is loaded in full into every session.
When invoked 2,697 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02697 $0.02697
Opus 5.5 $0.01079 $0.01079
Sonnet 5.5 $0.00539 $0.00539
Haiku 4.5 $0.00270 $0.00270

Measured 21d ago against content hash 7af41674ecc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vector-memory-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Project

@aeriondyseti/vector-memory-mcp -- A local-first MCP server providing vector-based semantic memory storage using SQLite + sqlite-vec + FTS5.

Runtime

Bun (not Node.js). Uses bun:sqlite native bindings. Do not use Node-specific APIs.

Commands

bun run test          # run all tests (via scripts/test-runner.ts)
bun run test:quick    # fast tests without preload
bun run test:coverage  # coverage reports
bun run dev           # watch mode
bun run typecheck     # bunx tsc --noEmit
bun run smoke         # smoke tests (scripts/smoke-test.ts)
bun run warmup        # download ML models
bun run install:plugin # install plugin/ deps (hook-kit); needed for typecheck

Architecture

Path Purpose
server/index.ts Entry point, CLI arg parsing, server startup
server/config/index.ts Configuration
Core (server/core/)
server/core/connection.ts SQLite connection setup
server/core/migrations.ts Schema migrations
server/core/memory.repository.ts Memory CRUD + hybrid search (sqlite-vec KNN + FTS5 + RRF)
server/core/conversation.repository.ts Conversation history storage
server/core/sqlite-utils.ts SQLite utility helpers
server/core/memory.service.ts Memory business logic
server/core/conversation.service.ts Conversation indexing service
server/core/embeddings.service.ts Local embeddings via ONNX Runtime + @huggingface/tokenizers
server/core/migration.service.ts Cross-format database migration
server/core/consolidation.service.ts Repo-local → global db consolidation (consolidate CLI)
server/core/maintenance.service.ts Health/storage stats, VACUUM/ANALYZE, orphan cleanup, maintenance history
server/core/backup.service.ts SHA-256-verified DB snapshots (backup/restore/verify/purge)
server/core/handoff.service.ts History-preserving session handoffs (sidecar store)
server/core/document-ingestion.service.ts Chunk + ingest Markdown/text/JSON files into memories
server/core/graph.ts / graph.repository.ts / graph.service.ts Knowledge graph subsystem (entity/edge type registry, entities, edges, lineage, memory→entity refs)
server/core/project.ts Canonical project identity (normalizeProject)
server/core/parsers/ Session log parsers (Claude Code JSONL)
server/core/memory.ts Memory type definitions
server/core/conversation.ts Conversation type definitions
Utils (server/utils/)
server/utils/formatting.ts ANSI styling, icons, message builders, time formatting
Transports
server/transports/mcp/server.ts MCP server setup
server/transports/mcp/tools.ts MCP tool definitions
server/transports/mcp/handlers.ts MCP tool handler implementations
server/transports/mcp/resources.ts MCP resource definitions
server/transports/http/server.ts HTTP/SSE transport (Hono)
server/transports/http/mcp-transport.ts MCP-over-HTTP bridge
Legacy
server/migration.ts LanceDB-to-SQLite migration (legacy support)

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +10 tokens per session 7af41674ecc7
  2. 1mo ago Changed · +7 lines · +317 tokens per session dc510c06ec60
  3. 1mo ago Changed · -7 lines · +265 tokens per session a2694dab1575
  4. 2mo ago First seen · 159 lines · 2,105 tokens per session scan A 96e364e2f28f

Subscribe to this mod's changes

vector-memory-mcp CLAUDE.md is an instructions file published in the GitHub repository aeriondyseti/vector-memory-mcp (5 stars, last pushed 12d ago), licensed MIT. It adds 2,697 tokens to every session, about $0.0108 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

vector-memory-mcp CLAUDE.md compared with instructions from other repositories

vector-memory-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vector-memory-mcp CLAUDE.mdaeriondyseti/vector-memory-mcpInstructions file512d agoMITA2,697Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode