# Claude FAF

> Claude FAF is an open-source MCP server for ai models and llm tooling. Persistent project context for Claude from a scored .faf file, synced into CLAUDE.md. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://faf.one
- **Repository:** https://github.com/wolfe-jam/claude-faf-mcp
- **MCP Registry name:** one.faf/claude-faf-mcp
- **Categories:** AI models and LLM tooling, developer tools, knowledge and memory
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add claude-faf-mcp -- npx -y claude-faf-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/claude-faf
