reddit_history_posts
Pack: reddit-archive · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/reddit_history_posts for the schema, then POST the same URL with its arguments for the data.
Historical Reddit POSTS from one subreddit, back to ~2005 — via the Arctic Shift archive, not the live Reddit API (which the reddit pack uses and which only reaches ~1,000 recent results with no reliable date filter). PREFER for “Reddit posts about X in/before
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
subreddit | string | yes | Subreddit name without the r/ prefix, e.g. “datasets”. |
query | string | no | Optional keyword — matched against post title and body text. |
after | string | no | Optional ISO date (e.g. “2019-01-01”) — only posts created on/after this date. |
before | string | no | Optional ISO date (e.g. “2020-01-01”) — only posts created before this date. |
limit | number | no | Max posts to return (default 25, max 100). |
sort | string | no | ”asc” or “desc” by post date (default “desc”, newest first). |
Example call
Arguments
{
"subreddit": "datasets",
"before": "2020-01-01",
"after": "2019-01-01",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/reddit-archive/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reddit_history_posts","arguments":{"subreddit":"datasets","before":"2020-01-01","after":"2019-01-01","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('reddit_history_posts', {
"subreddit": "datasets",
"before": "2020-01-01",
"after": "2019-01-01",
"limit": 5
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the reddit-archive pack
{
"mcpServers": {
"reddit-archive": {
"url": "https://gateway.pipeworx.io/reddit-archive/mcp"
}
}
}
See Getting Started for client-specific install steps.