# RuleStack MCP

> RuleStack MCP is an open-source MCP server. RuleStack: Search real AGENTS.md, CLAUDE.md and Cursor rules files. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://rulestack.thecompound.tech
- **Repository:** https://github.com/kyisaiah47/openlookup/tree/HEAD/packages/rulestack-mcp
- **MCP Registry name:** tech.thecompound/rulestack
- **Listing updated:** 2026-11-13

## About

RuleStack: Search real AGENTS.md, CLAUDE.md and Cursor rules files.

## Install

### Claude Code (Terminal)

```sh
claude mcp add rulestack -- npx -y rulestack-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "rulestack": {
      "command": "npx",
      "args": [
        "-y",
        "rulestack-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "rulestack": {
      "command": "npx",
      "args": [
        "-y",
        "rulestack-mcp"
      ]
    }
  }
}
```

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

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

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

```json
{
  "mcpServers": {
    "rulestack": {
      "command": "npx",
      "args": [
        "-y",
        "rulestack-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "rulestack": {
      "command": "npx",
      "args": [
        "-y",
        "rulestack-mcp"
      ]
    }
  }
}
```

## FAQ

### Is RuleStack MCP free?

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

### How do I add RuleStack MCP to Claude Code?

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

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/rulestack-mcp
