Reddit Trends API logo

Reddit Trends API

Tracks Reddit discussion trends, subreddit growth, and live hot posts through the Trends API.

Install Reddit Trends API

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "reddit-trends-api-2": {
      "command": "uvx",
      "args": [
        "trendsapi-reddit"
      ],
      "env": {
        "TRENDSAPI_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx trendsapi-reddit

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Reddit Trends API MCP server connects agents to the Trends API for Reddit discussion history, growth measurements, and live hot-post rankings. It uses a Trends API key and supports time-series, growth, and live-trend queries through the documented client methods and HTTP endpoint. Reach for it when an application needs Reddit attention or subreddit trend data rather than posting, voting, or comment streaming. The API is not PRAW and does not provide those interaction features.

Use cases

  • Measure subreddit discussion volume over time
  • Compare subreddit growth across reporting periods
  • Fetch live Reddit hot-post rankings
  • Build time-based Reddit attention reports
  • Resample trend data with pandas

Key features

  • Reddit discussion time series
  • Growth comparisons with preset or custom windows
  • Live hot-post rankings
  • Synchronous and asynchronous Python clients
  • Pandas-compatible time-series conversion

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

20/20 checks healthy over the last 95d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · trendsapi-reddit (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Reddit Trends API works

What Reddit Trends API MCP server does

The Reddit Trends API MCP server provides access to Reddit attention data through Trends API. Its documented capabilities cover historical discussion activity, growth comparisons, and current ranked feeds. A subreddit or topic is supplied as a keyword without the r/ prefix; for example, wallstreetbets.

Historical queries return a time series with dates and a 0–100 index value. When available, results also include absolute volume and source or datatype labels. The index measures attention in the series, not subscriber count.

Growth queries compare a keyword across one or more periods. Supported presets include windows such as 7D, 3M, 12M, YTD, and 5Y; custom recent and baseline dates are also supported. Results include the growth value, direction, dates, and the values used for comparison.

How it works

The client sends requests to https://api.trendsapi.ai/api using a bearer token. Reddit history requests set source to lowercase reddit and use either the get_time_series or get_growth mode. Live feeds use the exact type Reddit Hot Posts or another documented feed type. Mixing a source value with an incompatible type returns a 400 error.

The Reddit Trends API MCP server can return live ranked rows through get_live or get_top_trends. Live responses include the snapshot time, feed type, pagination values, and data rows containing a rank and label. limit and offset support pagination for the live response.

Python users can use synchronous TrendsAPI methods or the asynchronous AsyncTrendsAPI client. The package returns typed Python objects, while JavaScript returns equivalent object fields. Multiple growth windows count as one request, while each successful asynchronous call counts as one billed request.

Setup and configuration

Install the Python package with:

Terminal
pip install trendsapi-reddit
export TRENDSAPI_KEY=your_key

Python 3.9 or newer is required. The key is available from trendsapi.ai and is the same credential used by the HTTP API. It can be read from TRENDSAPI_KEY or passed directly to the client as an api_key argument.

The raw HTTP request requires Authorization: Bearer $TRENDSAPI_KEY and a JSON content type. SDK clients decode the response body for you; raw curl users must decode the nested body field themselves.

Tools and capabilities

  • Retrieve a keyword’s Reddit attention history with get_time_series.
  • Compare discussion growth over preset or custom periods with get_growth.
  • Fetch ranked live feeds with get_live.
  • Request top-trend data with get_top_trends.
  • Use synchronous or asynchronous Python client methods.
  • Convert time-series dataclasses into pandas data for date parsing and resampling.

Limitations and notes

The Reddit Trends API MCP server is read-oriented. It cannot post, vote, or stream comments. The documented Reddit source is always reddit; the community or topic belongs in the keyword field. A 404 means no series exists for the requested keyword and should not be retried. A 401 usually indicates a missing or invalid key, while a 429 indicates quota exhaustion. Server-side 5xx errors are retried by the client before an exception is raised.

Integration decisions should therefore rely on the available client methods and API endpoint details.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Reddit Trends API

Reddit Trends API is an MCP server that connects agents to the Trends API for Reddit attention data. Its main tools cover keyword time series, growth comparisons, live feeds, and top trends through methods such as get_time_series, get_growth, get_live, and get_top_trends. It requires a Trends API key.

Install the Python package with `pip install trendsapi-reddit`, then set `TRENDSAPI_KEY` to a key from trendsapi.ai. Python 3.9 or newer is required. The client can also receive the key directly through its `api_key` argument.

Call `get_time_series` with the subreddit or topic as the keyword and use the Reddit source. For example, `client.get_time_series("wallstreetbets")` returns dated points with a 0–100 attention value and may include absolute volume when available. Do not include the `r/` prefix.

Yes, call `get_live(limit=10)` to retrieve a ranked live feed. The response includes a snapshot timestamp, feed type, pagination fields, and data rows containing rank and label. The documented Reddit feed type is `Reddit Hot Posts`.

No, it cannot post, vote, or stream comments. The documented capabilities are read-only trend history, growth comparisons, and live ranked feeds delivered through the Trends API.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewReddit Trends API AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/reddit-trends-api-2?style=directory)](https://allmcps.com/mcp/reddit-trends-api-2)
HTML Embed
<a href="https://allmcps.com/mcp/reddit-trends-api-2"><img src="https://allmcps.com/api/badge/reddit-trends-api-2?style=directory" alt="Reddit Trends API on AllMCPs" /></a>