Skip to main content
Glama

claude-faf-mcp

Dile a la IA qué estás construyendo, para quién es y por qué es importante. 30 segundos. 🐘 Nunca olvida.

Anthropic MCP CI npm version NPM Downloads License: MIT

FAF define. MD instruye. IA programa.

🐘 tri-sync ahora gratis para todos los desarrolladores — .faf ↔ CLAUDE.md ↔ MEMORY.md en un solo comando. Función Pro. Ahora gratis.

33 herramientas MCP. Formato registrado en IANA (application/vnd.faf+yaml). 2,346 ejecuciones de prueba por cada push.


Las 3Ws — 3 Respuestas. Eso es todo.

Todo gran producto comenzó con 3 respuestas a las 3Ws — Quién (Who), Qué (What), Por qué (Why):

¿PARA QUIÉN es?

¿QUÉ hace?

¿POR QUÉ construirlo?

Uber

Personas que necesitan transporte

Toca un botón, llega un coche

Los taxis no funcionaban bien

Airbnb

Viajeros que no pueden pagar hoteles

Hospédate en la habitación libre de alguien

Existen millones de habitaciones vacías

Slack

Equipos ahogados en correos electrónicos

Mensajería grupal organizada

Decisiones enterradas en hilos

Venmo

Amigos dividiendo cuentas

Envía dinero al instante

Alguien siempre olvida pagar

El mismo patrón. Todo producto que funciona comienza aquí. .faf lo captura:

human_context:
  who: "people who need a ride across town"
  what: "tap a button, car arrives in minutes"
  why: "taxis are slow, expensive, and hard to find"

30 segundos. Claude construye tu project.faf a partir de esto. En cada sesión posterior, la IA comienza de forma inteligente.

Las 6Ws — Para una IA optimizada

Las 3Ws te ayudan a empezar. Para una IA totalmente optimizada, completa el conjunto — Dónde (Where), Cuándo (When), Cómo (How):

  where: "mobile app, iOS and Android"    # where does it live?
  when: "launch in 3 months"              # when is it shipping?
  how: "GPS matching, real-time pricing"  # how does it work?

Las 3Ws inician el proyecto con la IA. Las 6Ws optimizan la IA al 100%. Mismo YAML, mismo archivo. Más ejemplos → faf.one/ideas


Related MCP server: gemini-faf-mcp

Inicio rápido

Copia y pega esto en Claude:

Instala el servidor FAF MCP: npm install -g claude-faf-mcp, luego añade esto a mi claude_desktop_config.json: {"mcpServers": {"faf": {"command": "npx", "args": ["-y", "claude-faf-mcp"]}}} y reinicia Claude Desktop.

Luego dile a Claude tus 3Ws: "Estoy construyendo [qué] para [quién] porque [por qué]"


Cómo funciona

You → 3 answers → project.faf → AI reads it → every session → forever

project.faf  ←── 8ms ──→  CLAUDE.md     (bi-sync, free)
project.faf  ←── 8ms ──→  MEMORY.md     (tri-sync, Pro 🐘)

Claude hace el resto. Cero esfuerzo, correcto a la primera, rápido, preciso, hecho. Lenguaje, framework, gestor de paquetes, herramientas de compilación: todo detectado automáticamente de tus archivos existentes. El contexto humano es la parte que solo tú puedes aportar.


Puntuación: De ciega a optimizada

Nivel

Puntuación

Qué significa

🏆 Trofeo

100%

Código de oro — IA optimizada

🥇 Oro

99%+

Contexto casi perfecto

🥈 Plata

95%+

Excelente

🥉 Bronce

85%+

Listo para producción

🟢 Verde

70%+

Base sólida

🟡 Amarillo

55%+

IA lanzando monedas

🔴 Rojo

<55%

IA trabajando a ciegas

🤍 Blanco

0%

Sin contexto alguno

Al 55%, la IA adivina la mitad de las veces. Al 100%, la IA conoce tu proyecto. Mismo compilador que faf-cli — misma puntuación en todas partes.


33 Herramientas MCP

Todas las herramientas se ejecutan de forma independiente — cero dependencias de CLI, 19ms de ejecución promedio.

Crear y Detectar

Herramienta

Propósito

faf_init

Inicializar el ADN del proyecto

faf_auto

