Mastodon

live Social

Search accounts and statuses, browse trending posts, and read the public timeline on mastodon.social

4 tools
0ms auth
free tier 50 calls/day

Tools

get_account required: id

Get a public Mastodon account profile by numeric account ID.

Parameters
Name Type Description
id req string Numeric Mastodon account ID (e.g. "109302436954721982")
Try it
get_timeline

Get recent posts from the mastodon.social public timeline.

Parameters
Name Type Description
limit opt number Number of statuses to return (default: 20, max: 40)
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/mastodon/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/mastodon/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search","arguments":{"query": "hello"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search", {"query":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("search accounts and statuses, browse trending posts, and read the public timeline on mastodon");

Related packs

Other Pipeworx packs in the same categories (Social):