Skip to content
MCP server

Lema MCP

Cited 'why was this decided?' answers for your repo and for React, Kubernetes, and Rust.

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

About Lema MCP

Lema 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 lema-mcp -- npx -y lema-mcp

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "lema-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lema-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "lema-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lema-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "lema-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lema-mcp"
      ]
    }
  }
}

Pricing

Open source

Prices change. Check lema.sh before you buy.

Lema MCP FAQ

Is Lema MCP free?

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

How do I add Lema MCP to Claude Code?

Run this command in your terminal: claude mcp add lema-mcp -- npx -y lema-mcp