Skip to content
MCP server

Claude FAF

Persistent project context for Claude from a scored .faf file, synced into CLAUDE.md

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
7.2.1
Listing updated
2 days ago

About Claude FAF

Claude FAF is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

This server reads and writes a project's .faf file, a structured YAML description of a codebase registered with IANA as application/vnd.faf+yaml. It scores how complete that context is, then generates instruction files such as CLAUDE.md from it with faf_sync, or MEMORY.md with faf_tri_sync.

From version 7.2 it does not write a project's goal or the six W questions on its own. faf_go shows each suggestion with its source, for example a README section or the package.json description, and only what you confirm is written. faf_readme suggests but never writes. A faf prompt walks through scoring, filling what the repo can answer, asking only what you can, then verifying and syncing.

There are 14 core tools, or 30 with FAF_TOOLS=all, and it builds on faf-cli rather than forking it. The README warns that version 7 changed scoring, so existing scores can move. It runs over stdio from npm or an mcpb bundle and is MIT licensed.

Install

Run in a terminal

claude mcp add claude-faf-mcp -- npx -y claude-faf-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "claude-faf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "claude-faf-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "claude-faf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "claude-faf-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "claude-faf-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "claude-faf-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "claude-faf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "claude-faf-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "claude-faf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "claude-faf-mcp"
      ]
    }
  }
}

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

faf_sync
Writes CLAUDE.md from the project's .faf.
faf_tri_sync
Syncs the .faf into MEMORY.md as well.
faf_auto
Generates or updates the .faf and writes slot markers.
faf_init
Initialises a project.faf.
faf_git
Builds context from a git repo and returns suggestions.
faf_go
Shows suggestions for the goal and W's for you to confirm.
faf_readme
Suggests values from the README without writing.

What it does

Scored project context
Rates how complete a project's .faf file is.
Instruction-file sync
Writes CLAUDE.md or MEMORY.md from the .faf source.
Confirm-before-write
Suggestions for goal and W's carry sources and are saved only when you accept.
Guided faf prompt
Scores, fills, asks, verifies and syncs in one flow.
Built on faf-cli
Uses faf-cli functions and does not run a faf from your PATH.
Two install paths
npm package or a one-click mcpb bundle.

Good for

  • Keep CLAUDE.md consistent with a single project context file
  • Bootstrap context for a repository from its README and package.json
  • Hand the same context to different AI tools
  • Check how complete a repo's context is

Pricing

Open source

Prices change. Check faf.one before you buy.

Claude FAF FAQ

What is a .faf file?

A YAML project context file with an IANA-registered media type.

Will it overwrite my goals?

From 7.2 it only writes the goal and six W's after you confirm.

How many tools?

14 core tools, 30 with FAF_TOOLS=all.

What licence?

MIT.

Is Claude FAF free?

Yes. Claude FAF is open source, so you can use and self-host it for free.

How do I add Claude FAF to Claude Code?

Run this command in your terminal: claude mcp add claude-faf-mcp -- npx -y claude-faf-mcp

What are the best alternatives to Claude FAF?

The closest alternatives to Claude FAF are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Claude FAF

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools