# X for your AI agent: search posts, read replies, profile the authors

RouterGrowth gives an agent X (Twitter) as data through one MCP server: keyword search across public posts, a handle's recent posts, the replies under a post and the profile behind it, with the website and links from the bio. No X developer account, and each call is paid on its own.

HTML page: https://www.routergrowth.com/tools/x-twitter

## What your agent can do

| Capability | What it returns | Providers | From | Status |
|---|---|---|---|---|
| [`social.search`](https://www.routergrowth.com/catalog/social.search) | Public posts matching a keyword on X, LinkedIn, Reddit, YouTube, TikTok, Instagram or Facebook: brand mentions, category conversations, competitor chatter. | Apify | $0.002 per result | live |
| [`social.posts`](https://www.routergrowth.com/catalog/social.posts) | Recent public posts for a social handle. | Apify | $0.002 per result | live |
| [`social.comments`](https://www.routergrowth.com/catalog/social.comments) | Comments on one public post URL (YouTube, TikTok, Instagram, LinkedIn, Reddit, and replies to a post on X): text, author, likes, replies, time. | Apify | $0.002 per result | live |
| [`social.profile`](https://www.routergrowth.com/catalog/social.profile) | Public profile data for a social handle: name, followers, bio, verified, plus the bio link, every listed link, the person's own domain (link hubs such as Linktree excluded), a public or business email when the profile exposes one, profile URL, business flag, category and location when the platform provides them. | Apify | $0.002 per match | live |

## Ask it like this

- Find posts from the last week where founders ask for a CRM recommendation, and tell me who each author is and where they work. (`social.search`, `social.profile`)
- Read the replies under this competitor's launch post and list the objections people raise. (`social.comments`)
- Give me the last 30 posts from these five handles and what each one is pushing this month. (`social.posts`)

## Connect

MCP server: `https://api.routergrowth.com/mcp` (OAuth, or an API key header).

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
npm install -g routergrowth && routergrowth setup
routergrowth run -c social.search -i '{"platform": "x", "query": "looking for a CRM", "limit": 50}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "social.search", "input": {"platform": "x", "query": "looking for a CRM", "limit": 50}}'
```

## Worth knowing

- **Read, not write.** The catalog reads X: search, posts, replies, profiles. It does not post or send direct messages. When a workflow needs to reach the author, the agent finds a work email and writes there.
- **Profiles come with the way out.** A profile returns the bio link, every listed link and the person's own domain, which is what the next step (company lookup, email finder) needs.
- **Priced per post returned.** A search that returns fewer posts costs less, and an empty one costs nothing.

## Questions

### Is there an X MCP server I can use without the X API?

Yes. RouterGrowth is an MCP server that returns public X data through its providers, so your agent searches and reads X without an X developer account or API tier.

### Can I monitor X for mentions of my brand?

Yes. social.search returns public posts for a keyword or phrase. Run it on a schedule and keep the new posts: the guide on brand monitoring shows the whole loop.

### Can the agent post or DM on X?

No. Posting and direct messages are not in the catalog. The agent reads X, then reaches people by email or LinkedIn with the same key.

### What does a search return?

For each post: the text, the author and handle, the time, the URL and the engagement counts (likes, replies, reposts, views).

## Related

- Workflow: [Reach founders whose teams complain about their CRM](https://www.routergrowth.com/workflows/listening-crm-complaints.md)
- Workflow: [Reach teams complaining about cold email deliverability](https://www.routergrowth.com/workflows/listening-cold-email-deliverability.md)
- Guide: [Social media API: profiles, posts and comments from X, Reddit, LinkedIn, TikTok, Instagram and YouTube](https://www.routergrowth.com/use-cases/linkedin-and-social-signals.md)
- Guide: [Brand monitoring across web, social, news, reviews and AI answers](https://www.routergrowth.com/use-cases/brand-monitoring.md)
- Skill: [Social lead discovery](https://www.routergrowth.com/skills/social-lead-discovery.md)
- Skill: [Reddit surface map](https://www.routergrowth.com/skills/reddit-surface-map.md)
