The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the TwtAPI listing page.
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.
sk- MCP key.sk-your-mcp-key.The recommended transport is Streamable HTTP:
Send the MCP key as a bearer token:
SSE remains available for clients that do not yet support Streamable HTTP:
| Client | Setup |
|---|---|
| Cursor | examples/cursor.json |
| Claude Code | examples/claude-code.md |
| Codex CLI | examples/codex-cli.md |
| Grok | examples/grok.md |
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.
Expected response:
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.