# Punk Records

> Punk Records is an open-source MCP server for developer tools. Keeps AI agent memory files like CLAUDE.md and AGENTS.md synced across projects. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, Self-hosted, VS Code
- **Repository:** https://github.com/gablooge/punk-records
- **MCP Registry name:** io.github.gablooge/punk-records
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Punk Records collects the instruction and memory files that coding agents rely on, such as CLAUDE.md, AGENTS.md, napkin notes and rules files, from every project and machine into one versioned store. The store is a git repository, so every save is a commit and past versions can be inspected.

Sync runs over any git remote, or can be carried across an air-gapped network with a bundle file. Projects are matched by their git remote, so the same repository checked out in different places shares one set of memories. An optional age encryption layer keeps the remote unreadable to the host.

It suits developers who work with Claude Code, Cursor, Codex or other MCP-capable agents on several machines and want their agent guidance to follow them. Agents read and write memories through a local stdio MCP server, and a secret scanner blocks API keys and private keys before anything is stored.

## Features

- **Cross-machine memory sync:** Saves and restores agent memory files across machines through any git remote.
- **Versioned memory history:** Each save is a git commit, so changes to agent guidance can be reviewed over time.
- **Encrypted remotes:** Optional age encryption hides memory contents from the hosting provider.
- **Secret scanning:** Files containing detected API keys, private keys or passwords are blocked unless redacted.
- **Conflict-aware merging:** Detects edits made on two machines and reports conflicts instead of overwriting.
- **Air-gapped bundles:** Exports and imports memory history as git bundle files for offline transfer.

## Good for

- Keep CLAUDE.md and AGENTS.md consistent between a work laptop and a home machine
- Restore agent memories on a new computer after a reinstall
- Share team coding conventions read-only across projects
- Give an agent project context at the start of each session through MCP
- Carry agent memories into an offline network via USB

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add punk-records -- uvx punk-records
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add punk-records -- uvx punk-records
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.punk-records]
command = "uvx"
args = ["punk-records"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user punk-records uvx -- punk-records

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "punk-records": {
      "command": "uvx",
      "args": [
        "punk-records"
      ]
    }
  }
}
```

## FAQ

### How does Punk Records connect to AI tools?

It runs as a stdio MCP server started with the command punk mcp, and can be registered with Claude Code, Cursor, Codex and other MCP clients.

### Does Punk Records need a server to run?

No. The MCP server is started by the client when a session begins, and there is no background service to maintain.

### Are secrets protected?

Files are scanned for API keys, private keys and password assignments before they enter the store. Matching files are blocked by default.

### What dependencies does Punk Records require?

Python 3.9 or newer and git. Encryption additionally needs the age tool.

### Is Punk Records free?

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

### How do I add Punk Records to Claude Code?

Run this command in your terminal: claude mcp add punk-records -- uvx punk-records

### What are the best alternatives to Punk Records?

The closest alternatives to Punk Records are Agent Memory, Repo Memory, Agent Memory MCP, Project Memory MCP and Infernoflow.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent Memory](https://ai-powered.com/mcp/agent-memory-5): Agent Memory is an open-source MCP server for knowledge and memory.
- [Repo Memory](https://ai-powered.com/mcp/repo-memory): Repo Memory is an open-source MCP server for knowledge and memory.
- [Agent Memory MCP](https://ai-powered.com/mcp/agent-memory-mcp-3): Agent Memory MCP is an open-source MCP server for knowledge and memory.
- [Project Memory MCP](https://ai-powered.com/mcp/project-memory-mcp): Project Memory MCP is an open-source MCP server for knowledge and memory.
- [Infernoflow](https://ai-powered.com/mcp/infernoflow): Infernoflow is a free MCP server for knowledge and memory.
- [codemem](https://ai-powered.com/mcp/codemem): codemem is an open-source MCP server for developer tools.
- [Brigade Memory](https://ai-powered.com/mcp/brigade-memory): Brigade Memory is an open-source MCP server for knowledge and memory.
- [remem-mcp — Local-first MCP Memory + CodeGraph + Wiki](https://ai-powered.com/mcp/remem-mcp-local-first-mcp-memory-codegraph-wiki): remem-mcp — Local-first MCP Memory + CodeGraph + Wiki is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/punk-records
