Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Reddit API as MCP tools: search, subreddits, posts, comments, users, monitors, webhooks, feedback.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
REDDITAPIS_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://api.redditapis.com/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"redditapis": {
"command": "npx",
"args": [
"-y",
"redditapis-mcp"
],
"env": {
"REDDITAPIS_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http redditapis https://api.redditapis.com/mcpclaude mcp add redditapis --env REDDITAPIS_KEY=your-value -- npx -y redditapis-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"redditapis": {
"url": "https://api.redditapis.com/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"redditapis": {
"command": "npx",
"args": [
"-y",
"redditapis-mcp"
],
"env": {
"REDDITAPIS_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"redditapis": {
"type": "http",
"url": "https://api.redditapis.com/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"redditapis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"redditapis-mcp"
],
"env": {
"REDDITAPIS_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://api.redditapis.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
服务器要求先登录,才会列出它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 redditapis 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 728 毫秒内响应(HTTP 401)
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:REDDITAPIS_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.16.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
redditapis-mcp is the official MCP server for RedditAPIs, built for developers and AI agents that need live Reddit data in Claude, Cursor, Windsurf, VS Code or any MCP client, with no Reddit developer app. Your agent can search posts and comments, read subreddit feeds and rules, expand comment trees, look up users and communities, and set up monitors that send new matching posts to your webhook. Reads cost $0.0015 per call (or a monthly read plan from $19 for 30,000 reads), every account gets 1,000 free reads a month, and new accounts get $0.50 of free credit with no card. Connect your Reddit account once to comment, post, vote and DM as you. Every tool maps to one endpoint at api.redditapis.com.
Install: npx -y redditapis-mcp@latest with REDDITAPIS_KEY from https://www.redditapis.com
Hosted, sign in instead of pasting a key (Claude Code): claude mcp add --transport http reddit https://api.redditapis.com/mcp (carries every tool except the 5 that read your own account)
Website: https://www.redditapis.com/mcp
No install needed. Run with npx. You need one thing: an API key from [redditapis.com](https://www.redditapis.com). Reads work with just that key, so there is no account login or session step to set up. Monitor/webhook management additionally requires an active monitoring plan (monitoring has no free tier).
Edit claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": { "reddit": { "command": "npx", "args": ["-y", "redditapis-mcp@latest"], "env": { "REDDITAPIS_KEY": "YOUR_API_KEY" } } } }
Restart Claude Desktop. The reddit_* tools appear in the tool picker.
claude mcp add reddit --env REDDITAPIS_KEY=YOUR_API_KEY -- npx -y redditapis-mcp@latest
~/.cursor/mcp.json (or Settings > MCP > Add New Server):
{
"mcpServers": { "reddit": { "command": "npx", "args": ["-y", "redditapis-mcp@latest"], "env": { "REDDITAPIS_KEY": "YOUR_API_KEY" } } } }
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "reddit": { "command": "npx", "args": ["-y", "redditapis-mcp@latest"], "env": { "REDDITAPIS_KEY": "YOUR_API_KEY" } } } }
.vscode/mcp.json in your workspace, or the user-level MCP settings:
{
"servers": { "reddit": { "type": "stdio", "command": "npx", "args": ["-y", "redditapis-mcp@latest"], "env": { "REDDITAPIS_KEY": "YOUR_API_KEY" } } } }
| Env var | Required | Default | Purpose |
|---|---|---|---|
REDDITAPIS_KEY | Yes | (none) | API key from redditapis.com. REDDIT_APIS_KEY is accepted as an alias. |
REDDITAPIS_BASE_URL | No | https://api.redditapis.com | Override the API host. |
REDDITAPIS_TIMEOUT_MS | No | 30000 | Per-request timeout in milliseconds. |
REDDITAPIS_FEEDBACK_DIR | No | ~/.redditapis | Where reddit_feedback_send keeps its local draft queue (feedback-queue.json). |
Authentication is a Bearer token: the server sends Authorization: Bearer on every request.
60 tools and 3 playbook resources: 33 Reddit reads, 10 Reddit account tools (connect, status, disconnect, comment, submit, vote, DM, and schedule, list or cancel a post or comment for later), 10 monitor/webhook management tools, reddit_set_watch (one call that stands up a whole watch), reddit_explain (where the rows you are holding came from), 3 feedback tools, and 2 account tools (reddit_account_me, which is also where the credit balance lives, and reddit_account_payments, the top-up history). Reddit writes (commenting, posting, voting, DMs) act as YOUR Reddit account and only after you connect it with reddit_connect; each is marked as a write so your client asks before it runs. Monitor/webhook tools configure your OWN redditapis.com account (an alerting subscription), never Reddit itself, and the feedback tools send a report to the redditapis.com team, never to Reddit. Every read works with just your API key; the 6 monitor/webhook writes additionally need an active monitoring plan (see Monitoring below). The feedback tools are free and need only your key.
A few conventions across the catalog:
r/ prefix, and usernames without the u/ prefix. reddit_subreddit_posts takes its community as subreddit; the /sub/{name}/... tools take it as name.after cursor. Pass it back as after to fetch the next page, exactly as it was returned. limit accepts 1 to 100 (the API clamps out-of-range values).after comes back null there is no next page to ask for. That does not always mean you have every item: Reddit often stops serving a busy listing long before it runs out. The final response also carries listing_status, which reads complete, truncated or unknown. Only complete means nothing is missing. Treat the other two as a partial answer and widen across sorts, timeframes or search terms rather than paging deeper.t (hour, day, week, month, year, all) sets the time window; on subreddit listings it applies to the top and controversial sorts, and on search it bounds the whole result set.| Tool | Endpoint | What it does |
|---|---|---|
reddit_search | GET /api/reddit/search | Search posts across all of Reddit or within one subreddit (subreddit). |
reddit_search_comments | GET /api/reddit/search/comments | Search by comment text; returns the parent posts, since Reddit's comment search does not hand back the matching comment itself. |
reddit_deep_comment_search | GET /api/reddit/search/comments/deep | Genuine comment search: returns the actual matching comment bodies (score, author, comment-deep permalink, parent post). limit sets how many parent posts to expand; group_by="author" switches to research mode (the distinct people talking about your query). Premium call. |
reddit_search_media | GET /api/reddit/search/media | Search posts filtered to media, narrowed by kind (image, video, gif, all). |
reddit_search_communities | GET /api/reddit/search/communities | Find subreddits by name or topic (title, subscribers, description, NSFW flag). |
reddit_search_users | GET /api/reddit/search/users | Find redditors by name or keyword (username, karma, account age). |
reddit_ads_search | GET /api/reddit/ads/search | Search the Reddit ads library: promoted posts with advertiser, title, landing page, call to action, media, every subreddit each ad appeared in, first and last seen dates and sightings. Filter by q, advertiser, domain, subreddit, campaign_id, since and until. Reddit's own house ads are excluded. Newest first; page with cursor (the previous response's after). Returns ads, count, after and has_more. Billed at the read rate, the same as reddit_search. |
| Tool | Endpoint | What it does |
|---|---|---|
reddit_subreddit_posts | GET /api/reddit/posts | List a subreddit's posts by sort (new, hot, top, rising, controversial, best). |
reddit_feedback_list | GET /feedback | List the reports this account has sent, newest first, with their status. The way back to a report whose id was not kept. Free. |
reddit_verify_comments | POST /api/reddit/comments/verify | Check whether up to 100 specific comments still exist and are publicly visible. A read despite the POST; tells 'deleted by author' from 'removed by a mod' from 'still there'. |
reddit_home_feed | GET /api/reddit/feed | Read YOUR OWN Reddit home feed. Needs your reddit_session and loid from POST /api/reddit/login (a REST call, not an MCP tool); they travel as headers, never in the URL. |
reddit_subreddit_top | GET /api/reddit/sub/{name}/top | Top posts of a subreddit for a time window (t). |
reddit_subreddit_comments | GET /api/reddit/sub/{name}/comments | Stream the newest comments across an entire subreddit (not one post's thread). |
reddit_subreddit_about | GET /api/reddit/sub/{name}/about | A subreddit's public metadata: title, description, subscriber and active-user counts, type, NSFW flag. |
reddit_subreddit_rules | GET /api/reddit/sub/{name}/rules | A subreddit's posting rules plus Reddit's site-wide rules. |
reddit_subreddit_moderators | GET /api/reddit/sub/{name}/moderators | A subreddit's moderator team, each with permissions, flair, and when they joined. |
reddit_subreddit_flairs | GET /api/reddit/sub/{name}/flairs | A subreddit's post flair templates (id, text, editable, colours, mod_only), so a post can carry the flair_id the community requires. Reddit lists flairs only to signed-in accounts, so it reads as your connected Reddit session; with none connected it answers 503 SESSION_REQUIRED and is not charged. |
reddit_subreddit_wiki | GET /api/reddit/sub/{name}/wiki/{page} | A subreddit's wiki page by name and page (markdown + HTML, revision metadata). |
| Tool | Endpoint | What it does |
|---|---|---|
reddit_post_visibility | GET /api/reddit/post/{id}/visibility | Is a post still publicly visible, or did it quietly stop being so? Fetches the post and one page of its author's listing and compares. Returns live, not_visible or undecidable with a reason, and never claims to know WHY. Two upstream calls, $0.004. |
reddit_post | GET /api/reddit/post/{id} | A single post by its base-36 id (no t3_ prefix): title, author, score, text, permalink, subreddit, url. |
reddit_post_comments | GET /api/reddit/comments | A post plus its full threaded comment tree, fetched by permalink. |
reddit_post_duplicates | GET /api/reddit/post/{id}/duplicates | Every other post that shares this post's link, across subreddits (Reddit's "other discussions"). |
reddit_by_id | GET /api/reddit/by_id/{fullnames} | Bulk-hydrate up to 100 posts in one call from a comma-separated list of t3_ fullnames. |
| Tool | Endpoint | What it does |
|---|---|---|
reddit_user_profile | GET /api/reddit/user/{name} | A user's public profile: karma, account age, verified/employee flags, avatar. |
reddit_user_comments | GET /api/reddit/user/{name}/comments | A user's recent comments (body, score, subreddit, parent link, timestamp). |
reddit_user_submitted | GET /api/reddit/user/{name}/submitted | A user's submitted posts (the sibling of reddit_user_comments). |
reddit_user_achievements | GET /api/reddit/user/{name}/achievements | A user's public achievements (the trophies on their profile): name, description, granted timestamp, icons. An account with none returns an empty list. |
| Tool | Endpoint | What it does |
|---|---|---|
reddit_subreddits_popular | GET /api/reddit/subreddits/popular | Browse the most-subscribed, trending subreddits right now. |
reddit_subreddits_new | GET /api/reddit/subreddits/new | Browse the newest subreddits, most recently created first. |
reddit_subreddits_default | GET /api/reddit/subreddits/default | Browse Reddit's default front-page set of subreddits. |
Monitors watch named subreddits or all of Reddit, for posts or comments (kind). Every account holds a free entitlement of one all-of-Reddit post watch at a 60s cadence; naming a su
只显示了开头部分;其余内容请在仓库中阅读