Dev.to MCP Server
An MCP server implementation that allows AI assistants to access, search, and interact with Dev.to content, including fetching articles, retrieving user information, and publishing new content.
Tools
get_latest_articles
Get the latest articles from Dev.to
get_top_articles
Get the top articles from Dev.to
get_articles_by_tag
Get articles by tag from Dev.to
get_article_by_id
Get a specific article by ID from Dev.to
search_articles
Search for articles on Dev.to Args: query: Search term to find articles page: Page number for pagination (default: 1)
get_article_details
Get detailed information about a specific article Args: article_id: The ID of the article to retrieve
get_articles_by_username
Get articles written by a specific user Args: username: The username of the author
get_user_info
Get information about a Dev.to user Args: username: The username of the user
create_article
Create and publish a new article on Dev.to Args: title: The title of the article body_markdown: The content of the article in markdown format tags: Comma-separated list of tags (e.g., "python,tutorial,webdev") published: Whether to publish immediately (True) or save as draft (False)
update_article
Update an existing article on Dev.to Args: article_id: The ID of the article to update title: New title for the article (optional) body_markdown: New content in markdown format (optional) tags: New comma-separated list of tags (optional) published: Change publish status (optional)
README
Dev.to MCP Server
This repository contains a Model Context Protocol server implementation for Dev.to that allows AI assistants to access and interact with Dev.to content.
<a href="https://glama.ai/mcp/servers/@Arindam200/devto-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@Arindam200/devto-mcp/badge" alt="Dev.to Server MCP server" /> </a>

What is MCP?
The Model Context Protocol (MCP) is a standard for enabling AI assistants to interface with external services, tools, and data sources. This server implements the MCP specification to provide access to Dev.to content. To know more about MCP, Check this video
Features
- Fetch latest and trending articles from Dev.to
- Search for articles by various criteria
- Get detailed information about specific articles
- Get Detailed information about a User.
- Access articles by tag or username
- Create and publish new articles to Dev.to
- Update existing articles
- Caching mechanism to improve performance and reduce API calls
Installation
- Clone this repository
git clone https://github.com/Arindam200/devto-mcp.git
cd devto-mcp
-
Connect to the MCP server
Copy the below json with the appropriate {{PATH}} values:
{ "mcpServers": { "devto": { "command": "{{PATH_TO_UV}}", // Run `which uv` and place the output here "args": [ "--directory", "{{PATH_TO_SRC}}",// cd into the repo, run `pwd` and enter the output here "run", "server.py" ], "env": { "DEV_TO_API_KEY":"Your Dev.to API Key" // Get it from https://dev.to/settings/extensions. } } } }You can obtain a Dev.to API key from your Dev.to settings page.
For Claude, save this as
claude_desktop_config.jsonin your Claude Desktop configuration directory at:~/Library/Application Support/Claude/claude_desktop_config.jsonFor Cursor, save this as
mcp.jsonin your Cursor configuration directory at:~/.cursor/mcp.json -
Restart Claude Desktop / Cursor
Open Claude Desktop and you should now see Devto as an available integration.
Or restart Cursor.
Available Tools
The server provides the following tools:
get_latest_articles()- Get the latest articles from Dev.toget_top_articles()- Get the most popular articles from Dev.toget_articles_by_tag(tag)- Get articles by tagget_article_by_id(id)- Get a specific article by IDsearch_articles(query, page=1)- Search for articles by keywords in title/descriptionget_article_details(article_id)- Get full content and metadata for a specific articleget_articles_by_username(username)- Get articles written by a specific authorcreate_article(title, body_markdown, tags, published)- Create and publish a new articleupdate_article(article_id, title, body_markdown, tags, published)- Update an existing article
Example Queries
Here are some examples of what you can ask an AI assistant connected to this server:
- "Find articles about Python on Dev.to"
- "Show me the latest Dev.to articles"
- "Get details for article 1234"
- "What articles has user 'ben' written?"
- "Search for articles about machine learning"
- "Create a new article titled 'Getting Started with Python'"
- "Update my article with ID 5678 to fix a typo in the content"
Advanced Features
Custom Prompts
The server provides pre-defined prompts that can be used by AI assistants:
search_prompt- Create a formatted search promptanalyze_article- Create a prompt to analyze a specific article
Authentication
The server requires a Dev.to API key for certain operations, particularly for creating and updating articles. The API key should be set as an environment variable DEV_TO_API_KEY.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.