[Integrations](https://spiral.ai/integrations) › [Amp](https://spiral.ai/integrations/amp) › [X post search](https://spiral.ai/integrations/amp/x-post-search)

# How to Use X post search in Amp

Returns sourced research about public X posts matching a topic. Use it to discover announcements, compare claims, or collect evidence across posts before inspecting a specific conversation.

|  |  |
| --- | --- |
| Model | X post search |
| 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 post search in Amp

- Use X post search to research @github posts about GitHub Actions changes from the past 30 days, then compare the findings with our CI documentation and propose supported edits.
- Use X post search to find @vercel posts about Next.js releases from the past month and draft a source-linked upgrade research note for this repository.
- Use X post search to investigate @Cloudflare posts about Workers compatibility changes from the past 30 days, then identify statements relevant to this project's deployment notes.
- Use X post search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from X post search and tell me what changed since last week.

## How to set up X post search in Amp

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

### Use Spiral's MCP server

1. **Add the server**: No header and no client ID or secret: Amp registers itself with Spiral.

```bash
amp mcp add spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `amp`. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
amp mcp doctor
```

### Use the Spiral skill

1. **Send Amp 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 post search**: 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/posts/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Amp finds X post search on Spiral, shows the price and runs it.

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

## X post search tools and prices

- [X · Search posts](https://spiral.ai/tools/alexandria/x-com/posts/search) (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 post search in Amp?

Build an evidence file for a product change using public X announcements and conversation context. A coding agent can compare those statements with project documentation and attach supporting post links to a proposed edit.

### Check a product announcement

Find a company's launch posts with X post search, or examine a known announcement with X post details. Build a brief that separates the original announcement from later replies and clarifications.

### Investigate a service incident

Research public incident updates from a service's official account, or inspect a known incident post and available replies. Extract the stated symptoms, workarounds, and recovery updates for a support brief.

### Prepare a competitor briefing

Find a competitor's public product announcements, or examine a specific announcement already flagged by the team. Summarize the claims and available clarifications with links to the supporting posts.

### Verify a reported claim

Search for the original public business or organization statement, or inspect its known post. Compare the available wording and conversation context with the claim in a draft article.

### Collect product feedback examples

Discover public discussions of a product, or examine replies available around its announcement. Group concrete complaints and feature requests as examples for review without presenting them as a representative survey.

### Research conference announcements

Find an organizer's public event updates, or inspect a known schedule announcement. Pull out stated session changes and clarifications to help prepare an attendee briefing.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Amp guides](https://spiral.ai/integrations/amp)

## X post search in other agents

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

## More Amp guides

- [X post replies](https://spiral.ai/integrations/amp/x-post-replies)
- [X repost check](https://spiral.ai/integrations/amp/x-repost-check)
- [X post details](https://spiral.ai/integrations/amp/x-post-details)
- [YouTube Channel Lives](https://spiral.ai/integrations/amp/youtube-channel-lives)
- [X list roster](https://spiral.ai/integrations/amp/x-list-roster)
- [YouTube Channel Shorts ScrapeCreators](https://spiral.ai/integrations/amp/youtube-channel-shorts-scrapecreators)

## Questions about X post search in Amp

**Can Amp use X post search?**

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run X post search like any built-in tool.

**How much does X post search cost in Amp?**

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

**Do I need an Alexandria account to use X post search in Amp?**

No. Spiral runs X post search 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 post search in Amp?**

About two minutes: add the server, then sign in, then check it.

**Does Amp wait while X post search runs?**

X post search runs in the background. Amp starts the run, checks on it and gives you the json when it's ready.

**Which X posts are public?**

Public posts are visible to anyone, including people without an X account. Protected posts are searchable only by their author and followers, so public research does not cover those conversations.

**Does X research include every matching post?**

No. X explicitly says it may omit posts from search results, and its safe search mode filters potentially sensitive content. A collection of returned posts cannot establish the total number of posts about a topic.

**Can X research find current posts?**

X Search accesses real-time X content. That supports research into current announcements and discussions, but the documentation's real-time description is not a measured guarantee of how quickly each new post appears.

**What conversation context can a post fetch include?**

X Search documents thread fetch as retrieving one post with parent posts and replies. That context can help distinguish an opening announcement from a reply that depends on an earlier statement.

**Does every returned source link support the summary?**

Not necessarily. xAI distinguishes encountered source URLs from sources directly referenced in the final answer, so check which post supports each claim.