Autodetectar stack y completar contexto

faf_quick

Creación ultrarrápida (3ms)

faf_readme

Extraer contexto del README (+25-35% de mejora)

faf_formats

Descubrir todos los formatos en tu proyecto

faf_git

Extraer contexto de cualquier URL de repositorio de GitHub

faf_human_add

Añadir contexto humano (las 6Ws)

Validar y Puntuar

Herramienta

Propósito

faf_score

Puntuación de preparación para IA (0-100%) con desglose

faf_check

Validar estructura .faf

faf_doctor

Diagnosticar y corregir problemas comunes

faf_go

Entrevista guiada hacia el Código de Oro

Sincronizar y Persistir

Herramienta

Propósito

faf_sync

Sincronizar .faf → CLAUDE.md

faf_bi_sync

.faf ↔ CLAUDE.md bidireccional

faf_tri_sync

Tri-sync .faf ↔ CLAUDE.md ↔ MEMORY.md — Función Pro, gratis para desarrolladores 🐘

faf_enhance

Mejora inteligente

Exportar e Interoperar

Herramienta

Propósito

faf_agents

Importar/exportar AGENTS.md (OpenAI Codex)

faf_cursor

Importar/exportar .cursorrules (Cursor IDE)

faf_gemini

Importar/exportar GEMINI.md (Google Gemini)

faf_conductor

Importar/exportar directorio Conductor

Leer y Escribir

Herramienta

Propósito

faf_read

Leer cualquier archivo

faf_write

Escribir cualquier archivo

faf_status

Resumen del estado del proyecto

faf_debug

Inspección del entorno

faf_about

¿Qué es .faf?

Referencia completa de herramientas →


🐘 Nelly nunca olvida

bi-sync mantiene alineados .faf ↔ CLAUDE.md.

tri-sync añade MEMORY.md — tu IA recuerda tu proyecto en cada sesión.

bi-sync  = .faf ↔ CLAUDE.md              ← always in sync
tri-sync = .faf ↔ CLAUDE.md ↔ MEMORY.md  ← Nelly never forgets 🐘

Función Pro, gratis para desarrolladores. Equipos y Empresas: faf.one/pro (planes)


La posición de .FAF

Model        Context          Protocol
─────        ───────          ────────
Claude    →   .faf        →    MCP
Gemini    →   .faf        →    MCP
Codex     →   .faf        →    MCP
Any LLM   →   .faf        →    MCP

Registrado en IANA (application/vnd.faf+yaml). Funciona con cualquier IA. Define una vez, usa en todas partes.


Ecosistema

Paquete

Plataforma

Registro

claude-faf-mcp (este)

Claude

npm

faf-cli

CLI Universal

npm + Homebrew

gemini-faf-mcp

Google Gemini

PyPI

grok-faf-mcp

xAI Grok

npm

rust-faf-mcp

Rust

crates.io

faf-wasm

Navegador/Edge

npm

Extensión de Chrome

Navegador

Chrome Web Store

Mismo project.faf. Misma puntuación. Mismo resultado. Diferente capa de ejecución.


Calidad

391 pruebas · 12 suites · 6 plataformas (ubuntu/macos/windows × Node 18/20)

Panel de CI →


Privacidad

Todo se ejecuta localmente. Ningún dato sale de tu máquina. Sin analíticas, sin telemetría, sin seguimiento, sin cuentas. Política de privacidad →


Si claude-faf-mcp te ha sido útil, considera marcar el repositorio con una estrella — ayuda a otros a encontrarlo.


Licencia

MIT — Libre y de código abierto


Familia FAF

faf-cli

npx faf-cli init — crea .faf para cualquier proyecto

claude-faf-mcp

Servidor MCP para Claude Desktop

gemini-faf-mcp

Servidor MCP para Gemini CLI

grok-faf-mcp

Servidor MCP para Grok

faf-mcp

Servidor MCP para Cursor, Windsurf, Cline, VS Code

rust-faf-mcp

Servidor MCP en Rust

faf-skills

17 habilidades de Claude Code

faf.one

Blog, descargas, docs

Registro IANA

application/vnd.faf+yaml

formato | impulsado 🏎️⚡️ wolfejam.dev


Obtén la CLI

faf-cli — La CLI de contexto de IA original. Imprescindible para todo desarrollador.

