get_article
Pack: devto · Endpoint: https://gateway.pipeworx.io/devto/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_article for the schema, then POST the same URL with its arguments for the data.
Fetch full article content from DEV.to by ID (e.g., “12345”). Returns title, author, markdown body, tags, reactions, comments, and published date.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | Numeric article ID |
Example call
Arguments
{
"id": 12345
}
curl
curl -X POST https://gateway.pipeworx.io/devto/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_article","arguments":{"id":12345}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_article', {
"id": 12345
});
More examples
{
"id": 98765
}
Response shape
Always returns: id, title, description, url, published_at, tags, reading_time_minutes, reactions, comments, author, organization, body_markdown
| Field | Type | Description |
|---|---|---|
id | number | Article numeric ID |
title | string | Article title |
description | string | null | Article description or excerpt |
url | string | Article URL |
published_at | string | null | Publication timestamp (ISO 8601 format) |
tags | array | List of tags associated with article |
reading_time_minutes | number | Estimated reading time in minutes |
reactions | number | Count of public reactions |
comments | number | Count of comments |
author | object | null | Article author information |
organization | object | null | Publishing organization information |
body_markdown | string | null | Full article content in markdown format |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Article numeric ID"
},
"title": {
"type": "string",
"description": "Article title"
},
"description": {
"type": [
"string",
"null"
],
"description": "Article description or excerpt"
},
"url": {
"type": "string",
"description": "Article URL"
},
"published_at": {
"type": [
"string",
"null"
],
"description": "Publication timestamp (ISO 8601 format)"
},
"tags": {
"type": "array",
"description": "List of tags associated with article",
"items": {
"type": "string"
}
},
"reading_time_minutes": {
"type": "number",
"description": "Estimated reading time in minutes"
},
"reactions": {
"type": "number",
"description": "Count of public reactions"
},
"comments": {
"type": "number",
"description": "Count of comments"
},
"author": {
"type": [
"object",
"null"
],
"description": "Article author information",
"properties": {
"name": {
"type": "string",
"description": "Author full name"
},
"username": {
"type": "string",
"description": "Author username"
}
}
},
"organization": {
"type": [
"object",
"null"
],
"description": "Publishing organization information",
"properties": {
"name": {
"type": "string",
"description": "Organization name"
},
"username": {
"type": "string",
"description": "Organization username"
}
}
},
"body_markdown": {
"type": [
"string",
"null"
],
"description": "Full article content in markdown format"
}
},
"required": [
"id",
"title",
"description",
"url",
"published_at",
"tags",
"reading_time_minutes",
"reactions",
"comments",
"author",
"organization",
"body_markdown"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"devto": {
"url": "https://gateway.pipeworx.io/devto/mcp"
}
}
}
See Getting Started for client-specific install steps.