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

NameTypeRequiredDescription
idnumberyesNumeric 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

FieldTypeDescription
idnumberArticle numeric ID
titlestringArticle title
descriptionstring | nullArticle description or excerpt
urlstringArticle URL
published_atstring | nullPublication timestamp (ISO 8601 format)
tagsarrayList of tags associated with article
reading_time_minutesnumberEstimated reading time in minutes
reactionsnumberCount of public reactions
commentsnumberCount of comments
authorobject | nullArticle author information
organizationobject | nullPublishing organization information
body_markdownstring | nullFull 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.

Regenerated from source · build September 22, 2026