gedcom-mcp: Instructions file for Claude Code

CLAUDE.md

gedcom-mcp CLAUDE.md is an instructions file for Claude Code from sjmatta/gedcom-mcp. It costs 2,393 tokens per session, scanned A, original, MIT.

A project instruction document for a Python server that lets AI assistants search genealogy data stored in GEDCOM files.

In plain words
What is it for?
Use it as a guide when installing dependencies, running tests and checks, starting the server, or locating its modules.
Why use it?
It gives developers the project overview, development commands, architecture notes, and package structure needed to work in the repository.

Instructions file for Claude Code

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

This is sjmatta/gedcom-mcp's own configuration. It tells Claude Code how to work on gedcom-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 gedcom-mcp configures →

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sjmatta/gedcom-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sjmatta/gedcom-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,393 This file is loaded in full into every session.
When invoked 2,393 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.02393 $0.02393
Opus 5.5 $0.00957 $0.00957
Sonnet 5.5 $0.00479 $0.00479
Haiku 4.5 $0.00239 $0.00239

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

Security

Grade A, and why

gedcom-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 24d 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 · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 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

GEDCOM MCP Server — a Python FastMCP server that exposes a genealogy database (a GEDCOM file) to AI assistants over the Model Context Protocol. It parses the .ged once at startup, builds in-memory indexes, and layers evidence-preserving reads, hybrid semantic search, GIS search, opt-in versioned writes and a research ledger on top.

Interface v2.0 advertises 9 tools read-only, or 13 with writes enabled; about twenty specialized tools are discovered on demand. There are 6 MCP resources. Requires Python 3.14 (.python-version; torch has no 3.15 wheels yet). Production tree: ~20K individuals, served over authenticated HTTP to ChatGPT, where an always-on OpenAI Dot uses it. See API.md, WRITES.md, RESEARCH_TOOLS.md, SEMANTIC_SEARCH.md and deploy/README.md; they are the detailed references and should be kept current.

Layered Architecture

MCP surface        mcp_tools.py (core reads + discoverable research), write_tools.py
                   (prepare/apply/maintain + research ledger), discovery.py (search_tools,
                   call_research_tool, prepare_change), mcp_resources.py, http.py (Access JWT gate)
Domain logic       core, relationships, interface_reads, research_reads, research_gaps,
                   events, places, narrative, associates, sources, tree_audit, pruning
Retrieval          semantic.py + retrieval.py (passages, BM25 + dense RRF, cross-encoder rerank);
                   spatial.py + geocoding.py (3-tier geocoding, proximity/bbox search)
Writes             writes.py (TreeStore), revision_storage.py (SQLite, content-addressed,
                   immutable), editing/document/field_edits/structural_edits (lossless editor),
                   research_ledger.py (append-only hypotheses/evidence/verdicts), recovery.py
Indexes            state.py: individuals, families, sources, repositories, places, surname,
                   birth-year, place and individual-place indexes; TREE_LOCK; HOME_PERSON_ID
Parsing            parsing.py (ged4py) → models.py dataclasses; tree_projection.py rebuilds
                   detached indexes after a write

Read the full file on GitHub · 97 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. 24d ago Changed · -159 lines · -1,766 tokens per session 4ee5b7f93170
  2. 1mo ago Changed · -15 lines · -339 tokens per session 070189060b52
  3. 1mo ago Changed · +61 tokens per session 91d619c98fc2
  4. 2mo ago Changed · +107 lines · +2,566 tokens per session 98c8f827a10a
  5. 2mo ago First seen · 164 lines · 1,871 tokens per session scan A 8569b24a85a6

Subscribe to this mod's changes

gedcom-mcp CLAUDE.md is an instructions file published in the GitHub repository sjmatta/gedcom-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 2,393 tokens to every session, about $0.0096 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-31.

Related

gedcom-mcp CLAUDE.md compared with instructions from other repositories

gedcom-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gedcom-mcp CLAUDE.mdsjmatta/gedcom-mcpInstructions file13d agoMITA2,393Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144kyesterdayMITA8,130Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,153GitHub Copilot
generative-ai-for-beginners AGENTS.mdmicrosoft/generative-ai-for-beginnersInstructions file124ktodayMITA2,981Codex, OpenCode