[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [X account posts](https://spiral.ai/integrations/antigravity/x-account-posts)

# How to Use X account posts in Google Antigravity

Returns structured analysis of a sample of one X account's posts within a date range. Use it to research announcements or recurring topics without treating the sample as a complete timeline.

|  |  |
| --- | --- |
| Model | X account posts |
| Available through | Alexandria |
| Category | Social Media |
| Price | $0.005238 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with X account posts in Google Antigravity

- Use X account posts to research @github's public announcements from November 1 through November 7, 2026, and draft an update for docs/competitor-research.md based on the returned sample.
- Use X account posts to examine @Cloudflare's posts from November 9 through November 15, 2026, and add a short topic summary to our project's company briefing.
- Use X account posts to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from X account posts and tell me what changed since last week.
- Check X account posts and summarize what you find in three bullet points.

## How to set up X account posts in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run X account posts**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "x-com/users/posts",
    "input": {
      "username": "<username>"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds X account posts on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## X account posts tools and prices

- [X · Research account posts](https://spiral.ai/tools/alexandria/x-com/users/posts) (Alexandria): $0.005238 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 10 | 5 | Maximum output records, not a bound on upstream fetched items. |
| to_date |  | — | Inclusive UTC date YYYY-MM-DD. |
| from_date |  | — | Inclusive UTC date YYYY-MM-DD. |

## What can you do with X account posts in Google Antigravity?

Build a company research view with public X account context and summaries of sampled announcements. Keep account descriptions separate from conclusions drawn from posts so readers can inspect the basis of a brief.

### Prepare a company briefing

Use a company's public profile to establish context, then summarize announcements found in its posts for an upcoming meeting.

### Compare competitor messaging

Compare how public business accounts describe themselves and the subjects they emphasize in sampled posts.

### Research a creator partnership

Review a public creator account's description and sampled content to assess subject fit for a proposed collaboration.

### Plan an editorial interview

Read an organization's account description and recent public statements to prepare questions grounded in what it has published.

### Review a brand's public positioning

Compare the brand description in its profile with themes found in its posts, and identify differences worth reviewing.

### Maintain an organization research brief

Refresh a public organization's account description and review newly found posts for changes relevant to an existing brief.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## X account posts in other agents

- [Amp](https://spiral.ai/integrations/amp/x-account-posts)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/x-account-posts)
- [Claude](https://spiral.ai/integrations/claude-desktop/x-account-posts)
- [Claude Code](https://spiral.ai/integrations/claude-code/x-account-posts)
- [Cline](https://spiral.ai/integrations/cline/x-account-posts)
- [Codex](https://spiral.ai/integrations/codex/x-account-posts)
- [Cursor](https://spiral.ai/integrations/cursor/x-account-posts)
- [Devin](https://spiral.ai/integrations/devin/x-account-posts)
- [dots](https://spiral.ai/integrations/dots/x-account-posts)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/x-account-posts)
- [Gemini](https://spiral.ai/integrations/gemini/x-account-posts)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/x-account-posts)
- [goose](https://spiral.ai/integrations/goose/x-account-posts)
- [Grok](https://spiral.ai/integrations/grok/x-account-posts)
- [Grok Build](https://spiral.ai/integrations/grok-build/x-account-posts)
- [Hermes](https://spiral.ai/integrations/hermes/x-account-posts)
- [Instinct](https://spiral.ai/integrations/instinct/x-account-posts)
- [Manus](https://spiral.ai/integrations/manus/x-account-posts)
- [Muse](https://spiral.ai/integrations/muse/x-account-posts)
- [Muse Code](https://spiral.ai/integrations/muse-code/x-account-posts)
- [n8n](https://spiral.ai/integrations/n8n/x-account-posts)
- [Notion](https://spiral.ai/integrations/notion/x-account-posts)
- [OpenClaw](https://spiral.ai/integrations/openclaw/x-account-posts)
- [opencode](https://spiral.ai/integrations/opencode/x-account-posts)
- [Perplexity](https://spiral.ai/integrations/perplexity/x-account-posts)
- [Raycast](https://spiral.ai/integrations/raycast/x-account-posts)
- [VS Code](https://spiral.ai/integrations/vscode/x-account-posts)
- [Windsurf](https://spiral.ai/integrations/windsurf/x-account-posts)
- [Zapier](https://spiral.ai/integrations/zapier/x-account-posts)

## More Google Antigravity guides

- [X (Twitter) video transcript](https://spiral.ai/integrations/antigravity/x-twitter-video-transcript)
- [X account profile](https://spiral.ai/integrations/antigravity/x-account-profile)
- [X (Twitter) video download](https://spiral.ai/integrations/antigravity/x-twitter-video-download)
- [X community details](https://spiral.ai/integrations/antigravity/x-community-details)
- [X (Twitter) user tweets](https://spiral.ai/integrations/antigravity/x-twitter-user-tweets)
- [X community posts](https://spiral.ai/integrations/antigravity/x-community-posts)

## Questions about X account posts in Google Antigravity

**Can Google Antigravity use X account posts?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run X account posts like any built-in tool.

**How much does X account posts cost in Google Antigravity?**

$0.005238 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need an Alexandria account to use X account posts in Google Antigravity?**

No. Spiral runs X account posts on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up X account posts in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while X account posts runs?**

X account posts runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Can this research include protected X posts?**

Public X posts are visible even without an X account, while protected posts are visible only to followers. Keep public account research within that visibility boundary.

**How current is the X information?**

Grok's X Search accesses real-time social media content. Its results can still vary because the model chooses its own queries.

**Are X profile descriptions independently verified business information?**

X lets account owners customize their name, bio, location, and website. Treat those details as the account's own description when using them to interpret its public presence.

**How much detail can an X bio contain?**

An X bio has a maximum of 160 characters. That makes it useful for a short account description, but a narrow basis for a detailed company or creator brief.

