Claude Rules MCP Server
Supports retrieval of the latest Gmail monitor summary via the read_monitor_summary tool, integrating email monitoring into the Claude context.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Rules MCP Serversearch for skills about logging"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Table of Contents
Related MCP server: Skills MCP Server
About
An MCP (Model Context Protocol) server that reads Claude Code skills and rules from the filesystem and exposes them as tools. Supports HTTP and stdio transports with optional token authentication and Cloudflare Tunnel for remote access.
Features
Serves 484 skills with progressive disclosure (metadata first, full content on demand)
17 global rules accessible individually or concatenated
Project-level rule discovery across multiple repositories
Keyword search across all skills and rules
Monitor summary integration (Gmail and court monitors)
Token authentication for HTTP transport
Dual transport: HTTP for containers/web, stdio for Claude Desktop
Requirements
Node.js 20+
npm 10+
Docker (for container deployment)
Installation
npm (recommended)
npm install claude-rules-mcpOr run directly without installing:
npx claude-rules-mcp initManual
git clone https://github.com/jeremykenedy/claude-rules-mcp-server.git
cd claude-rules-mcp-server
npm install
npm run buildQuick Start
Run the interactive setup wizard:
npx claude-rules-mcp initThe wizard walks through transport selection, paths, and token auth. It creates a .env file with your configuration.
Then start the server:
npx claude-rules-mcp runTools
Tool | Description |
| Returns the full skills manifest (names and descriptions, not file contents) |
| Lists all skills with optional keyword filter |
| Reads the full SKILL.md for a specific skill by name |
| Lists and reads reference files for a skill |
| Lists all 17 global rule names |
| Reads a specific global rule by name |
| Concatenates all 17 rule files into one response |
| Reads project-level CLAUDE.md and .claude/rules/ |
| Scans for projects with .claude/ directories |
| Keyword search across skill descriptions and rule contents |
| Reads the latest Gmail/court monitor summary |
Configuration
Variable | Default | Description |
|
|
|
|
| HTTP port |
|
| Path to skills, rules, and manifest |
|
| Path to project directories |
| (none) | Token for HTTP authentication (recommended for remote) |
Docker Deployment
docker build -t claude-rules-mcp:latest .
docker run -d \
--name claude-rules-mcp \
--restart unless-stopped \
-p 3456:3456 \
-e TRANSPORT=http \
-e PORT=3456 \
-e CLAUDE_DATA_PATH=/data/.claude \
-e CLAUDE_PROJECTS_DIR=/data/sites \
-e MCP_SECRET=your-secret-token \
-v /path/to/.claude:/data/.claude:ro \
-v /path/to/sites:/data/sites:ro \
claude-rules-mcp:latestHealth check:
curl http://localhost:3456/healthClaude Desktop Setup
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"claude-rules": {
"command": "npx",
"args": ["-y", "claude-rules-mcp", "run"]
}
}
}For remote via SSH:
{
"mcpServers": {
"claude-rules": {
"command": "ssh",
"args": [
"user@your-server",
"cd /path/to/server && TRANSPORT=stdio node dist/index.js"
]
}
}
}Claude.ai Web Setup
Settings > Customize > Connectors > + > Add custom connector:
Name: Claude Rules
URL: https://your-domain.com/mcp?token=your-secret-tokenTesting
# Health check
curl http://localhost:3456/health
# Test with token
curl -X POST "http://localhost:3456/mcp?token=your-token" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}'License
This package is open-sourced software licensed under the MIT license.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeremykenedy/claude-rules-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server