mcp-neo4j-knowledge-graph: Instructions file for Claude Code

CLAUDE.md

mcp-neo4j-knowledge-graph CLAUDE.md is an instructions file for Claude Code from henrychong-ai/mcp-neo4j-knowledge-graph. It costs 12,206 tokens per session, scanned C, original, MIT.

A set of instructions for working on a Neo4j knowledge graph project. Neo4j is a database designed to store connected facts, while the project also supports historical versions and meaning-based search.

In plain words
What is it for?
Use it when developing or reviewing the MCP server, its Neo4j database integration, semantic search, TypeScript code, tests, or linting setup.
Why use it?
Contributors need shared guidance on the project's structure, technologies, setup, commands, coding conventions, and tests. These instructions explain how to work consistently in the repository.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; positional $N argument; mentions Claude Code.

This is henrychong-ai/mcp-neo4j-knowledge-graph's own configuration. It tells Claude Code how to work on mcp-neo4j-knowledge-graph 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 mcp-neo4j-knowledge-graph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to henrychong-ai/mcp-neo4j-knowledge-graph. 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/henrychong-ai/mcp-neo4j-knowledge-graph/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/henrychong-ai/mcp-neo4j-knowledge-graph

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 mcp-neo4j-knowledge-graph CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/henrychong-ai/mcp-neo4j-knowledge-graph/claude-md/github.svg)](https://agentmods.dev/instructions/henrychong-ai/mcp-neo4j-knowledge-graph/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/henrychong-ai/mcp-neo4j-knowledge-graph/claude-md"><img src="https://agentmods.dev/badge/instructions/henrychong-ai/mcp-neo4j-knowledge-graph/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 mcp-neo4j-knowledge-graph CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/henrychong-ai/mcp-neo4j-knowledge-graph/claude-md"><img src="https://agentmods.dev/badge/instructions/henrychong-ai/mcp-neo4j-knowledge-graph/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,206 This file is loaded in full into every session.
When invoked 12,206 The same file — it is already loaded in full.
Security scan C 1 finding. 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.12206 $0.12206
Opus 5.5 $0.04882 $0.04882
Sonnet 5.5 $0.02441 $0.02441
Haiku 4.5 $0.01221 $0.01221

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

Security

Grade C, and why

mcp-neo4j-knowledge-graph CLAUDE.md scanned grade C with 1 finding 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 16d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

6. Clear npx cache after publishing: `rm -rf ~/.npm/_npx/*/node_modules/@henrychong-ai`
CLAUDE.md · 793 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

@henrychong-ai/mcp-neo4j-knowledge-graph is a Model Context Protocol (MCP) server implementing a Neo4j-based knowledge graph with temporal versioning and semantic search capabilities. Maintained by Henry Chong, built on foundational work by Gannon Hall.

Key Features:

  • Temporal versioning for entities and relations (track historical changes)
  • Neo4j graph database as primary storage backend
  • Vector embeddings and semantic search via OpenAI
  • MCP server for Claude Desktop and Claude Code integration
  • Full test coverage with Vitest

Public Repository

This repository is public. Maintainer-only operational notes, when present, are in the untracked CLAUDE.local.md.

Public-content gate: pnpm run public:check (scripts/check-public-sanitization.mjs) reads every git-tracked file, and every tracked file name, and fails on:

Rule Fails on Passes
Personal home path a home directory under /Users with a real name a placeholder name (you, username, <name>)
Secret reference an op:// reference that names a real vault the bare scheme in prose; a placeholder vault (your-…, example…, vault)
Account host a named 1Password account host the shared sign-in hosts; your-… and example… names
Tailnet host any *.ts.net name a your-…, example… or tailnet… label
Private server name the vps-<n> form nothing
Server deployment path the two server directories under /opt that hold deployment backups and scripts any other /opt path
Email address any address reserved example domains, GitHub no-reply addresses, the contact published in package.json
Known private identifier a 32-character hexadecimal token whose SHA-256 is on the list in the script every other token
  • Where it runs: pnpm run check; the last step of .husky/pre-commit (with --staged, which reads the staged content the commit will contain rather than the files on disk); its own CI step. On a public repository CI reports a leak only after the push, so the pre-commit step is the one that prevents it. Never commit with --no-verify.
  • Never write a private value into the script, its tests or any doc. An exact identifier goes in as its SHA-256 only (hash the lowercase value with no trailing newline). Everything else is matched by shape.
  • The script and its tests are scanned too. Describe a forbidden shape in words; in tests, build it from fragments at runtime.
  • A finding is fixed, not allow-listed. Replace the value with a placeholder, or move the note to CLAUDE.local.md. Widening an allow list is the owner's decision.
  • A finding names the file, line and rule, never the matched text. CI logs of a public repository are public.
  • Out of reach: untracked and git-ignored files, commit messages, git history, and text that is not UTF-8.

Read the full file on GitHub · 793 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. 16d ago Changed · +4 lines · +249 tokens per session 320a2bf50c34
  2. 22d ago Changed · +4 lines · +160 tokens per session 39d594561fbb
  3. 1mo ago Changed · +79 lines · +2,990 tokens per session 07d4b91cb247
  4. 1mo ago Changed · +15 lines · +594 tokens per session b44bc51d2597
  5. 1mo ago Changed · +4 lines · +214 tokens per session 91c630abc521
  6. 2mo ago Changed · +29 lines · +860 tokens per session 7cd858ef3446
  7. 2mo ago First seen · 658 lines · 7,139 tokens per session scan C 7c0cd98b0df1

Subscribe to this mod's changes

mcp-neo4j-knowledge-graph CLAUDE.md is an instructions file published in the GitHub repository henrychong-ai/mcp-neo4j-knowledge-graph (1 stars, last pushed yesterday), licensed MIT. It adds 12,206 tokens to every session, about $0.0488 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-neo4j-knowledge-graph CLAUDE.md compared with instructions from other repositories

mcp-neo4j-knowledge-graph CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-neo4j-knowledge-graph CLAUDE.mdhenrychong-ai/mcp-neo4j-knowledge-graphInstructions file1yesterdayMITC12,206Claude 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