Gq Insight
БесплатноНе проверенEnables semantic search and grounded answering over customer-research interviews, with every answer traceable to source quotes.
Описание
Enables semantic search and grounded answering over customer-research interviews, with every answer traceable to source quotes.
README
Semantic search and grounded answering over customer-research interviews, exposed as an MCP server, with a built-in evaluation harness.
Customer interviews pile up faster than anyone can read them. The insights are in there; getting an answer out usually means a manual export-and-skim. gq-insight turns a pile of interview transcripts into something an LLM agent can query directly: ask a question, get back the actual quotes that answer it, each one traceable to an interview, a timestamp, and a speaker.
The guiding rule: an answer may only assert what a retrieved quote supports, every claim carries a citation, and an answer that cannot be grounded is refused, not fabricated. Research tooling is only useful if every answer is traceable to source.
Demo
A narrated walkthrough: semantic search, a grounded cited answer, and the live eval scorecard. (watch on YouTube)
What it does
$ gq-insight search "why do customers churn?"
1. [INT006 @ 00:42 (P-6675)] score=0.3856
"The automation rules. I built a rule engine that auto-categorizes ..."
2. [INT005 @ 07:40 (P-5093)] score=0.3801
"The automation rules were genuinely good, and switching cost me three weeks ..."
$ gq-insight answer "what blocks the enterprise rollout?"
"SSO. We mandate SAML single sign-on for anything that touches employee data ..." [INT008 @ 00:45] ...
faithful: True (every claim cites a real quote)
$ gq-insight eval
recall@k 0.900 · MRR 0.790 · nDCG@k 0.837 · faithfulness 1.000 · ALL GATES PASS
Three capabilities, each an MCP tool an agent can call:
- Semantic search over interview transcripts, returning verbatim cited quotes.
- Grounded answering: a question in, a cited answer out, with every claim verified against a retrieved quote before it is returned.
- A live eval harness: retrieval and answer quality scored on a labeled set and gated in CI, so the tools are measurable, not vibes.
How it works
data/transcripts/*.txt 8 customer interviews, parsed into citable speaker turns
│
corpus.py turn = (interview, timestamp, speaker, text) -> the citation unit
│
index.py all-MiniLM-L6-v2 embeddings, cosine retrieval
│ (interviewer turns indexed for context, excluded from results)
├── answer.py quote-grounded answers; faithfulness verified before return
│ extractive (offline) or Ollama synthesis (verified, with fallback)
└── eval.py recall@k / MRR / nDCG@k / faithfulness vs evals/queries.jsonl
│
server.py FastMCP server: search_interviews, answer_with_citations,
list_themes, run_eval
The corpus here is 8 interviews; the retrieval contract is unchanged when you swap the exact cosine search for an approximate index (FAISS/HNSW) at tens of thousands of hours.
Quickstart
pip install -e .
gq-insight themes # list the corpus
gq-insight search "mobile receipt capture problems"
gq-insight answer "why did customers leave?" # add --backend ollama for local-LLM synthesis
gq-insight eval # quality scorecard + CI gates
pytest -q # 14 tests
Embeddings run on CPU from a small cached model; no API keys, fully offline.
As an MCP server
gq-insight-server # stdio transport
Register it with any MCP client (Claude Desktop, an agent runtime) to give the agent
search_interviews, answer_with_citations, list_themes, and run_eval tools.
Evaluation
On a 10-query labeled set (evals/queries.jsonl), all-MiniLM-L6-v2, k=6:
| metric | value | what it means |
|---|---|---|
| hit@k | 1.00 | every query surfaces a relevant interview in top-k |
| recall@k | 0.90 | fraction of relevant interviews retrieved |
| MRR | 0.79 | mean reciprocal rank of the first relevant hit |
| nDCG@k | 0.84 | rank-quality of the retrieved set |
| faithfulness | 1.00 | fraction of answers with every claim grounded in a real quote |
Two queries (onboarding, integrations) rank the right interview 4th-5th rather than 1st: a real limitation of a small embedder on abstract queries over concrete transcript language. They are kept in the set so the gate stays honest. CI gates are conservative floors (recall ≥ 0.80, MRR ≥ 0.70, faithfulness = 1.00), set below measured performance so the gate catches regressions without being gamed.
Note on the data
The interviews are synthetic but realistic, written for a fictional expense/invoicing product ("Northwind") so the recurring research themes (onboarding friction, pricing surprises, integration gaps, churn drivers, support, security) give retrieval real signal. No real customer data.
License
MIT, Yusuf Guenena
Установка Gq Insight
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/yusufdxb/gq-insight-mcpFAQ
Gq Insight MCP бесплатный?
Да, Gq Insight MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Gq Insight?
Нет, Gq Insight работает без API-ключей и переменных окружения.
Gq Insight — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Gq Insight в Claude Desktop, Claude Code или Cursor?
Открой Gq Insight на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Gq Insight with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