npx faf-cli auto

Anthropic MCP #2759 · Registrado en IANA: application/vnd.faf+yaml · faf.one · npm

Available Tools

14 tools
faf_aboutAbout .fafA
Read-onlyIdempotent
Inspect

Explain what the .faf format is — project context for AI, IANA-registered as application/vnd.faf+yaml — and how this server uses it. Returns a short plain-text overview with this server's version. Reads nothing and writes nothing. Use it when someone asks what FAF is.

Inputs: no named parameters.

faf_autoFill from the RepoA
DestructiveIdempotent
Inspect

Create /project.faf, or fill the empty slots of the one there, with faf-cli's detection over the repo's own files (package.json, Cargo.toml, pyproject.toml, go.mod…) — no hardcoded defaults. A value already there is kept. A typed None or placeholder word is an empty slot: in a tech slot the app-type uses, only a repo fact replaces it (with no fact it stays as typed); in a tech slot the app-type leaves out, faf_auto writes slotignored; in a 6W it stays as typed (faf_go asks). Every value it changes is listed. Then writes CLAUDE.md's faf-managed block. Returns what was filled and faf-cli's score before and after. faf_go does the human 6Ws.

Inputs: path.

faf_benchGrounding BenchmarkA
Read-onlyIdempotent
Inspect

Prove the .faf earns its place — measure how much the context is worth, on THIS repo, falsifiably. Questions derive from the project.faf's own populated slots (the .faf is the answer key), so grading is mechanical — no judge, no rubric. action=questions returns the answer-key-safe question set; action=grade takes your answers WITHOUT the .faf (cold) and WITH it (faf), grades both, and returns the cold→with-faf lift with a receipt hash. The delta is the product; the cold number belongs to the absence of context, never to FAF. Reads only.

