MCP Server

Mastodon MCP — public Mastodon data via mastodon.social (no auth required)

Local serverstdio

What is the MCP MCP server?

Mastodon MCP — public Mastodon data via mastodon.social (no auth required). The mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 4 defined tools rather than through you.

Its toolset

Everything the assistant can do here goes through one of these:

  • search — Search Mastodon for accounts, statuses, or hashtags. Returns matching profiles, posts, and tags with follower counts and engagement metrics
  • get_trending — Get currently trending posts on Mastodon. Returns popular statuses with engagement counts, authors, and trending tags
  • get_account — Get a Mastodon account profile by ID (e.g., '109382839472938472'). Returns bio, follower/following counts, post history, and verification status
  • get_timeline — Get recent posts from the public Mastodon timeline. Returns statuses with authors, timestamps, engagement counts, and content

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP's toolset — search, get_trending, get_account and 1 more — is a fair guide to whether it matches your workflow. It is maintained by mojibake-ai; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
searchSearch Mastodon for accounts, statuses, or hashtags. Returns matching profiles, posts, and tags with follower counts and engagement metrics.
get_trendingGet currently trending posts on Mastodon. Returns popular statuses with engagement counts, authors, and trending tags.
get_accountGet a Mastodon account profile by ID (e.g., '109382839472938472'). Returns bio, follower/following counts, post history, and verification status.
get_timelineGet recent posts from the public Mastodon timeline. Returns statuses with authors, timestamps, engagement counts, and content.

How to install the MCP MCP server

{
  "mcpServers": {
    "mastodon": {
      "url": "https://gateway.pipeworx.io/mastodon/mcp"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP to search.
  • Use MCP to get trending.
  • Use MCP to get account.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (search, get_trending, get_account, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.