About twitr.sh
twitr.sh gives agents access to X/Twitter reads, search, monitoring, and posting, and can also be used as a scraper API. Calls are paid in USDC, without an X developer account or API key.
Key features
- 01Read tweets, profiles, and timelines
- 02Search and monitor X/Twitter content
- 03Draft and publish posts or replies
- 04Export follower and engagement datasets
- 05Pay per call in USDC
Use cases
- 01Track a competitor's account activity
- 02Search for discussion about a product
- 03Publish posts or replies after review
- 04Export tweet engagement data
MCP support
twitr.sh provides an MCP endpoint at POST https://twitr.sh/api/mcp for MCP clients to call X/Twitter tools. Calls are paid in USDC.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://twitr.sh/api/mcpclaude mcp add --transport http sh-twitr-twitr https://twitr.sh/api/mcp{"mcpServers":{"sh-twitr-twitr":{"type":"http","url":"https://twitr.sh/api/mcp"}}}Open in Cursor{"servers":{"sh-twitr-twitr":{"type":"http","url":"https://twitr.sh/api/mcp"}}}Open in VS Code{"mcpServers":{"sh-twitr-twitr":{"type":"http","url":"https://twitr.sh/api/mcp"}}}{"mcpServers":{"sh-twitr-twitr":{"serverUrl":"https://twitr.sh/api/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
14| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | No | Tweet ID, user ID, or username (depends on resource). |
| ids | array | No | batch-tweets|batch-users: up to 100 tweet IDs or user IDs/usernames. |
| count | integer | No | trends: number of trends to return. |
| woeid | integer | No | trends: region WOEID (default 1 = worldwide). |
| source | string | No | check-follower: source username. |
| target | string | No | check-follower: target username. |
| resource | enum | Yes | Which read operation to run.get-tweet | get-user | batch-tweets | batch-users | check-follower | trends | article | followers-you-know | download-media |
| resultsLimit | integer | No | Mandatory for followers-you-know: max results, billed per result. |
Details
From the project READMEX (Twitter) skills for Claude Code — no API key, no developer account
Six installable X/Twitter skills for Claude Code, Cursor, OpenClaw and Hermes — paid per call in USDC. No X developer account, no API keys, no OAuth, no signup, no subscription.
Start in 60 seconds · Ideas · The skills · Wallets · Scraper API · Pricing · Links
⚡ Start in 60 seconds
Most X/Twitter skills wrap the official API, so the setup is yours: register an X developer account, create an app, complete OAuth, store the tokens, and pay X directly. These skip all of it — your agent's wallet pays per request, and that payment is the authentication.
1 · Install the skills (needs Node 18+ and git on PATH):
npx skills add lnvestor/twitr-skills
Claude Code users can install from the plugin marketplace instead — either path works:
/plugin marketplace add lnvestor/twitr-skills
/plugin install twitr-skills@twitr
2 · Get a wallet. Any x402/MPP wallet works — each one's own documented command:
| Wallet | Try it | Pays on | |
|---|---|---|---|
| AgentCash ⭐ | npx agentcash try https://twitr.sh | Base · Solana · Tempo | |
| awal (Coinbase) | npx awal x402 bazaar search twitr.sh | Base | |
| pay.sh (Solana Foundation) | pay curl https://twitr.sh | Solana | |
| Poncho | tryponcho.com/m/twitr.sh | — | |
| Circle Agent Wallet | circle services search "twitr.sh" | — |
First time with agent wallets? → Wallet setup has step-by-step guides (AgentCash's onboarding bonus can even fund you up to $25 for free).
3 · Ask your agent something. The first call returns HTTP 402 with the exact price — that's the quote, not an error. Your wallet pays and retries automatically. $5 covers thousands of reads.
💡 What can my agent do?
Copy-paste any of these once the skills are installed:
"What is @vercel posting about this week?"
"Search X for what people are saying about my product — top 50 by likes, English only."
"Watch @competitor and tell me the moment they announce something." — a real-time monitor; events reach your agent by free polling or signed webhook
"Draft 3 tweet variants announcing our launch in my voice — I'll pick one, then post it."
"Export everyone who replied to this tweet as a dataset."
"Run my X presence: watch these 3 topics, queue drafts every morning, replies wait for my approval."
📦 The skills
Six focused skills with explicit trigger boundaries, so they don't fire over each other.
| Skill | What it does | |
|---|---|---|
| ⭐ | x-presence | Unattended presence — watch topics, draft in your voice, publish on a schedule, queue replies for approval. Start here — it drives the others internally. |
| 🤖 | twitter-automation | The automation builder — describe the automation you want (auto-reply, scheduler, watcher, engagement) and it designs, prices, and wires it from the primitives. |
| 🔎 | x-twitter-data | Live reads — tweets, profiles, search, timelines, lists, communities, trends. |
| 🔔 | x-twitter-monitor | Real-time monitors, delivered by free polling or HMAC-signed webhooks. |
| ✍️ | x-twitter-publish | Draft with AI, then post, reply, or quote through a connected account. |
| 📦 | x-twitter-research | Bulk exports — followers, repliers, reposters — as downloadable datasets. |
Install one instead of all six with --skill <name>.
Scheduling x-presence? See scheduling.md — verified commands for Claude Code routines, Hermes cron, and OpenClaw cron.
👛 Wallet setup
AgentCash — one command, ~2 minutes, and it may pay you up to $25.
1. Onboard (creates a local wallet, installs the AgentCash skill, and wires up MCP for your agent):
npx agentcash@latest onboard
Visiting agentcash.dev/onboard first and connecting GitHub/X/LinkedIn gets you a claim code worth up to $25 in free USDC — often enough to run these skills for weeks without depositing anything.
2. Fund it (skip if the bonus covered you):
npx agentcash fund
Guided flow with card on-ramp and bridging. No minimum.
3. Check it works — ask your agent "What is my AgentCash balance?" If it answers with a number, you're done.
Claude Code users can alternatively install just the MCP server:
claude mcp add agentcash --scope user -- npx -y agentcash@latest
Coinbase Agentic Wallet (awal) — email OTP login, fund with Apple Pay/card.
1. Sign in (a 6-digit code lands in your email; verify it):
npx awal@latest auth login
npx awal@latest auth verify <flowId> <otp>
2. Fund it — npx awal@latest show opens the Coinbase Onramp UI (Apple Pay, card, bank).
3. Done. Your agent pays twitr.sh over x402 on Base; to pay an endpoint by hand:
npx awal@latest x402 pay <url>.
pay.sh — Solana Foundation's payment layer; wraps your agent CLI.
1. Set up the wallet, then wrap the tool you use:
pay setup
pay claude # or: pay curl https://twitr.sh/api/tools/x_read ...
pay detects the 402/MPP challenge, asks your local wallet to sign, and retries with
payment proof — USDC on Solana. twitr.sh accepts Solana x402 natively.
Your client's per-call cap is a hard spend limit — no call can exceed it, and failed calls are never charged.
Connecting an X account? Your agent never sees your password — it hands you a single-use link and you sign in on twitr.sh in your own browser. Your wallet owns the account; the agent's wallet only gets write access, and only you can revoke it. See SECURITY.md · full write-up.
🐍 Use it as a Twitter scraper API
No agent? The same tools are a plain HTTP Twitter / X scraper API: search tweets, read
profiles and timelines, export followers, replies and likes, pull lists and communities. Every
endpoint is POST https://twitr.sh/api/tools/{tool} with a flat JSON body.
Two ways to pay, same prices:
- Card balance + API key. Sign in at twitr.sh/dashboard with
Google, top up by card, create a
tw_live_…key, and send it as a Bearer token. - Wallet, no account. Call without credentials, get HTTP 402 with the exact price, pay in USDC (x402 on Base or Solana, MPP on Tempo), retry. x402-aware clients do this automatically.
curl
curl -X POST https://twitr.sh/api/tools/x_search \
-H "Authorization: Bearer $TWITR_API_KEY" \
-H "content-type: application/json" \
-d '{"q":"from:nasa since:2026-01-01","queryType":"Latest","resultsLimit":20}'
Python — examples/python/search_tweets.py
import os, requests
r = requests.post(
"https://twitr.sh/api/tools/x_search",
headers={"Authorization": f"Bearer {os.environ['TWITR_API_KEY']}"},
json={"q": "from:nasa", "queryType": "Latest", "resultsLimit": 20},
)
for tweet in r.json()["items"]:
print(tweet["createdAt"], tweet["text"][:80])
Node — examples/node/search-tweets.mjs
const res = await fetch("https://twitr.sh/api/tools/x_search", {
method: "POST",
headers: { authorization: `Bearer ${process.env.TWITR_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({ q: "from:nasa", queryType: "Latest", resultsLimit: 20 }),
});
for (const t of (await res.json()).items) console.log(t.createdAt, t.text.slice(0, 80));
Volume tools bill per returned item and need resultsLimit, so you never pay for more than you
asked for. Full tool list and inputs: twitr.sh/tools ·
OpenAPI.
💸 What it costs
| Action | Price |
|---|---|
| Reading events from a monitor | free |
| Drafting a post | ~$0.0024 |
| A read or search | ~$0.0012 / item |
| A post or reply | $0.036 |
| A monitor | ~$0.025 / hour |
A typical week running x-presence — two monitors, a dozen replies, a few posts — is about
$9. Every 402 quotes the exact price before your wallet signs anything.
🚫 What these skills will not do
The presence and publish skills contain no automated following, unfollowing, or liking, and no keyword-triggered replies.
X prohibits these by name, and its published ranking weights show follows aren't scored at all
while a single report scores −369.0 — so the banned tactics cost reach as well as risking
the account. twitter-automation exposes the full action set for users who need it, but it
prices every design up front, requires explicit confirmation, and warns when a design is
spam-shaped enough to risk the account.
Reasoning and sources: ranking-signals.md ·
x-rules.md
🔗 Links
| All six skills | https://twitr.sh/skills |
| Agent guide | https://twitr.sh/skill.md |
| Docs | https://twitr.sh/docs |
| Security model | https://twitr.sh/agent-security |
| OpenAPI 3.1 | https://twitr.sh/openapi.json |
| MCP | POST https://twitr.sh/api/mcp |
| Payment discovery | x402 · MPP |
| Explorer listings | x402scan · agentcash |
License
MIT — see LICENSE.
Independent service. Not affiliated with X Corp. "X" and "Twitter" are trademarks of X Corp.
Enjoying twitr-skills? A ⭐ on this repo helps other agents find it.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.