Macrocosmos MCP logo

Macrocosmos MCP

by macrocosm-os

Queries real-time X and Reddit data, or manages multi-day collection jobs and downloadable datasets.

Install Macrocosmos MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "macrocosm-os-macrocosmos-mcp": {
      "command": "uvx",
      "args": [
        "macrocosmos-mcp"
      ],
      "env": {
        "MC_API": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 7 tools correctly ().

Overview

The macrocosm-os/macrocosmos-mcp MCP server gives compatible AI clients access to real-time X and Reddit data through Macrocosmos. It supports filtered on-demand queries by users, keywords, dates, and result limits, plus Gravity tasks for larger collections over seven days. Dataset tools track collection, build Parquet files, provide download links, and cancel active jobs. Use it when an agent needs current social posts or a managed dataset rather than static web search results.

Use cases

  • Query recent X posts by user, topic, or date
  • Search Reddit posts within a specified subreddit
  • Create seven-day social data collection jobs
  • Build downloadable Parquet datasets from collected records

Key features

  • Real-time X and Reddit queries
  • User, keyword, date, and result filtering
  • Seven-day Gravity collection tasks
  • Crawler and dataset status tracking
  • Parquet dataset download links
  • Collection and dataset cancellation

Tools7

What Macrocosmos MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

27/27 checks healthy over the last 112d

What it can do

From the 7 tools this server returned when we ran it.

Can delete or modify data · 1Makes network requests · 4Read-only tools · 6
Network at startup2 connections
Files written at startup13

Observed 2026-11-16 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · macrocosmos-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed7Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Macrocosmos MCP works

What macrocosm-os/macrocosmos-mcp MCP server does

The macrocosm-os/macrocosmos-mcp MCP server exposes Macrocosmos social-data operations to MCP clients. It works with X (Twitter) and Reddit, allowing an agent to retrieve recent posts or start a longer-running collection workflow. The README identifies Data Universe (SN13) on Bittensor as the underlying source.

For quick requests, query_on_demand_data accepts a platform, usernames, keywords, ISO-formatted dates, a result limit, and an any or all keyword mode. X usernames may include or omit @. Reddit queries use the first keyword as the subreddit, and username filtering is not available for Reddit. On-demand requests support up to 1,000 results, with a default window of the previous 24 hours and a default limit of 10.

How it works

The macrocosm-os/macrocosmos-mcp MCP server has two distinct collection paths. On-demand queries return data for immediate analysis. For larger jobs, create_gravity_task starts a collection that can run for seven days and returns a task identifier. get_gravity_task_status reports progress, including crawler identifiers, record counts, and collected bytes.

A Gravity workflow can include X and Reddit task objects. X topics must begin with # or $; plain X keywords are rejected. After enough data is collected, build_dataset stops the crawler and creates a dataset, optionally limited by row count. get_dataset_status reports the build progress and supplies Parquet download URLs when the dataset is ready. Active Gravity tasks and dataset builds can be cancelled, while completed datasets can be purged through the cancellation tools.

Setup and configuration

The macrocosm-os/macrocosmos-mcp MCP server requires a Macrocosmos API key. The README directs users to the Macrocosmos account page to create one and states that a free tier begins with $5 in credits. Install uv, then configure the MCP client to run uvx macrocosmos-mcp.

For Claude Desktop, add a server entry to claude_desktop_config.json with uvx as the command, macrocosmos-mcp as its argument, and the API key in the MC_API environment variable. The key should replace the placeholder shown in the README rather than being copied literally.

Tools and capabilities

Available tools include:

  • query_on_demand_data for filtered X or Reddit searches.
  • create_gravity_task for large-scale, seven-day collection jobs.
  • get_gravity_task_status for task and crawler progress.
  • build_dataset for stopping a crawler and preparing collected rows.
  • get_dataset_status for build progress and Parquet download links.
  • cancel_gravity_task for stopping a running collection.
  • cancel_dataset for cancelling a build or purging a completed dataset.

The server is documented as compatible with Claude Desktop, Cursor, Windsurf, OpenAI Agents, and other MCP clients. This listing only maps the named desktop clients to client compatibility fields.

Limitations and notes

The on-demand tool is intended for requests of up to 1,000 results. Gravity tasks are the documented option when more data is needed, but their collection period is seven days. Building a dataset before that period ends permanently stops and de-registers the crawler from the network, so build_dataset should be used only when collection can end.

Required fields vary by operation: on-demand queries need source, Gravity creation needs tasks, and status or build operations require identifiers returned by earlier calls. X Gravity topics must use hashtag or ticker syntax, while Reddit username filtering is unavailable.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Macrocosmos MCP

Install uv, then configure the client to run `uvx macrocosmos-mcp`. Set the `MC_API` environment variable to a Macrocosmos API key.

Yes. The README provides Claude Desktop configuration instructions using `uvx`, the `macrocosmos-mcp` package, and the `MC_API` environment variable.

The documented tools support X (Twitter) and Reddit.

Create a Gravity task, monitor it with `get_gravity_task_status`, then build and retrieve the dataset with `build_dataset` and `get_dataset_status`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMacrocosmos MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/macrocosm-os-macrocosmos-mcp?style=directory)](https://allmcps.com/mcp/macrocosm-os-macrocosmos-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/macrocosm-os-macrocosmos-mcp"><img src="https://allmcps.com/api/badge/macrocosm-os-macrocosmos-mcp?style=directory" alt="Macrocosmos MCP on AllMCPs" /></a>