mcpField
T
TwtAPI

TwtAPI

Remote
twtapi.comSocial Media0Updated 6w ago

About TwtAPI

TwtAPI is a hosted MCP server that gives compatible clients tools for querying public Twitter/X data. It requires no local runtime to install or maintain and supports searches, user lookups, timelines, followers, and trend research.

Key features

  1. 01Search public Twitter/X data
  2. 02Look up users and timelines
  3. 03Retrieve followers and tweet details
  4. 04Access trend data
  5. 05Connect to a hosted service without a local runtime

Use cases

  1. 01Research public posts from an MCP client
  2. 02Review a user's timeline and followers
  3. 03Inspect tweet details and track trends

MCP support

It provides a hosted MCP server over Streamable HTTP, with SSE also available for clients that do not support that transport. Clients authenticate with an MCP key.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.twtapi.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

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.

All endpoints
Streamable HTTPhttps://mcp.twtapi.com/mcpAuth required
SSEhttps://mcp.twtapi.com/sse?mcp_key={mcp_key}

Tools

Details

From the project README

TwtAPI MCP Server

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

  1. Create a free TwtAPI account at twtapi.com.
  2. Open the MCP page in the dashboard and generate an sk- MCP key.
  3. 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

ClientSetup
Cursorexamples/cursor.json
Claude Codeexamples/claude-code.md
Codex CLIexamples/codex-cli.md
Grokexamples/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

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.

Comments

Markdown supported

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.