TwtAPI MCP Server
MCP serverSearchHosted Twitter/X tools for search, users, timelines, followers, trends, and research.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use TwtAPI MCP Server
From the project's README
As published by TonyGJJ/twtapi-mcp in README.md.
Use public Twitter/X data from Cursor, Claude Code, Codex CLI, Grok, or any compatible MCP client. TwtAPI hosts the server, so there is no local runtime to install or maintain.
Quick start
- Create a free TwtAPI account at twtapi.com.
- Open the MCP page in the dashboard and generate an
sk-MCP key. - Pick a client configuration below and replace
sk-your-mcp-key.
The recommended transport is Streamable HTTP:
https://mcp.twtapi.com/mcp
Send the MCP key as a bearer token:
Authorization: Bearer sk-your-mcp-key
SSE remains available for clients that do not yet support Streamable HTTP:
https://mcp.twtapi.com/sse?mcp_key=sk-your-mcp-key
Client setup
| Client | Setup |
|---|---|
| Cursor | examples/cursor.json |
| Claude Code | examples/claude-code.md |
| Codex CLI | examples/codex-cli.md |
| Grok | examples/grok.md |
Available tools
The hosted server currently exposes 10 tools for search, user lookup, timelines, followers, tweet detail, and trends. See docs/tools.md for parameters and example prompts.
Documentation
- Authentication
- Tool reference
- Troubleshooting
- TwtAPI MCP setup page
- TwtAPI API documentation
- Pricing
Health check
curl https://mcp.twtapi.com/health
Expected response:
{"status":"ok","service":"twtapi-mcp"}
Security
Do not commit MCP keys to a repository. Prefer environment variables or your client's secret storage. Regenerate the key from the TwtAPI dashboard if it is exposed.
This repository contains public configuration and documentation for the hosted service. The production server implementation is maintained separately.
Advanced
- Delivery
- twtapi MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
- Catalog kind
- mcp-server
- Gateway key
io-github-tonygjj-twtapi- Source
- github.com/TonyGJJ/twtapi-mcp
- Hosted endpoint
https://mcp.twtapi.com/mcp