Reddit & Hacker News Pain Point MCP
by openanysi
README.md
# Reddit & Hacker News Pain Point MCP
Find customer pain points, feature requests, and workarounds in Reddit and Hacker News discussions, then build a sourced opportunity brief with your AI agent. Powered by [OpenAny](https://openany.si/).
[](LICENSE)
[](https://nodejs.org/)
## Quick Start
### Prerequisites
- Node.js 22 or later and an MCP client supporting local stdio servers.
- An OpenAny API key for data tools: create one in [API Keys](https://openany.si/dashboard/?page=api-keys), or follow the [setup guide](https://openany.si/setup.md). Review [usage and costs](https://openany.si/dashboard/?page=usage) in your account.
### Configure your client
Use this `mcpServers` configuration in clients such as Claude Desktop, Cursor, or Windsurf. Replace the placeholder in your private settings:
```json
{
"mcpServers": {
"reddit-hn-painpoint-mcp": {
"command": "npx",
"args": ["-y", "@openanysi/reddit-hn-painpoint-mcp"],
"env": {
"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
}
}
}
}
```
You can supply the key through your client's secret manager or inherited environment. For utility-only use, omit `env`. Keep real keys out of chat and repositories.
Restart or refresh your client, then try:
- **Without an API key:** “Inspect `search_reddit_posts` with `get_tool_info`, then load `painpoint_discovery` using `get_workflow` with `language: "en"`.”
- **With an API key:** “Research problems with SaaS onboarding in Reddit and Hacker News. Read a few relevant discussions and summarize the evidence, workarounds, and unanswered questions.”
## Features / Use Cases
| Task | Data and guidance | Your agent's deliverable |
| --- | --- | --- |
| Discover customer problems | Keyword searches across Reddit and Hacker News | Relevant discussions with source links and coverage notes |
| Analyze requests and competitor feedback | Reddit comment batches and HN story comments | Evidence grouped by friction, requested changes, and workarounds |
| Explore product opportunities | Bilingual playbooks and evidence templates | A sourced brief with hypotheses, counterevidence, and validation steps |
Your client controls sampling, API combinations, every page, analysis, and Markdown/CSV exports when file tools are available.
## Example Prompts
- “Search Reddit for recent complaints about project-management tools; keep dates and original discussion links.”
- “Read these Reddit discussion URLs and identify feature requests, workarounds, and disagreements.”
- “Find related Hacker News discussions and compare the evidence with the Reddit sample.”
- “Use only the research notes I supplied to draft an opportunity brief; do not fetch new data.”
## Tools
The server exposes **7 tools**: four data tools requiring an API key and three free utility tools. Each data tool makes one request.
### Data tools
| Tool | Inputs | Purpose |
| --- | --- | --- |
| `search_reddit_posts` | Required `query`; optional `sort`, `timeframe`, `cursor` | Search Reddit discussions and retrieve available metadata |
| `get_reddit_comments` | Required `url`; optional `cursor` | Read comments and available post information for one Reddit discussion URL |
| `search_hn_discussions` | Required `query`; optional `tags` | Search Hacker News; tags can select stories or comments |
| `get_hn_comments` | Required `story_id` | Read available comments for one Hacker News story |
Reddit `sort`: `relevance`, `hot`, `top`, `new`, `comments`. `timeframe`: `hour`, `day`, `week`, `month`, `year`, `all`. Continue only with a returned cursor; search and comment tokens are separate. Hacker News search has no date-range or pagination input, and its comment tool requires a story ID rather than a comment ID.
### Utility tools — no API key required
| Tool | Inputs | Purpose |
| --- | --- | --- |
| `get_tool_info` | Required `tool_name` | Inspect current parameters, pricing, and known limits |
| `get_workflow` | Required `workflow`; optional `language` | Load a research guide and output templates |
| `search_openany_capabilities` | Required `query`; optional `limit` | Discover related OpenAny capabilities without executing them |
Guide language defaults to `zh`; pass `language: "en"` for English. Capability search accepts a 1–256 character query and a result limit of 1–10, default 5.
## Workflow Guides
| Guide ID | Use it for |
| --- | --- |
| `painpoint_discovery` | Focused queries, discussion selection, and sample coverage |
| `thread_analysis` | Comment context, deduplication, themes, and counterevidence |
| `opportunity_brief` | Product hypotheses, alternatives, and next validation steps |
## Companion Skill — Optional
Hosts supporting native Skills can use the bundled [reddit-hn-painpoint-research Skill](skills/reddit-hn-painpoint-research/SKILL.md). Copy that complete directory into your host's Skills directory. Connecting via npx does not install it automatically; `get_workflow` also provides the full guides without a Skill.
## Example Workflow
1. Load the relevant English guides and inspect data-tool parameters and prices.
2. Search each community for the requested user problem; select relevant discussion URLs or verified HN story IDs.
3. Read selected comments, preserving sources, dates, parent context, and sampling limits.
4. Group observed issues and counterexamples, then draft an opportunity brief with your client's model.
5. Export Markdown or CSV through your client's file tools, if available.
## Limitations & Billing
- **Evidence:** Results support research on collected samples. Full post bodies, complete comment trees, market size, and willingness to pay are not guaranteed. Keep observations and hypotheses separate.
- **Time and coverage:** Reddit supports relative time windows; check returned dates. HN results can be filtered by their returned dates, but do not establish complete recent coverage. Each additional batch needs a separate call.
- **Pricing:** Inspect `get_tool_info` before paid data requests. Empty results may also incur charges when the billing rule applies. Analysis and writing use your client's model.
- **Request recovery:** Keep the request ID and check an unclear outcome before deciding on another request. The server does not automatically replay paid requests.
- **Privacy:** The server runs locally; catalog queries and data inputs are sent to OpenAny.
- **More capabilities:** Use `search_openany_capabilities` or connect the [OpenAny MCP](https://mcp.openany.si/) with the [setup guide](https://openany.si/setup.md).
## Development
```sh
npm ci --ignore-scripts
npm test
npm run check
```
See [CONTRIBUTING.md](CONTRIBUTING.md) for guide maintenance, packaging, and verification.
## About OpenAny
[OpenAny](https://openany.si/) provides APIs and models for agents and developers. This package focuses on Reddit and Hacker News research for product discovery and customer feedback analysis.
## License
[Apache-2.0](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues