RAG vs MCP — expert walkthrough
Authority 82%· highMCP is a protocol for tool context, while RAG retrieves documents at answer time. trace id visible in LangSmith retrieve span; faithfulness=0.82.
- Source type:
- youtube_expert
- Cluster:
- mcp-agents
Production API v1
Authenticate with Authorization: Bearer <api_key> or x-api-key. Base URL: https://www.youtubetimesearch.com/api/v1
| Tier | Requests / month |
|---|---|
| free | 100 |
| pro | 5,000 |
| team | 50,000 |
| enterprise | 500,000 |
Enterprise limits are configurable per key. Responses include x-quota-limit, x-quota-used, x-quota-remaining. HTTP 429 when exceeded.
npm run api:create-key -- --label "My app" --tier free npm run api:list-keys npm run api:revoke-key -- --id key_xxx
GET /api/v1/transcript
Fetch cached or live YouTube transcript segments for a video.
videoId (required) or url; maxSegments optional
curl -s -H "Authorization: Bearer YOUR_API_KEY" \ "https://www.youtubetimesearch.com/api/v1/transcript?videoId=dQw4w9WgXcQ"
const res = await fetch(
`https://www.youtubetimesearch.com/api/v1/transcript?videoId=dQw4w9WgXcQ`,
{ headers: { Authorization: `Bearer ${apiKey}` } }
);
const data = await res.json();import requests
r = requests.get(
"https://www.youtubetimesearch.com/api/v1/transcript",
params={"videoId": "dQw4w9WgXcQ"},
headers={"Authorization": f"Bearer {api_key}"},
)
print(r.json())GET /api/v1/search
Semantic + keyword search across indexed expert transcript moments.
q (required), limit (default 10, max 50)
curl -s -H "x-api-key: YOUR_API_KEY" \ "https://www.youtubetimesearch.com/api/v1/search?q=rag+vs+mcp&limit=5"
const res = await fetch(
`https://www.youtubetimesearch.com/api/v1/search?q=${encodeURIComponent("rag vs mcp")}&limit=5`,
{ headers: { "x-api-key": apiKey } }
);requests.get("https://www.youtubetimesearch.com/api/v1/search", params={"q": "rag vs mcp", "limit": 5}, headers={"x-api-key": api_key})POST /api/v1/answer
Authority-ranked answer with timestamped source moment and supporting clips.
JSON body: { q, limit? } — GET also supported with ?q=
curl -s -X POST -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"q":"rag vs mcp","limit":8}' \
"https://www.youtubetimesearch.com/api/v1/answer"await fetch(`https://www.youtubetimesearch.com/api/v1/answer`, {
method: "POST",
headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
body: JSON.stringify({ q: "rag vs mcp", limit: 8 }),
});requests.post("https://www.youtubetimesearch.com/api/v1/answer", json={"q": "rag vs mcp"}, headers={"Authorization": f"Bearer {api_key}"})Trust product layer for rag vs mcp — cluster mcp-agents
Why this answer won
Tier-1 expert moment (Anthropic) paired with hard doc citations; fusion=rrf and top_k=20 in operational excerpt.
Configs used
corpus · confidence 43%
Benchmark evidence
faithfulness=0.82
observed in cited evidence
Sam Witteveen
Failure fixes
No incident remediation path in cited evidence.
Expert video corroboration
Building with MCP and Claude API — tool invocation
Sam Witteveen
https://www.youtube.com/watch?v=aZLr962R6Ag&t=638Contradictory evidence
No contradictory expert framing detected.
Trace lineage
queryretrieval.request
hybrid_search
rag vs mcp
retrieve_hit_1retrieval.candidate
Sam Witteveen
12:34 · score 0.82
synthesisanswer.operational_gate
mcp_tool_orchestration
passed
Citation quality (primary)
MCP is a protocol for tool context, while RAG retrieves documents at answer time. trace id visible in LangSmith retrieve span; faithfulness=0.82.
Authority 82% · high confidence
Winning evidence
Rejected evidence
Operational checklist
Uncertainty