research-mcp
Run federated multi-source research queries that fan out across web, Hacker News, Reddit, X, and demand signals, then cross-check and accumulate everything in a local corpus.
search_community — query HN, Reddit, and X simultaneously for lived experience, complaints, launch reception, hiring demand, with filters like min points/faves, dates, subreddits, and comment-body search.
search_web — query the consensus layer via Tavily for published claims, articles, and docs, with domain restrictions, exclusions, date bounds, and depth control.
read_discussion — pull the full Reddit comment thread (up to 25k comments) from a post URL or ID, no keyword search needed.
search_demand — surface freelance gigs with budgets/bids and GitHub repos with stars-per-month, showing where money and effort are already moving.
corpus_stats — inspect how much search history has accumulated by source class and date range, enabling longitudinal questions.
providers_status — see which sources are configured and live versus missing credentials.
The router itself provides concurrent fan-out, graceful degradation when a provider fails, round-robin interleaving of results, and corroboration tagging; all fetched results are stored permanently in a SQLite corpus.
Provides community search and discussion reading capabilities for Reddit, enabling sentiment analysis and complaint mining across subreddits.
Click on "Deploy 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., "@research-mcp Compare what HN and Reddit are saying about AI coding assistants this month."
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.
research-mcp
A local MCP server that gives Claude federated, multi-source research — for project ideas, job hunting, tech trends and market validation.
Why
On 2026-09-19, asked "what are the hottest markets right now," Claude came back with SEO content farms all repeating the same line: the AI wrapper era is over, 80% will fail. One structured data point contradicted the entire narrative — Cal AI: $40M ARR, bootstrapped, 7 employees, a calorie tracker. That number came from an ARR database, not an article.
The problem was never search quality. It was single-source dependency on the SEO layer, with nothing to cross-check against.
A good search doesn't rely on one source. Exhaustiveness comes from fan-out across source classes, dedup, and explicit disagreement detection — not from a better provider.
Related MCP server: genpark-deep-research-consensus-engine-skill
Design
Sources are grouped by what kind of truth they carry, not by brand. Every provider sits behind one interface and is swappable by config.
Class | Answers | Provider | Cost |
| what the web says | Tavily | 1,000 credits/mo free |
| what users actually say | HN Algolia, Reddit | free |
| what's hot right now | twitterapi.io | $0.15/1k tweets |
Swappability isn't theoretical: twitterapi.io can be shut down (SocialData.tools was), Tavily's free tier can change, Reddit can reject your OAuth app.
Claude (planner + synthesizer — already exists)
│ MCP
┌───────▼──────────────────────────────────┐
│ ROUTER │
│ fan-out · normalize · dedup │
│ round-robin interleave │
│ graceful degradation │
└───────┬──────────────────────────────────┘
┌────┴─────┬──────────┐
consensus community social
│
┌───────▼──────────────────────────────────┐
│ CORPUS (SQLite) — every result, forever │
└──────────────────────────────────────────┘Not a rebuild of GPT Researcher / open_deep_research. Their pattern is planner → parallel executors → synthesizer, and Claude already is that loop. What was missing is the retrieval layer underneath it.
Three behaviours the router guarantees:
concurrent — one slow source never serialises the pass
graceful — a dead or unconfigured provider is recorded and skipped, never fatal
interleaved — results round-robin across providers, so no single source owns the top of the list (engagement scores aren't comparable across platforms anyway; an HN 500 and a Reddit 500 mean different things)
Items surfacing from two sources are tagged corroborated_by — the seed of
real cross-checking.
The corpus
Write-through, never a cache: results are always fetched live, the corpus only records what was seen and when. Two payoffs — longitudinal questions ("what changed since March") become a single join, and anything already pulled stays yours if a provider disappears.
Tools
Tool | Use it for |
| complaints, lived experience, launch reception, hiring demand |
| published claims, articles, docs — the consensus layer |
| the full comment thread under one Reddit post |
| where money already moves: freelance gigs (budget, bids) and GitHub repos |
| how much history has accumulated |
| which sources are live vs missing credentials |
Setup
uv sync
cp .env.example .env # fill in what you have; HN needs nothingRegister with Claude Code:
claude mcp add research -s user -- uv --directory ~/research-mcp run research-mcpDebug standalone:
npx @modelcontextprotocol/inspector uv --directory ~/research-mcp run research-mcpCredentials
HN — none. Works immediately.
Tavily — free key at app.tavily.com, no card. Advanced depth costs more than one credit, so a fanned-out pass burns the tier faster than the headline 1,000 suggests: budget ~20–30 real research tasks/month.
Reddit — via Arctic Shift (the Pushshift successor): free, unauthenticated, 2005→present, no key and no approval.
The official API is closed: self-service app creation returns a link to the Responsible Builder Policy instead of credentials, unauthenticated
.jsonendpoints 403, and approval is a ticket that reportedly skews against small projects.Web search is not a substitute. Reddit's robots.txt blocks every crawler except Google's ($60M licensing deal), so Bing, DuckDuckGo and the AI search APIs built on them see nothing. Tavily scoped to
reddit.comreturns subreddit landing pages regardless of query — verified 2026-09-19.Browse, don't search. A plain listing returns 100 posts in ~1s; one server-side keyword search over the same subreddit takes 8-18s and trips the throttle. So with a date window the provider pages listings and matches locally: 19 days of r/hyrox in 8.5s. It is also more complete — browsing covers every post in the window, where search returns only what ranks, and "what do people complain about" is a question about the whole window. The archive is near-real-time: newest post observed 1.2h old.
⚠ Slow and heavily throttled on the full-text path. Measured, not from the docs: the published "~2 req/s" trips a 429 immediately and leaves the endpoint answering 422 for a while after. One keyword search takes 8–18s including retries, and a second straight after is refused. It sustains roughly one search per 30–60s. So Reddit cannot join interactive fan-out — the provider caps itself at one request per call and reports what it did not search.
No global full-text search: keyword params require a subreddit scope. Costs nothing here, since complaint mining is always "what does r/running say".
read_discussionpulls a full thread (up to 25k comments) in ONE request — the highest-signal call, since first-person complaints are replies, not thread titles. Prefer it overinclude_comments, which searches comment bodies on the slow throttled path and returns fragments without context.
X — the official API has no free tier ($0.005/read, 7-day search window; full archive is Enterprise at $42K+/mo). twitterapi.io gives the full archive with no gate.
Cost is a rounding error. 100,000 credits = $1, 15 credits per tweet (min 15/call). Billing is per PAGE: ~20 tweets ≈ 300 credits ≈ $0.003. $1 ≈ 6,600 tweets.
limitonly trims what Claude is shown — everything fetched is stored — somin_favesis a result-quality lever, not a budget one.QPS is the real limit. A never-paid account is capped at 0.2 QPS (one request per five seconds), which throttles concurrent fan-out long before credits run out. Any paid top-up lifts it to 3 QPS permanently. The pricing table lists Free at 3/s — that's the past-customer rate.
Don't subscribe. Starter at $29/mo delivers ~208k tweets/month against a need of a few thousand. Pay-as-you-go $5 ≈ 33k tweets and flips the QPS tier for good.
⚠ Legally split: hiQ v. LinkedIn means scraping public data isn't a CFAA violation, but it does breach X's ToS — fine for personal tooling, revisit entirely if this ever ships to users. Providers in this category do get shut down (SocialData.tools), hence the swappable interface and the corpus.
Tracing (optional)
Set LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY (plus LANGFUSE_BASE_URL
for a self-hosted instance) and every tool call becomes a Langfuse trace, with
one retriever observation per provider query:
search_community {"question": "bank reconciliation pain", "platforms": ["hn","reddit"]}
├ hn DEFAULT {"count": 2, "top": ["Launch HN: Decentro ...", ...]}
└ reddit ERROR ProviderError: no global full-text search: pass subredditsThat answers what the corpus can't: which source was slow, failed or came back empty for a given question. A pass that silently lost a whole source class looks like thin evidence in the reply; in the trace it is a red row. Empty results are logged at WARNING, failures at ERROR. Only summaries are sent (counts, top titles); full rows stay in the local corpus. Without the keys, tracing is a no-op.
Status
v0.1 — search_community (HN + Reddit + X), search_web (Tavily), corpus.
Deliberately three tools, not six.
Next: Exa semantic search · lookup_facts (GitHub velocity, ARR, app-store
reviews) · UNCORROBORATED flagging across classes · fetch with clean extraction.
Available Tools
6 toolscorpus_statsA
Report what the local research corpus has accumulated: how many results and searches are stored, the spread across source classes, and the date range covered. Use it to check whether a longitudinal question ("what changed since March") has enough history behind it to be answerable.
Inputs: no named parameters. Returns: object
providers_statusA
List every configured source, its class, and whether credentials are present. Call this when results look thin -- a missing key means a whole source class is silently absent from every search.
Inputs: no named parameters. Returns: object
read_discussionA
Read the FULL comment thread under one Reddit post.
This is the highest-signal call for complaint mining, and the natural follow-up to search_community. Posts are the question; comments are the answer. A thread titled "non stop injuries from training" carries dozens of first-person accounts -- what the injury was, what plan caused it, what people did instead -- none of which keyword search surfaces individually, because each one is a reply, not a title.
One request, up to 25k comments, no keyword matching involved. Prefer this over include_comments: searching comment bodies is the slow throttled path and returns fragments without the thread context that makes them readable.
Args: post_url_or_id: a reddit.com/r/.../comments//... URL, or the bare id. limit: max comments to retrieve.
Inputs: post_url_or_id (required), limit. Returns: object
search_communityA
Search what real people said, in their own words, across Hacker News, Reddit and X simultaneously.
Use this for: complaints and pain points about a product or workflow, how practitioners actually do something, reception of a launch, hiring demand (HN "Who is hiring"), and whether a trend has real users behind it or only press coverage.
Prefer this over search_web whenever the question is about lived experience rather than published claims. Web search returns the pages that RANK; this returns what was actually posted, comments included.
Args: question: plain-language question or keywords. platforms: subset of ["hn", "reddit", "x"]. Default: all configured. subreddits: REQUIRED for Reddit -- the archive has no global full-text search, only within a subreddit. Reddit is skipped with a clear reason if omitted. ⚠ Pass ONE subreddit per call. The archive is a free service that sustains roughly one search per 30-60s; a call naming several subreddits searches only the first and says so. To cover r/running, r/hyrox and r/Garmin, make three separate calls and expect each to take 10-20s. Batching them returns nothing. since/until: "YYYY-MM-DD" bounds. min_points: HN score floor -- use ~50 to cut noise on broad topics. min_faves: X like floor. Worth setting: X bills per page whether the tweets are useful or not, so filtering junk up front is the main lever on cost. ~10 for niche topics, ~100 for busy ones. sort: "top" (default) ranks X by engagement and skews OLD -- a Top search can return results 1-2 years back. "latest" returns today's posts, but they have near-zero likes because nothing has had time to vote, so min_faves must be dropped when using it. Use "top" for "what is the strongest signal", "latest" for "what is happening right now". include_comments: also search reply bodies, not just posts/stories. Slower and noisier, but where complaints actually live -- the first-person "this plan wrecked my knee" account is a reply, not a thread title. limit: how many results to SHOW per provider. Everything retrieved is stored in the corpus regardless -- this only trims the reply.
Inputs: question (required), sort, limit, since, +6 more. Returns: object
search_demandA
Find where money and effort are ALREADY moving on a problem.
This is the structured-evidence layer, and the strongest one for judging a business idea. Two sources, two different proofs:
Freelance gigs (Freelancer.com): somebody is paying a human, repeatedly, to do something by hand. Each result carries a budget and a bid count, so it answers "do they pay" and "how much" without asking anyone. The same job posted over and over is a product waiting to exist.
GitHub: an engineer scratching their own itch in public is a workaround artifact, and stars are other people saying "me too".
stars_per_monthmatters more than total stars -- a 200-star repo from 2019 is history, the same from last month is a live unmet need.
Use this BEFORE search_web on any business question. Published articles describe markets; this shows transactions. Pair with search_community for the complaint in users' own words.
Args: question: the problem or domain, in keywords. since: "YYYY-MM-DD" — for GitHub this filters repo CREATION date. min_bids: ignore gigs below this many bidders (weak demand). min_stars: ignore repos below this star count. limit: results per source.
Inputs: question (required), limit, since, min_bids, +1 more. Returns: object
search_webA
Search the general web for published claims, articles and documentation.
This is the CONSENSUS layer: it tells you what the web says, which is not the same as what is true. SEO content farms dominate commercial topics and repeat each other, so a unanimous answer here is weak evidence. Corroborate anything load-bearing with search_community or a structured source.
Args: question: the research question. queries: explicit query variants to fan out over. Supply several when the question is broad -- one phrasing returns one slice of the web. domains / exclude_domains: restrict or suppress sources. since: "YYYY-MM-DD". depth: "basic" (1 credit) or "advanced" (costs more, use sparingly).
Inputs: question (required), depth, limit, since, +3 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct evidence layer: search_community covers lived experience, search_web covers published claims, search_demand covers transactions and workarounds, and read_discussion is an explicit follow-up for thread-level depth. The meta tools (corpus_stats, providers_status) are clearly separated from search operations, so there is no real ambiguity.
The search_* tools are consistently named with a clear verb_noun pattern, and read_discussion follows suit. corpus_stats and providers_status are descriptive and readable but don't follow the verb-first pattern, creating a minor stylistic inconsistency rather than confusion.
Six tools is a well-scoped size for a research assistant. Each tool earns its place: three distinct search layers, one deep-dive reader, and two diagnostic/infrastructure tools that support the search workflow without bloating the surface.
The set covers the core research loop well: finding lived-experience evidence, published claims, demand signals, reading full Reddit threads, checking corpus depth, and diagnosing provider issues. The main gaps are lack of direct arbitrary URL/content fetching and no obvious way to query the accumulated corpus itself beyond stats.
Maintenance
Related MCP Connectors
Multi-engine scholarly research server for search, traversal, full text, and reading lists.
Search research and community sources. Queries logged for research; optional purpose. No secrets.
Cross-source search across 18 real-time data sources, source-cited and corroboration-checked.
Live web research with related queries, browser-rendered sources, images, and evidence.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP-native research assistant — search backend, intent-routing, and writing pipeline that carries a question through search, verification, and writing, delivering whatever research you need: quick answers, verified sources, or a finished document.7375 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents and MCP clients to run deterministic deep research consensus arbitration by parsing queries, evaluating source authority and contradictions, and returning structured JSON dossiers and telemetry.8-
- AlicenseAqualityBmaintenanceEnables federated search across open-access scientific literature, legal full-text retrieval with provenance, and full-text search over papers already stored locally.141MIT
- AlicenseAqualityCmaintenanceEnables configuration-driven, budgeted multi-source web research across platform and web search adapters, merging duplicate links, preserving provenance, and returning honest source coverage reports.4MIT