SSW Rules MCP
Allows OpenAI's Codex to search, retrieve, and browse SSW Rules via the Model Context Protocol.
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., "@SSW Rules MCPfind rules about pull request best practices"
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.
SSW Rules MCP
Unofficial community-built CLI tools and MCP server for searching SSW Rules with semantic search.
SSW Rules is a collection of 3,700+ best-practice rules covering software engineering, project delivery, communication, and more.
What it does
MCP Server — Exposes SSW Rules to AI agents (Claude Code, VS Code Copilot, Codex, LM Studio) via the Model Context Protocol
Semantic Search — Find rules by meaning, not just keywords (e.g. "how to handle technical debt" finds "Do you know the importance of paying back Technical Debt?")
CLI Tools — Search, browse, and read SSW Rules from the terminal
Auto-sync — Automatically clones and updates SSW.Rules.Content from GitHub
Related MCP server: Sourcerer MCP
Prerequisites
Quick Start
1. Install
git clone https://github.com/jernejk/SSW.Rules.Mcp.git
cd SSW.Rules.Mcp
uv tool install .This makes the ssw-rules command available system-wide.
To update after pulling new changes:
cd SSW.Rules.Mcp
git pull
uv tool install --force --reinstall .To uninstall:
uv tool uninstall ssw-rules-mcpgit clone https://github.com/jernejk/SSW.Rules.Mcp.git
cd SSW.Rules.Mcp
uv syncThen prefix all commands with uv run:
uv run ssw-rules index
uv run ssw-rules search "definition of done"2. Start Qdrant
docker run -d -p 6333:6333 qdrant/qdrant3. Build the search index
ssw-rules indexThis will:
Clone SSW.Rules.Content (shallow clone, ~1 min)
Parse all ~3,700 rules from MDX files
Generate embeddings with
all-MiniLM-L6-v2(downloads 90MB model on first run)Store vectors in Qdrant (~6MB, takes ~2 min)
On subsequent runs, it does git pull to get the latest rules before re-indexing.
4. Search!
ssw-rules search "definition of done"CLI Reference
Command | Description |
| Clone/pull rules and build Qdrant search index |
| Rebuild index without git pull |
| Semantic search across all rules |
| Get the full content of a specific rule |
| List all categories and subcategories |
| List rules in a specific category |
| Show recently updated rules |
| Configure local SSW.Rules.Content path |
| Show current configuration |
| Reset all settings to defaults |
| Start the MCP server (stdio) |
Search
ssw-rules search "pull request best practices"
ssw-rules search "technical debt" --limit 5
ssw-rules search "email etiquette" --json
ssw-rules search "scrum ceremonies" --include-archivedGet a specific rule
ssw-rules get 3-steps-to-a-pbi
ssw-rules get definition-of-done --jsonBrowse categories
ssw-rules categories
ssw-rules category rules-to-better-scrum-using-azure-devopsRecently updated rules
ssw-rules recent # Last 30 days
ssw-rules recent --days 7 # Last week
ssw-rules recent --json # JSON outputJSON Output
Add --json to any command for machine-readable output:
ssw-rules search "testing" --json
ssw-rules get definition-of-done --json
ssw-rules categories --jsonSource Configuration
By default, ssw-rules index clones SSW.Rules.Content into ~/.config/ssw-rules-mcp/data/. To use an existing local clone instead:
ssw-rules source ~/Developer/SSW.Rules.ContentTo use a fork:
ssw-rules source --repo https://github.com/my-fork/SSW.Rules.Content.gitMCP Server
The MCP server exposes SSW Rules to AI agents via stdio transport.
Tools
Tool | Description |
| Semantic search across all SSW Rules |
| Get full content of a rule by its URI slug |
| Browse the category hierarchy |
| Get all rules in a category |
| Get recently updated rules |
Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"ssw-rules": {
"command": "ssw-rules",
"args": ["mcp"]
}
}
}Note: This requires the global install (
uv tool install .). If usinguv runinstead, use"command": "uv", "args": ["run", "--directory", "/path/to/SSW.Rules.Mcp", "ssw-rules", "mcp"].
Then ask Claude things like:
"Search SSW Rules for definition of done"
"What are the SSW rules about pull requests?"
"Get the SSW rule about technical debt"
"What SSW Rules categories exist?"
VS Code (Copilot / Continue)
Add to your VS Code settings (.vscode/settings.json or user settings):
{
"mcp": {
"servers": {
"ssw-rules": {
"command": "ssw-rules",
"args": ["mcp"]
}
}
}
}Codex (OpenAI CLI)
{
"mcpServers": {
"ssw-rules": {
"command": "ssw-rules",
"args": ["mcp"]
}
}
}LM Studio
Configure a new MCP server:
Name: SSW Rules
Command:
ssw-rulesArguments:
mcpTransport: stdio
Using with SugarLearning MCP
SSW Rules MCP is designed to work alongside SugarLearning MCP for comprehensive SSW process guidance:
SSW Rules — Public best-practice rules (this tool)
SugarLearning — Internal training modules and learning paths
Configure both in Claude Code:
{
"mcpServers": {
"ssw-rules": {
"command": "ssw-rules",
"args": ["mcp"]
},
"sugarlearning": {
"command": "sl",
"args": ["mcp"]
}
}
}Then ask Claude to combine knowledge from both sources:
"What SSW rules apply to the Spec Reviews training module?"
"Create onboarding instructions using SSW Rules and SugarLearning modules"
How Search Works
SSW Rules MCP uses a semantic search approach powered by:
sentence-transformers with the
all-MiniLM-L6-v2model (384-dimensional embeddings, runs locally, no API key needed)Qdrant vector database for fast similarity search
Text search fallback when Qdrant is unavailable
Each rule is indexed with its title, SEO description, and a preview of its content. Search queries are embedded with the same model and compared using cosine similarity.
With 3,700+ rules, the Qdrant collection uses ~6MB of storage. Indexing takes about 2 minutes.
Project Structure
SSW.Rules.Mcp/
├── src/ssw_rules_mcp/
│ ├── cli.py # Click CLI entry point
│ ├── config.py # Pydantic settings (.env)
│ ├── models.py # Pydantic models (Rule, Category)
│ ├── parser.py # MDX frontmatter parsing + JSX stripping
│ ├── qdrant_index.py # Qdrant vector indexing + search
│ ├── categories.py # Category hierarchy parser
│ └── mcp_server.py # FastMCP server
├── tests/ # pytest test suite
├── .env.example # Configuration template
└── pyproject.toml # Project definitionConfiguration
All settings use the SSW_RULES_ prefix and can be set via environment variables or ~/.config/ssw-rules-mcp/.env:
Variable | Default | Description |
|
| Path to SSW.Rules.Content repo |
|
| Git repo URL for auto-clone |
|
| Qdrant server URL |
|
| Qdrant collection name |
Running Tests
uv run --extra dev pytestLicense
MIT
This server cannot be installed
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jernejk/SSW.Rules.Mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server