Inputs: faf, cold, path, model, +3 more. Returns: Question set (action=questions) or the cold→with-faf grading and its receipt (a…

faf_contextActive ProjectA
Read-onlyIdempotent
Inspect

Show the active project — the folder every faf_* call without a path uses — and the .faf there; pass path to make another folder the active project (your home folder and the filesystem root are refused). detail: true also returns the .faf's text. Writes no file. Call it once at the start of a session.

Inputs: path, detail. Returns: The active project context and whether a project.faf lives there.

faf_doctorDiagnose .fafA
Read-onlyIdempotent
Inspect

Diagnose the project's .faf: faf-cli's validateFaf errors, faf-cli's score with every empty slot and the tool that fills it (faf_auto from the repo, faf_go for the 6Ws), whether CLAUDE.md is there, and the formats faf-cli finds in the folder. Returns a checklist of findings, each with its fix. Reads only. Use it when faf_score is below 100%.

Inputs: path. Returns: Health check: an overall verdict plus per-check diagnostics with fixes.

faf_etchEtch MemoryA
Destructive
Inspect

Remember a decision, gotcha, or win across sessions by writing it to the project soul (soul.fafm) with faf-cli's Soul. Returns the stored memory and the soul's size. Re-etching an id updates that memory in place. Use it to persist something an AI should recall later; faf_recall reads them back.

Inputs: text (required), id, path, tags, +2 more. Returns: The etched fact + soul state.

faf_goGuided InterviewA
Destructive
Inspect

The human half of project.faf. Without answers it returns the Table-of-8 — project name, goal and the 6Ws (who, what, why, where, when, how) — each filled, seeded from the goal, or empty, with faf-cli's score and, for each slot still empty, whether it is a fact from repo (faf_auto writes it: its dry run, the one faf_formats shows) or needs an answer here. An empty goal or W carries faf-cli's suggestion from the repo with its source, for the user to confirm. With answers (slot path → the text the user confirmed, e.g. {"human_context.why": ""}) it writes them into /project.faf in place and returns the new score; a value already in a slot you answer is replaced. With no project.faf yet it runs faf_init and faf_auto first. faf_auto writes each fact from repo; a stack slot with no fact in repo is answered here.

Inputs: path, answers.

faf_initCreate project.fafA
Destructive
Inspect

Create a new project.faf for a folder: faf-cli detects its name, language and stack, and the reply gives the file path, faf-cli's starting score and the birth .faf-dna. An existing project.faf is left as it is — use faf_auto to fill its empty slots from your manifests, or faf_go for the human 6Ws. force: true replaces an existing project.faf with a fresh one, after copying the old file to a backup beside it.

Inputs: path, force.

faf_recallRecall MemoryA
Read-onlyIdempotent
Inspect

Recall memories from the project soul (soul.fafm), ranked by priority then recency, filtered by query/tags/type. Returns the matching entries. Reads only. Use it to surface past decisions; faf_etch adds new ones.

Inputs: path, tags, type, limit, +2 more. Returns: Ranked memories from the soul.

faf_scoreScore .fafA
Read-onlyIdempotent
Inspect

Score the project's .faf with faf-cli's scorer — the one score every faf tool reports: 0–100%, the tier, populated/active slots, and a faf-parity/v1 hash of the result. details: true lists every slot as populated, empty or slotignored. Reads only. Use faf_doctor for what to fix.

Inputs: path, details. Returns: Structured AI-readiness score, single-sourced from faf-cli.

faf_setupSession Hook SetupA
Idempotent
Inspect

Install the native SessionStart hook in the project settings (/.claude/settings.json) — every Claude Code session in this project starts with fresh .faf context. Shows the exact settings first (preview); writes only with confirm: true, install or remove. faf changes only its own hook entry; every other key and hook stays as written. remove: true takes out only the hook whose command is exactly the faf hook command. Never writes the user settings: the home folder is refused.

Inputs: path, remove, confirm. Returns: Setup result: what happened (or would happen) to .claude/settings.json.

faf_syncSync .faf to CLAUDE.mdA
Idempotent
Inspect

Write project.faf into CLAUDE.md as a faf-managed block (faf-cli's render and injector), and on request into AGENTS.md (agents), .cursorrules (cursor), GEMINI.md (gemini) and .github/copilot-instructions.md (copilot) — or all of them (all) — with faf-cli's writers. Each file keeps every line outside faf's block. Returns the files written and any requested file that could not be written, with the reason (then isError). Use it after editing project.faf.

Inputs: all, path, agents, cursor, +2 more. Returns: The files faf_sync wrote, and each requested file it could not write.

faf_tri_syncTri-Sync to MEMORY.mdA
Idempotent
Inspect

Write project.faf as a faf-managed block into the MEMORY.md Claude Code loads for this project (~/.claude/projects//memory/MEMORY.md, or under CLAUDE_CONFIG_DIR). Only the block changes; every note of Claude's is kept, and the reply says so only after reading the file back. action: status reads only. faf_sync writes CLAUDE.md.

Inputs: path, action.

faf_trustTrust ReceiptA
Read-onlyIdempotent
Inspect

Attest the project's .faf: faf-cli's validateFaf, faf-cli's score, and a faf-parity/v1 hash (claude-faf-mcp's own spec) of that score that anyone can check with sha256(projection) === parityHash. Returns a trust receipt whose subject is the project. An invalid .faf, or a score that is unknown, gets no receipt (isError). Reads only.

Inputs: path. Returns: Trust attestation: faf-cli's validity and score, and a faf-parity/v1 receipt.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 14 tools

    Disambiguation4/5

    Most tools have sharply distinct purposes (init=create, auto=fill from repo, go=human 6Ws, sync=CLAUDE.md, tri_sync=MEMORY.md, etch/recall=memory), and the descriptions explicitly cross-reference and disambiguate. The weak spot is the read-only score cluster — faf_score, faf_doctor, faf_trust, and faf_bench all report a score/hash, and an agent must parse dense prose to decide which to call.

    Naming Consistency5/5

    Every tool follows the same faf_<short_verb_or_noun> snake_case pattern with no casing or prefix deviations. The suffixes (init, auto, go, score, sync, tri_sync, etch, recall) are readable and predictable.

    Tool Count5/5

    14 tools sit comfortably in the ideal range for a CLI-backed project-context server. Each maps to a real, named step in the .faf lifecycle, and none look like filler.

    Completeness4/5

    The surface covers the full lifecycle: create, fill (machine and human), validate/score, attest, render to five target files, install a session hook, benchmark value, and persist/recall memory. Minor gaps: no way to delete a .faf or 'forget' an etched memory (etch updates but never removes), and no multi-project listing beyond faf_context.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers