get_account
Pack: mastodon · Endpoint: https://gateway.pipeworx.io/mastodon/mcp
Get a Mastodon account profile by ID (e.g., ‘109382839472938472’). Returns bio, follower/following counts, post history, and verification status.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Numeric Mastodon account ID (e.g. “109302436954721982”) |
Example call
Arguments
{
"id": "109302436954721982"
}
curl
curl -X POST https://gateway.pipeworx.io/mastodon/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_account","arguments":{"id":"109302436954721982"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_account', {
"id": "109302436954721982"
});
Response shape
Always returns: id, username, acct, display_name, url, followers_count, following_count, statuses_count, created_at, bot, avatar, note
| Field | Type | Description |
|---|---|---|
id | string | Account ID |
username | string | Username handle |
acct | string | Full account address |
display_name | string | Display name |
url | string | Profile URL |
followers_count | number | Number of followers |
following_count | number | Number following |
statuses_count | number | Number of posts |
created_at | string | Account creation timestamp |
bot | boolean | Whether account is a bot |
avatar | string | Avatar image URL |
note | string | Bio/note text |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Account ID"
},
"username": {
"type": "string",
"description": "Username handle"
},
"acct": {
"type": "string",
"description": "Full account address"
},
"display_name": {
"type": "string",
"description": "Display name"
},
"url": {
"type": "string",
"description": "Profile URL"
},
"followers_count": {
"type": "number",
"description": "Number of followers"
},
"following_count": {
"type": "number",
"description": "Number following"
},
"statuses_count": {
"type": "number",
"description": "Number of posts"
},
"created_at": {
"type": "string",
"description": "Account creation timestamp"
},
"bot": {
"type": "boolean",
"description": "Whether account is a bot"
},
"avatar": {
"type": "string",
"description": "Avatar image URL"
},
"note": {
"type": "string",
"description": "Bio/note text"
}
},
"required": [
"id",
"username",
"acct",
"display_name",
"url",
"followers_count",
"following_count",
"statuses_count",
"created_at",
"bot",
"avatar",
"note"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mastodon": {
"url": "https://gateway.pipeworx.io/mastodon/mcp"
}
}
}
See Getting Started for client-specific install steps.