Reddit MCP
MCP de Reddit
Un servidor MCP plug-and-play para navegar, buscar y leer Reddit.
Manifestación
A continuación se muestra un breve vídeo que muestra cómo utilizar esto en Claude Desktop:
https://github.com/user-attachments/assets/a2e9f2dd-a9ac-453f-acd9-1791380ebdad
Related MCP server: systemprompt-mcp-reddit
Características
Validación detallada de parámetros con pydantic
Utiliza la confiable biblioteca PRW bajo el capó
Protección de limitación de velocidad incorporada gracias a PRAW
Advertencias
Por ahora, solo se admiten funciones de lectura. Si quieres usar las funciones de escritura, ¡dale un voto positivo o envía un mensaje privado ! 🙌
Las herramientas usan tokens. Para usar esto con Claude, es posible que necesites ser un usuario Pro para usar muchas llamadas a herramientas. Los usuarios de la versión gratuita deberían poder usar menos herramientas. El uso de tus tokens es tu responsabilidad.
Instalación
Requisito previo: credenciales de la API de Reddit
Crea una aplicación de desarrollador en tu cuenta de Reddit si aún no tienes una. Esto te proporcionará un client_id y client_secret para usar en los siguientes pasos. Si ya los tienes, puedes omitir este paso.
Escritorio de Claude
Para instalar en Claude Desktop:
Siga las instrucciones aquí hasta la sección "Abrir el archivo de configuración en cualquier editor de texto".
Agregue lo siguiente al archivo según su método de instalación preferido:
Uso de uvx (recomendado)
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["reddit-mcp"],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}Uso de PIP
Primero instale el paquete:
pip install reddit-mcpLuego agregue lo siguiente al archivo de configuración:
"mcpServers": {
"reddit": {
"command": "python",
"args": ["-m", "reddit_mcp"],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}Otros
Puede usar este servidor con cualquier cliente MCP , incluyendo frameworks de agentes (LangChain, LlamaIndex, AutoGen, etc.). Para ver un ejemplo de integración con AutoGen, consulte el ejemplo .
Herramientas
Las herramientas que expondrá el servidor son:
Nombre | Descripción |
| Acceder a un comentario |
| Acceder a los comentarios de un envío |
| Acceder a un envío |
| Acceder a un subreddit por nombre |
| Buscar publicaciones en un subreddit |
| Buscar subreddits por nombre o descripción |
Contribuyendo
¡Agradecemos sus contribuciones! Para más información, consulte CONTRIBUTING.md .
Expresiones de gratitud
PRAW para una biblioteca increíblemente confiable 💙
Available Tools
6 toolsget_comment_by_idA
Retrieve a specific comment by ID.
Args:
comment_id: ID of the comment to retrieve
Returns:
Comment details with any replies
Inputs: comment_id (required).
get_comments_by_submissionA
Retrieve comments from a specific submission.
Args:
submission_id: ID of the submission to get comments from
replace_more: Whether to replace MoreComments objects with actual comments
Returns:
List of comments with their replies
Inputs: submission_id (required), replace_more.
get_submissionA
Retrieve a specific submission by ID.
Args:
submission_id: ID of the submission to retrieve
Returns:
Detailed information about the submission
Inputs: submission_id (required).
get_subredditB
Retrieve a subreddit by name.
Args:
subreddit_name: Name of the subreddit to retrieve
Returns:
Detailed information about the subreddit
Inputs: subreddit_name (required).
search_postsC
Search for posts within a subreddit.
Args:
params: Search parameters including subreddit name, query, and filters
Returns:
List of matching posts with their details
Inputs: params (required).
search_subredditsC
Search for subreddits using either name-based or description-based search.
Args:
by: Search parameters, either SearchByName or SearchByDescription
Returns:
List of matching subreddits with their details
Inputs: by (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose targeting specific Reddit entities: comments, submissions, subreddits, and searches. No overlap exists between tools like get_comment_by_id and get_comments_by_submission, which serve different retrieval needs.
All tools follow a consistent verb_noun pattern with underscores (e.g., get_comment_by_id, search_posts). The naming is predictable and readable throughout the set, with no deviations in style.
Six tools is reasonable for a Reddit API server, covering core read operations. It's slightly lean but includes key functionalities like retrieval and search, though it lacks write operations which might be expected in a full-featured server.
The tool set provides good read coverage for comments, submissions, and subreddits, but there are notable gaps: no create, update, or delete operations (e.g., posting comments or submissions). This limits agents to read-only workflows, which may cause failures in interactive scenarios.
Maintenance
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
An MCP server that gives your AI access to the source code and docs of all public github repos
Reddit MCP server: search posts, subreddit feeds, comments & user profiles as JSON. No API key.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.10MIT
- AlicenseNot gradedqualityDmaintenanceA specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.71 npm10Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to access and interact with Reddit content through features like user analysis, post retrieval, subreddit statistics, and authenticated posting capabilities.15302MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides AI agents with full Reddit API capabilities including search, browsing, reading, posting, commenting, voting, editing, and deleting.188 npmMIT