Skip to content
MCP server

Grain MCP

Grain MCP: 20 real tools to read, check, lint, scaffold, build and run Grain code.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About Grain MCP

Grain MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add grain-mcp -- npx -y @mrfentmen/grain-mcp

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "grain-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/grain-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "grain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/grain-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "grain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/grain-mcp"
      ]
    }
  }
}

Pricing

Open source

Grain MCP FAQ

Is Grain MCP free?

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

How do I add Grain MCP to Claude Code?

Run this command in your terminal: claude mcp add grain-mcp -- npx -y @mrfentmen/grain-mcp