Elite Reasoning MCP
Elite Reasoning MCP is a Model Context Protocol server that adds persistent workflow memory, evidence-gated execution, reasoning safety, and quality assurance to AI coding agents via 90+ tools. Key capabilities:
Workflow & Planning
Create and track evidence-gated workflows (
workflow_run,workflow_update_step,elite_doctor,smoke_test_gate)Route complex requests and optimize prompts (
orchestrate_request_tool,polish_prompt,select_reasoning_protocol)
Memory & Knowledge
Persist decisions, mistakes, and context across sessions with trust/privacy gating (
record_decision,record_mistake,ingest_context,memory_context_pack)Query a temporal knowledge graph and sync memory across teams (
sync_team_memory)
Risk Analysis & Safety
FMEA, Swiss Cheese audits, pre-mortem simulations, and bias scans (
fmea_analysis,swiss_cheese_audit,simulate_future_regrets,bias_scan)Pre-commit code audits and anti-pattern checks (
pre_commit_audit,check_anti_patterns)
Decision Support
Adversarial 5-perspective reviews, build-vs-buy analysis, and Socratic stress-testing (
decision_council_review,adopt_vs_build,socratic_challenge)
Quality & Calibration
Track output quality trends and benchmark performance (
record_quality_score,get_quality_trend,benchmark_track)Log predictions with confidence levels and compute Brier scores for accuracy calibration (
calibration_predict,calibration_resolve,calibration_score)
Adaptive Learning & Autonomy
Record missed detections, register prevention rules, and auto-generate improvement goals (
record_missed_detection,register_prevention_rule,generate_autonomous_goals,autonomous_scan)
Goals & OKRs
Define, track, and manage OKR-style goals with measurable key results (
set_goal,check_goals,update_goal)
Quantitative Reasoning
Bayesian updates, expected value calculations, compound growth modeling, and root cause analysis (
bayesian_update,calculate_expected_value,five_whys,after_action_review)
Eval & Research
Export eval harnesses for Promptfoo/DeepEval, run local eval suites, and decompose prompts into requirements and risks (
export_eval_harness,run_elite_eval_suite,nuclear_prompt_breakdown)
Team Collaboration
Bi-directional memory sync, skill sharing, and team user management (
sync_team_memory,share_skill,list_team_users)
System Diagnostics
Health checks, tool usage stats, and autonomous system introspection (
self_diagnose,get_tool_usage_stats,get_autonomous_status)
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., "@Elite Reasoning MCPDebug the function that calculates Fibonacci numbers"
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.
Elite Reasoning MCP
Model Context Protocol workflow memory, evaluation, and reasoning-safety layer for AI coding agents.
Why Elite Reasoning?
Every AI coding assistant makes the same mistakes twice. Elite Reasoning fixes that.
It's a Model Context Protocol server for AI IDEs and coding agents. It adds a persistent workflow layer with evidence-gated execution, quality-gated memory, release verification, local monitoring, and prevention guidance.
Elite Reasoning does not claim to make a smaller model frontier-capable. It makes bounded coding workflows more reliable by reducing tool-selection noise, preserving trusted context, requiring evidence before completion, and returning typed MCP contracts.
One install. Zero config. Works with Cursor, Antigravity, VS Code + Continue, Windsurf, and any MCP-compatible IDE.
Who This Is For
Developers who use Cursor, Claude Desktop, Gemini CLI, VS Code + Continue, Windsurf, or another MCP-compatible AI IDE.
AI coding-agent users who want persistent memory without blindly injecting stale, low-trust, or sensitive context.
Maintainers who need auditable multi-step execution, release gates, risk checks, and repeatable eval scaffolds.
Teams building agentic development workflows that need reasoning safety, confidence calibration, and workflow evidence.
The Problem
Without Elite Reasoning | With Elite Reasoning |
LLM forgets past mistakes | ✅ Anti-pattern memory prevents repeats |
No confidence tracking | ✅ Brier-scored calibration per prediction |
Generic responses | ✅ Intent-classified, complexity-scored routing |
No decision audit trail | ✅ Every architectural decision logged + searchable |
Manual quality checks | ✅ Automated pre-commit audits + FMEA risk gates |
Multi-step work gets lost | ✅ |
Memory can poison context | ✅ Trust/confidence/privacy gates quarantine risky memories |
Related MCP server: Clear Thought 1.5
⚡ Quick Start
One-Line Install
pip install elite-reasoning-mcpFor an isolated CLI installation:
uv tool install elite-reasoning-mcp
# Verify the actual binary your IDE will run
elite-reasoning-mcp --version
elite-reasoning-mcp doctor --json
# Preview a safe standalone upgrade command
elite-reasoning-mcp upgrade --dry-runAdd to your IDE
Antigravity / Gemini CLI (~/.gemini/config/mcp_config.json):
{
"mcpServers": {
"elite-reasoning": {
"command": "elite-reasoning-mcp",
"args": [],
"env": {
"ELITE_BRAIN_DIR": "~/.elite-reasoning/brain",
"ELITE_TOOL_PROFILE": "core"
}
}
}
}Cursor (.cursor/mcp.json):
{
"mcpServers": {
"elite-reasoning": {
"command": "elite-reasoning-mcp",
"env": {
"ELITE_BRAIN_DIR": "~/.elite-reasoning/brain",
"ELITE_TOOL_PROFILE": "core"
}
}
}
}VS Code + Continue (~/.continue/config.yaml):
mcpServers:
- name: elite-reasoning
command: elite-reasoning-mcp
env:
ELITE_BRAIN_DIR: ~/.elite-reasoning/brain
ELITE_TOOL_PROFILE: coreActivate the Pipeline
Add this to your IDE's system prompt (e.g., ~/.gemini/GEMINI.md or Cursor Rules):
## ⚡ RULE #0 — ELITE MCP PIPELINE
For non-trivial build, debug, research, audit, or release tasks, start with:
elite_prepare(user_prompt="<the user's exact message>")
Update each step with evidence before claiming completion:
elite_progress(run_id="<run id>", action="update", step_index=1, step_status="passed", evidence="<proof>")
Before shipping, call:
elite_verify(check="doctor")
Skip tool calls for trivial acknowledgements like "ok", "thanks", "yes", "no".That's it. Restart your IDE and every conversation automatically benefits from the reasoning pipeline.
🚀 Features
🧠 Evidence-Gated Workflow
When the IDE calls elite_prepare, the server creates a durable plan with risk-aware validation gates, trusted memory context, and a compact typed response. elite_progress rejects out-of-order completion and terminal claims without evidence.
🛡️ Anti-Pattern Memory
Past mistakes are recorded with root-cause analysis and automatically surfaced when similar patterns appear. Your AI literally learns from its errors.
📊 Confidence Calibration
Track prediction accuracy with proper Brier scores. Know when your AI is overconfident vs. well-calibrated. Every prediction gets a confidence score and outcome tracking.
⚖️ Decision Council
Critical decisions get a 5-perspective adversarial review — optimist, pessimist, pragmatist, innovator, and devil's advocate — before committing.
🔒 Prevention Rules
Custom auto-triggered rules for your workflow. Define patterns that should trigger warnings, blocks, or automatic corrections. Rules self-improve through a learning pipeline.
📈 8-Layer Middleware Chain
Every tool call passes through usage logging, latency measurement, prevention rules, anti-pattern injection, periodic scanning, cost tracking, fallback guidance, and real transient retries. Structured gateway responses retain a stable warnings field rather than receiving ad-hoc text wrappers.
🧪 Risk Analysis
FMEA (Failure Mode & Effects Analysis), Swiss Cheese audits, smoke test gates, and pre-mortem simulations — all built-in, all callable as MCP tools.
💾 Persistent Memory
Cross-session knowledge stays scoped, trust-weighted, and privacy-gated. Secret-like content is redacted before storage; low-trust, sensitive, expired, and remotely imported items remain quarantined until an explicit approval action promotes them. Sensitive records cannot be promoted, and elite_memory(action="forget") permanently removes a selected local item.
🧭 Workflow Flight Recorder
elite_prepare records a durable execution contract, while elite_progress requires ordered evidence before completion. This gives agent work a recoverable audit trail without pretending the server executed the task itself.
🏥 Release Doctor And Local Monitoring
elite_verify(check="doctor") checks runtime identity, protocol version, dependencies, DB schema, capability routing, exposed tool count, active IDE mismatch, and release blockers before shipping. elite_admin(action="monitoring") returns local aggregate latency, workflow, and memory health without exporting prompt content.
🧪 Eval Harness Exports
The explicit legacy profile retains export_eval_harness for optional Promptfoo, DeepEval, and Inspect AI scaffolds. The default profile stays compact so agents can select the correct workflow actions reliably.
🏗️ Architecture
Your Task
↓
elite_prepare (typed workflow contract)
↓
┌──────────────────────────────────────────────┐
│ Intent and risk → bounded workflow │
│ Trusted memory → scoped context │
│ Prevention engine → phase guidance │
│ Validation gates → evidence requirements │
│ Typed output → stable MCP contract │
└──────────────────────────────────────────────┘
↓
elite_progress (ordered evidence updates)
↓
elite_verify / elite_admin (release + monitoring)
↓
┌──────────────────────────────────────────────┐
│ Local-first telemetry and memory boundaries │
│ Metadata by default; raw retention opt-in │
│ Remote memory remains quarantined until review │
└──────────────────────────────────────────────┘🔧 Core Tools (default)
The default v2 profile intentionally exposes five task-oriented tools. This improves tool selection, output-contract reliability, and safety for every MCP client.
Tool | Description |
| Create a durable, evidence-gated workflow contract for a task. |
| Read or update ordered workflow steps with evidence requirements. |
| Run release doctor or IDE capability verification. |
| Search, write, approve low-trust memory, or permanently forget a local memory item. |
| Inspect runtime identity, privacy policy, and local aggregate monitoring. |
Legacy Catalog (explicit opt-in)
Existing installations can retain the full legacy tool catalog by setting ELITE_TOOL_PROFILE=legacy. It is not the default because a broad discovery surface makes selection less reliable for agents. The legacy profile includes the following 90+ tools and resources:
Tool | Description |
| Master routing — fires on every prompt, classifies intent, routes to tools |
| Pre-flight checklist for complex tasks |
| Score confidence before committing to a plan |
Tool | Description |
| Create a durable evidence-gated execution contract |
| Inspect persisted workflow run status |
| Attach validation evidence to workflow steps |
| Human-readable release-readiness health check |
| Structured release-readiness report |
| Generate Promptfoo, DeepEval, and Inspect AI eval scaffolds |
| Store quality-gated scoped memory |
| Retrieve trusted memory context for a task |
Tool | Description |
| Semantic search over past mistakes |
| Log mistakes with root cause analysis |
| Score output quality (1-10) |
| Track quality trends over time |
| Audit code before delivering |
| Detect cognitive biases in reasoning |
Tool | Description |
| Log architectural decisions with rationale |
| Query past decisions (FTS + semantic) |
| 5-perspective adversarial review |
| Build-or-adopt analysis framework |
| Challenge your own plan's assumptions |
| Post-mortem structured review |
Tool | Description |
| Failure Mode & Effects Analysis |
| Risk threshold gate (block if RPN too high) |
| Pre-deploy smoke test |
| Multi-layer safety audit (Reason model) |
| Pre-mortem / regret simulation |
Tool | Description |
| Log predictions with confidence % |
| Record actual outcomes |
| Brier score accuracy report |
Tool | Description |
| Store cross-session knowledge |
| Semantic search over memory |
| Persist decisions to long-term memory |
| Persist mistakes to memory |
| Knowledge graph queries with time decay |
Tool | Description |
| Define goals with key results |
| Review active goals |
| Update goal progress |
| Lifecycle management |
| Track performance benchmarks |
| Tool usage analytics |
Tool | Description |
| Track prompt patterns |
| Session analysis |
| Cognitive model of user patterns |
| Update learned patterns |
| Create custom auto-rules |
| View active rules |
| Predict failures before they happen |
| Self-improvement scan |
| System health diagnostic |
| Autonomy rate and gap report |
| Auto-generate improvement goals |
| Log when the system should have caught something |
Tool | Description |
| Bayesian probability updates |
| Expected value calculations |
| Compound growth modeling |
| Root cause analysis (5 Whys) |
| Validate prediction batches |
Tool | Description |
| User preference profile |
| Update user settings |
| Team user management |
| Share learned skills |
| Sync memory across team |
Tool | Description |
| Create structured plans |
| Deep analysis mode |
| Comprehensive audit |
| Make tracked predictions |
| Learn from outcomes |
| Self-reflection on reasoning |
Tool | Description |
| Log testable hypotheses |
| Record hypothesis outcomes |
| Pre-register potential failures |
| Record failure outcomes |
| Search learned patterns |
Plus 7 MCP Resources (elite://profile, elite://anti_patterns, elite://decisions, elite://quality, elite://health, elite://goals, elite://benchmarks) for real-time dashboards.
⚙️ Configuration
Environment Variables
Variable | Default | Description |
|
| Where to store persistent memory |
|
|
|
|
|
|
| unset | Must be |
| unset | Must be |
| localhost only | Comma-separated approved sync hosts. |
| unset | Must be |
| unset | Must be |
| unset | Required with a sync API key before the optional hub can bind beyond localhost. |
| unset | Optional sync-hub JSON mapping of user IDs to distinct API keys for auditable multi-user attribution. |
|
| Server-side actor label for a single-user hub using |
| unset | Required with |
|
| Enable legacy monkey-patch interceptor |
| (built-in) | HTTPS Gemini endpoint; a non-Google host also requires |
The local profile is created with owner-only permissions at ~/.elite-reasoning/config.json; it is not read from the repository checkout and must never be committed. Neutral configuration and team-memory shapes are available in docs/examples/local-profile.example.json and docs/examples/team-memory.example.json. Keep credentials in process environment variables or an OS keychain, not in JSON.
Development Setup
# Clone the repo
git clone https://github.com/Snehgabani/elite-reasoning-mcp.git
cd elite-reasoning-mcp
# Install with dev dependencies
uv sync --extra dev
# Run the release gate used by CI
uv run python scripts/release_check.py
# Build package
uv build🧪 Testing
# Run all tests
ELITE_BRAIN_DIR=/tmp/elite-test uv run pytest tests/ -v --tb=short
# Run the full release gate: tests, lint, types, high-severity scan,
# package privacy/content inspection, wheel CLI, and MCP smoke
uv run python scripts/release_check.py
# Run with coverage
uv run pytest tests/ --cov=core --cov-report=htmlThe test suite covers:
✅ Persistent store (CRUD, FTS, graph, goals, benchmarks)
✅ Graph store (nodes, edges, temporal queries, hypotheses)
✅ Connection pooling and stale connection recovery
✅ FTS sanitization (injection prevention)
✅ Workflow flight recorder and MCP tool exposure
✅ stdio MCP protocol identity, structured output, and
isError=truefailures✅ privacy-safe telemetry, secret migration, approved sync, and memory quarantine
✅ ordered workflow evidence, prevention events, retry, fallback, and local monitoring
✅ Quality-gated memory quarantine
✅ Release doctor and eval harness exporters
🔐 Security & Trust
Elite Reasoning MCP is local-first by default: memory is stored under ELITE_BRAIN_DIR, telemetry stores metadata rather than prompt content, and external API access is opt-in through environment configuration.
The default profile does not expose network sync tools. In the explicit legacy profile, every sync request requires confirm=true, an allowlisted endpoint, redirect blocking, and environment grants for external or outbound traffic. The optional sync hub binds to localhost by default; external binding needs configured credentials and ELITE_SYNC_BIND_ALL_INTERFACES=1. For multi-user deployments, configure distinct credentials with SYNC_USER_KEYS_JSON; the hub derives contributor attribution from the credential and never trusts a caller-supplied user ID. Imported remote records are stored as low-trust quarantined memory until an operator explicitly approves them. External LLM judging is disabled unless both GEMINI_API_KEY and ELITE_SYNC_ENABLE_LLM_JUDGE=1 are set.
Public repository hardening includes:
SECURITY.mdwith supported versions, private vulnerability reporting, and memory/privacy boundariesDependabot for Python, GitHub Actions, and telemetry UI dependencies
CodeQL scanning for Python security issues
Dependency Review on pull requests
OpenSSF Scorecard visibility for supply-chain posture
Immutable GitHub Action and Docker image pins, with Dependabot update coverage
GitHub build provenance and PyPI digital attestations for release distributions
An allowlisted source distribution plus a release gate that rejects local profiles, generated UI output, databases, and credential-like files
A checksum-verified, read-only Gitleaks workflow that scans full Git history and the checked-out files with redacted findings
Release-gate evidence via
scripts/release_check.py
Security reports should use GitHub private vulnerability reporting, not public issues.
For the next tracking and monitoring layer, see the Elite Telemetry Roadmap.
🤝 Contributing
Contributions are welcome. Start with CONTRIBUTING.md, GOVERNANCE.md, and the security boundaries in SECURITY.md.
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Run the release gate (
uv run python scripts/release_check.py)Document MCP behavior, privacy impact, and validation evidence in your PR
Commit your changes (
git commit -m 'feat: add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Commit Convention
We use Conventional Commits:
feat:— New featuresfix:— Bug fixeschore:— Maintenancedocs:— Documentation
📄 License
MIT © Sneh Gabani
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnhances AI model capabilities with structured, retrieval-augmented thinking processes that enable dynamic thought chains, parallel exploration paths, and recursive refinement cycles for improved reasoning.Last updated124MIT
- Alicense-qualityFmaintenanceProvides 30+ unified reasoning operations including systematic thinking, mental models, debugging approaches, statistical analysis, interactive notebooks, and advanced problem-solving frameworks for enhanced decision-making and complex reasoning tasks.Last updated16352MIT
- Alicense-qualityDmaintenanceProvides a 'reflect' tool that creates cognitive checkpoints for AI assistants, forcing structured step-by-step reasoning through complex problems to improve accuracy and maintain context during task execution.Last updated216MIT
- Alicense-qualityCmaintenanceA tool-augmented LLM system for the full PDDL planning pipeline, improving reliability without domain-specific training.Last updated4MIT
Related MCP Connectors
33 tools that make AI write, implement, and verify intent against explicit, testable constraints.
Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Snehgabani/elite-reasoning-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server