Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Reddit API as MCP tools: search, subreddits, posts, comments, users, monitors, webhooks, feedback.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http redditapis https://api.redditapis.com/mcpclaude mcp add redditapis --env REDDITAPIS_KEY='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .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": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://api.redditapis.com/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
server ให้ล็อกอินก่อนจึงจะแสดงรายการเครื่องมือ
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub redditapis ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตอบกลับใน 728 ms (HTTP 401)
ประกาศวิธีล็อกอินแบบ OAuth ให้โปรแกรม AI พาไปล็อกอินเอง
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: REDDITAPIS_KEY
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.16.0) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo