# Gitattributes checker (exact git rules)

> Gitattributes checker (exact git rules) is an open-source MCP server for developer tools. Which git attributes apply to a file (line endings, binary, LFS, linguist) and which line decides. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/lawatch/10aday/tree/HEAD/products/mcp/gitattributes-check
- **MCP Registry name:** io.github.Lawatch/gitattributes-check
- **Categories:** developer tools
- **Listing updated:** 2026-11-16

## About

Which git attributes apply to a file (line endings, binary, LFS, linguist) and which line decides.

## Install

### Claude Code (Terminal)

```sh
claude mcp add gitattributes-check -- docker run -i --rm ghcr.io/lawatch/gitattributes-check:1.0.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gitattributes-check": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/gitattributes-check:1.0.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "gitattributes-check": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/gitattributes-check:1.0.0"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "gitattributes-check": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/gitattributes-check:1.0.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "gitattributes-check": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/gitattributes-check:1.0.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "gitattributes-check": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/gitattributes-check:1.0.0"
      ]
    }
  }
}
```

## FAQ

### Is Gitattributes checker (exact git rules) free?

Yes. Gitattributes checker (exact git rules) is open source, so you can use and self-host it for free.

### How do I add Gitattributes checker (exact git rules) to Claude Code?

Run this command in your terminal: claude mcp add gitattributes-check -- docker run -i --rm ghcr.io/lawatch/gitattributes-check:1.0.0

### What are the best alternatives to Gitattributes checker (exact git rules)?

The closest alternatives to Gitattributes checker (exact git rules) 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.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/gitattributes-checker-exact-git-rules
