Qai Consultant logo
Health: ActiveRecent health check succeeded.Last checked 8/8/2026, 11:36:47 PM

Qai Consultant

gvasile29
View Repository4

Keyless local MCP server bringing ISTQB / OWASP / IEEE / ISO / EU AI Act QA standards into your AI client: standards-grounded retrieval, deterministic QA effort estimation, and automated QA document quality review (0-100 rubric) plus JUnit/CSV test-results flakiness analysis. uvx qai-consultant-mcp

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Install Config Generator

claude_desktop_config.json
{
  "mcpServers": {
    "gvasile29-qai-consultant": {
      "command": "uvx",
      "args": [
        "qai-consultant-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Documentation Overview

QAI Consultant

QAI Consultant

An open-source AI agent that acts as a senior QA Architect โ€” automatically generating a Test Strategy, Risk Register, Effort Estimation Report, and Test Plan from a simple project description, plus deterministic QA Document Quality Review and Test Results Analysis for evaluating what already exists. Also available as an MCP server so Claude Code, Claude Desktop, and claude.ai can ground their own QA work in the same standards and numbers.

๐ŸŒ Live demo: quality-ai-consultant.streamlit.app

๐Ÿ”Œ New: QAI Consultant is now also an MCP server โ€” uvx qai-consultant-mcp. No API keys, no Pinecone. See MCP Server below or the package on PyPI.

๐Ÿค– Built with Claude Code by Anthropic.

CI License Python Version PyPI Built with Claude


Screenshots

Web UI (Streamlit)

Streamlit Intro Streamlit MCP announcement in sidebar Streamlit Project Discovery dialogue Streamlit Risk Register Streamlit Effort Estimation Streamlit Test Strategy Streamlit Test Plan

CLI

CLI Banner CLI Project Discovery dialogue


Quick Start

Option A โ€” Use the live app (no setup)

๐Ÿ‘‰ quality-ai-consultant.streamlit.app

Option B โ€” Run locally

bash
# 1. Clone and install
git clone https://github.com/gvasile29/qai-consultant.git
cd qai-consultant
pip install -r requirements.txt

# 2. Set up API keys
cp .env.example .env
# Edit .env and fill in the 4 keys (see Prerequisites below)

# 3. Build the knowledge base (one-time, pushes to Pinecone)
python src/ingest.py

# 4. Run
python src/cli.py            # Terminal UI
streamlit run src/app.py     # Web UI โ†’ http://localhost:8501

๐Ÿ“– Full installation guide: INSTALL.md


The Problem

Creating a Test Strategy from scratch is time-consuming and requires deep QA expertise. Most teams either skip it, do it superficially, or spend days researching methodologies.

QAI Consultant eliminates this bottleneck by combining established QA methodologies, industry standards (ISTQB, OWASP, ISO 26262, A-SPICE), and expert knowledge into an AI agent that thinks like a seasoned QA Architect.


Who Is This For?

  • QA Engineers who need structured guidance on test strategy
  • Engineering Managers who need effort estimations and resource planning
  • Development teams without a dedicated QA Architect
  • QA Consultants who want to accelerate their delivery

What QAI Consultant Generates

From a single 11-question dialogue, QAI Consultant automatically generates four documents:

DocumentWhat it contains
โš ๏ธ Risk RegisterRisk matrix, likelihood/impact analysis, mitigations per risk
๐Ÿ“Š Effort Estimation ReportPERT-based breakdown, team capacity analysis, confidence score
๐Ÿ“‹ Test StrategyISTQB-aligned strategy tailored to your stack, methodology, and compliance
๐Ÿ“ Test PlanIEEE 829-aligned plan with entry/exit criteria, schedule, and AI tool oversight

All outputs are saved as Markdown files and available for PDF download.


Knowledge Base

QAI Consultant's recommendations are grounded in real QA standards and methodologies:

  • ๐Ÿ“˜ ISTQB โ€” 14 certification syllabuses (CTFL, CTAL-TA, CTAL-TM, CTAL-TAE, CT-AI, and more)
  • ๐Ÿ”’ OWASP โ€” WSTG v4.2, MASTG, Top 10 2021
  • ๐Ÿš— ISO 26262 โ€” Automotive functional safety (ASIL levels, HARA, V&V)
  • ๐Ÿญ A-SPICE โ€” Automotive SPICE process reference model (SWE.4, SWE.5, SWE.6)
  • ๐Ÿ“‹ IEEE 829 โ€” Test documentation standard
  • โš™๏ธ ISO/IEC 25010 โ€” Software product quality model
  • ๐Ÿค– AI Test Planning โ€” 17 real-world AI SDLC case studies (2024โ€“2025)
  • ๐Ÿง  Expert Knowledge โ€” Real QA scenarios and lessons learned from practitioners

Prerequisites

QAI Consultant v2.0 runs on cloud APIs โ€” no local GPU or Ollama required.

You need four API keys in a .env file (all have free tiers):

KeyWhere to get it
MISTRAL_API_KEYconsole.mistral.ai โ†’ API Keys
OPENROUTER_API_KEYopenrouter.ai/keys
PINECONE_API_KEYpinecone.io โ†’ API Keys
PINECONE_INDEX_NAMEName of your Pinecone index (e.g. qai-consultant, dimensions: 384, metric: cosine)
bash
cp .env.example .env
# Edit .env and fill in all four values

Architecture

QAI Consultant Architecture

How It Works

Code
You describe your project (11 questions)
        โ†“
QAI retrieves relevant knowledge from Pinecone (parallel RAG, 3 threads)
        โ†“
QAI analyzes risks from your context โ†’ Risk Register (Mistral API)
        โ†“
QAI estimates effort using PERT + industry benchmarks โ†’ Effort Report
        โ†“
QAI generates a Test Strategy backed by QA standards โ†’ Test Strategy (Mistral API)
        โ†“
QAI generates an IEEE 829-aligned Test Plan โ†’ Test Plan (Mistral API)
        โ†“
Four documents ready for Markdown + PDF download

LLM calls use Mistral API as the primary provider, with OpenRouter as automatic fallback.


Interfaces

Web UI (Browser โ€” recommended)

bash
streamlit run src/app.py

Or use the live hosted version: quality-ai-consultant.streamlit.app

CLI (Terminal)

bash
python src/cli.py

MCP Server (for Claude Code, Claude Desktop, claude.ai)

qai-consultant MCP server qai-consultant MCP server MCP Registry Awesome MCP Servers

Listed on the official MCP registry (io.github.gvasile29/qai-consultant-mcp), Glama, and Awesome MCP Servers.

QAI Consultant is also available as a local, fully keyless MCP server โ€” qai-consultant-mcp. No Pinecone, no Mistral/OpenRouter API keys: it runs a local embedding index over the same knowledge base and exposes deterministic QA effort estimation, so your own AI coding assistant can ground its QA planning directly, no separate LLM call needed.

qai-consultant-mcp answering a retrieve_qa_knowledge call in MCP Inspector

bash
uvx qai-consultant-mcp

Claude Code:

Terminal
claude mcp add qai-consultant -- uvx qai-consultant-mcp

Claude Desktop (claude_desktop_config.json):

config.json
{
  "mcpServers": {
    "qai-consultant": {
      "command": "uvx",
      "args": ["qai-consultant-mcp"]
    }
  }
}

Tools:

ToolWhat it does
retrieve_qa_knowledgeGrounding chunks from the KB (ISTQB, OWASP, IEEE, ISO, EU AI Act), filterable by category
list_kb_sourcesEvery document in the KB, grouped by category
estimate_qa_effortDeterministic PERT-based effort estimate (no LLM narrative โ€” you write your own from the numbers)
review_qa_documentDeterministic 0โ€“100 quality score for an existing Test Plan/Strategy/test case list across six ISTQB/IEEE-829 dimensions, with findings + KB citations
analyze_test_resultsDeterministic health metrics from JUnit XML/CSV test execution data โ€” flaky tests, ever-failing tests, slowest tests, failure clustering

Prompts: qa_project_interview (the same 11-question intake this app uses), risk_register_structure, test_strategy_structure, test_plan_structure โ€” each grounds the client's generation in retrieve_qa_knowledge with [Source N] citations.

Privacy: usage telemetry is off by default. Set QAI_TELEMETRY=1 to opt in; even then, only tool name/success/duration/category and an anonymous install ID are sent โ€” never your query text or project details.


Feedback Loop

After each generation, QAI asks: "Was this strategy useful?"

  • Yes โ†’ strategy saved to knowledge_base/generated_strategies/ and included in the next re-ingestion
  • Partially โ†’ strategy saved with your improvement notes
  • No โ†’ discarded

This creates a feedback loop where QAI learns from validated real-world outputs over time.


Roadmap

  • v0.1 โœ… Core agent + CLI + Streamlit Web UI
  • v0.2 โœ… Feedback loop โ€” validated strategies grow the knowledge base
  • v0.3 โœ… Risk Register โ€” automatic risk analysis alongside Test Strategy
  • v0.4 โœ… Effort Estimation Report โ€” PERT-based with team capacity analysis
  • v0.5 โœ… Auto re-ingest โ€” file watcher + incremental ingest + manifest tracking
  • v0.6 โœ… Confidence level algorithm โ€” score-based (0-100): PERT spread + capacity gap + data quality + multiplier magnitude
  • v1.0 โœ… MVP โ€” error handling, input validation, logging, full documentation, tests, Apache 2.0 license
  • v2.0 โœ… Cloud migration โ€” Ollama โ†’ Mistral API + OpenRouter fallback; ChromaDB โ†’ Pinecone; deployed to Streamlit Cloud
  • v2.0.1 โœ… Stability โ€” 27 bugs fixed: PERT normalization, template application, PDF caching, session state, filename sanitization, RAG fallback, per-step exception isolation
  • v2.0.2 โœ… Stability โ€” release-gate evals (estimate integrity + RAG metrics), 5 estimation/validation defects fixed, session-state crash fix, narrative duplication/truncation fixes, per-step generation isolation from LLM outages
  • v2.5.0 โœ… In-app Release Notes โ€” sidebar panel + one-time "what's new" banner
  • v2.5.1 โœ… Knowledge base โ€” new evaluation_audit/ pillar: process/test maturity models, audit methodology, security/compliance audit, real public failure case studies
  • v2.5.2 โœ… EU AI Act Article 50 transparency patch โ€” sidebar AI-interaction notice + visible "AI-generated content" label on every generated document
  • v2.6.0 โœ… EU AI Act knowledge base pillar โ€” risk tiers, provider/deployer obligations, Article 50 transparency, Articles 9-15 testing implications, conformity assessment, timeline
  • v3.0.0 โœ… MCP server MVP โ€” local, keyless qai-consultant-mcp (standards-grounded retrieval + deterministic effort estimation), in-app announcement, and machine-readable AI-generated marking (EU AI Act Article 50(2))
  • v3.1.0 โœ… Evaluation Package โ€” QA Document Quality Review (deterministic ISTQB/IEEE-829 rubric scoring an existing Test Plan/Strategy/test case list, with an optional AI narrative) and Test Results Analysis (flaky/ever-failing/slowest/failure-clustering metrics from JUnit XML/CSV, grounding the Risk Register in real execution data); available in the web app, CLI (--review, --results), and the MCP server (review_qa_document, analyze_test_results)
  • v3.1.1 โœ… Visit counter โ€” a running total of app visits now shows in the sidebar, persisted in Pinecone so it survives redeploys
  • v3.1.2 โœ… Fix โ€” the 3.1.1 visit counter never actually incremented (Pinecone rejected its all-zero placeholder vector); now works correctly
  • v3.1.3 โœ… Fix โ€” the visit counter's label was in Romanian ("vizite") instead of English; now reads "visits" to match the rest of the app's UI copy
  • v3.1.4 โœ… Added the mcp-name marker to README_MCP.md (PyPI long description) โ€” a prerequisite for listing qai-consultant-mcp in the official Anthropic MCP registry; no functional change
  • v3.1.5 โœ… Fix โ€” qai-consultant-mcp failed to start (ModuleNotFoundError: mcp.server.fastmcp) after the upstream mcp SDK's breaking 2.0.0 release removed the FastMCP module the server depends on; mcp is now pinned to >=1.8.0,<2.0.0
  • v3.1.6 โœ… Fix โ€” qai-consultant-mcp could fail to attach in Claude Desktop on a cold cache (a client-side handshake timeout, since the server used to fully embed the whole knowledge base before responding to initialize); the full index build is now lazy, deferred until the first real request
  • v3.2 โœ… CI quality gates completion โ€” a separate, always-green-by-construction nightly workflow exercising real Pinecone/Mistral/OpenRouter contract tests, isolated from the blocking PR checks
  • v3.3 โœ… Adopted the EU's official AI-generated-content icon (Code of Practice, AI Act Article 50(4)) in the Streamlit sidebar and all generated-document PDF exports, reinforcing the existing text/metadata disclosure
  • v3.3.1 โœ… Fix โ€” qai-consultant-mcp could intermittently fail to attach in Claude Desktop because 4 of its 6 runtime dependencies had loose version bounds, letting uv re-resolve and reinstall on any unrelated upstream release; all dependencies are now exact-pinned
  • v3.4 โœ… App visual redesign ("Calibration Bench") โ€” token-based color/typography system (IBM Plex fonts, no font CDN) and a reusable "Signal Ledger" score/severity component, applied to Document Review, Effort confidence, Results Analysis, Risk Register, and the Project Discovery question list
  • v3.4.1 โœ… Distribution links (official MCP registry, Glama, Awesome MCP Servers) now shown in the app's own MCP panel, not just the READMEs; landing page redesign started (Phase 1 of 3 โ€” see the CHANGELOG)
  • v4.0 Remote MCP + distribution โ€” hosted server connectable from claude.ai, registry submissions

Contributing

QAI Consultant is built by the QA community, for the QA community.

Contributions are welcome:

  • ๐Ÿ“š Add new knowledge sources to knowledge_base/
  • ๐Ÿง  Share expert knowledge using the prompts in knowledge_base/expert_knowledge/
  • ๐Ÿ› Report bugs or suggest features via GitHub Issues
  • ๐Ÿ”ง Submit pull requests

See CONTRIBUTING.md for detailed guidelines.


Troubleshooting

ProblemSolution
"Missing required secret: 'MISTRAL_API_KEY'"Add your key to .env or Streamlit Cloud secrets
"Missing required secret: 'PINECONE_API_KEY'"Add your Pinecone key to .env
"Knowledge base is empty"Run python src/ingest.py to push documents to Pinecone
"Both Mistral API and OpenRouter are unavailable"Check API keys are valid and have credits

๐Ÿ“– Full troubleshooting guide: INSTALL.md

Related MCP Servers

View all alternatives

Frequently Asked Questions about Qai Consultant

How do I install the gvasile29/qai-consultant MCP server?

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "qai-consultant": { "command": "npx", "args": ["-y", "gvasile29/qai-consultant"] } }

What does gvasile29/qai-consultant do?

Keyless local MCP server bringing ISTQB / OWASP / IEEE / ISO / EU AI Act QA standards into your AI client: standards-grounded retrieval, deterministic QA effort estimation, and automated QA document quality review (0-100 rubric) plus JUnit/CSV test-results flakiness analysis. uvx qai-consultant-mcp

Is the gvasile29/qai-consultant MCP server free to use?

Yes. gvasile29/qai-consultant is listed on AllMCPs as a free, open Model Context Protocol server you can install into Claude Desktop, Cursor, or any MCP-compatible client.

Technical Specs & Signals

More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
Views0
Installs0
GitHub stars4
44Quality signal: Fair ยท 44/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools23/30
Adoption2/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge โ€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.