# EditorConfig checker (exact rules)

> EditorConfig checker (exact rules) is an open-source MCP server. Which .editorconfig settings apply to a file (indent, line endings, charset) 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/editorconfig-check
- **MCP Registry name:** io.github.Lawatch/editorconfig-check
- **Listing updated:** 2026-11-16

## About

Which .editorconfig settings apply to a file (indent, line endings, charset) and which line decides.

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

### Is EditorConfig checker (exact rules) free?

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

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

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

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