RegexForge
Deterministic regex synthesis from labeled examples. Zero LLM, proof matrix, backtracking audit.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"regexforge": {
"url": "https://regexforge.jason-12c.workers.dev/mcp"
}
}
}Remote endpoints
https://regexforge.jason-12c.workers.dev/mcpstreamable-httpWhat it can do
Tool inventory
Tools (1)
⚪regexforge_synth(description, examples)
Synthesize a battle-tested regex from labeled examples. Input: optional natural-language description + 20 examples (10 positive, 10 negative, or any mix of ≥4). Output: regex + flags + test matrix proving every example is handled correctly + backtracking-risk analysis. Deterministic; no LLM at serve time.
Input Schema
{
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Optional natural-language description, used only for tie-breaking."
},
"examples": {
"type": "array",
"minItems": 2,
"maxItems": 100,
"items": {
"type": "object",
"required": [
"text",
"match"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2048
},
"match": {
"type": "boolean",
"description": "true if the regex should match this string; false if it should NOT match."
}
}
}
}
},
"required": [
"examples"
]
}Community
Evidence