Skip to main content
Glama
TwitterDown MCP Server

TwitterDown MCP Server

README.md
# TwitterDown MCP server

Resolve public X posts and manage a TwitterDown Agent API account from an MCP
client. The server uses stdio and runs on Node.js 20 or later. After npm release,
launch it with your MCP client or run the command directly to open the stdio
transport.

```sh
npx -y @twitterdown/mcp-server
```

## Claude Desktop

Add the server to `claude_desktop_config.json` and restart Claude Desktop.

```json
{
  "mcpServers": {
    "twitterdown": {
      "command": "npx",
      "args": ["-y", "@twitterdown/mcp-server"],
      "env": {
        "TWITTERDOWN_API_KEY": "<your Agent API key>"
      }
    }
  }
}
```

Keep the configuration private. To register without an existing key, omit
`TWITTERDOWN_API_KEY`.

## VS Code

Add this to your VS Code MCP user configuration. VS Code prompts for a masked
key and stores it for subsequent starts. To start without a key, omit both the
`env` entry and the `inputs` block.
[VS Code MCP configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration)

```json
{
  "servers": {
    "twitterdown": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@twitterdown/mcp-server"],
      "env": {
        "TWITTERDOWN_API_KEY": "${input:twitterdown-api-key}"
      }
    }
  },
  "inputs": [
    {
      "id": "twitterdown-api-key",
      "type": "promptString",
      "description": "TwitterDown Agent API key",
      "password": true
    }
  ]
}
```

`TWITTERDOWN_API_BASE` defaults to `https://twitterdown.com`. Set it in the
server's `env` for a trusted alternate API origin.

## Tools

| Tool | Arguments | Result |
| --- | --- | --- |
| `register_account` | None | Completes proof of work and returns the account ID, API key and recovery token. The proof search is capped at 10 seconds. |
| `get_claim_url` | None | Returns a private claim URL and expiry. |
| `parse_tweet` | `url`, optional `idempotency_key` | Returns video URLs and metadata, or a pending request ID and status URL. An omitted key is generated as a UUID. |
| `get_account` | None | Returns account quota, wallet and pricing information. |
| `get_request` | `request_id` | Reads a pending or terminal request and any stored result. |

Save registration credentials securely. MCP clients can retain tool output in
their conversation history. Set the saved key in the client configuration and
restart the server before calling authenticated tools. Share claim URLs privately.

For a pending parse, wait for the returned `retry_after` value when present,
then call `get_request` using the response's `data.request_id`. Supply a
stable idempotency key if you may need to replay a parse after an uncertain
outcome. The [Agent API guide](https://twitterdown.com/agent.md) covers the
underlying REST contract, ownership, credential recovery, quota and billing.

## Local development

From the repository root, run `npm install` and `npm test`. The SDK integration
test starts the server over stdio and uses a loopback HTTP stub.
Run `node server.js` directly from an MCP client for local development.

TDQS

A3.5/5.0

Scored across 5 tools

Disambiguation4/5

Each tool maps to a distinct action/resource: account registration, claim URL generation, tweet parsing, account inspection, and request lookup. Overlap is minimal, though register_account and get_claim_url both relate to account setup and may require reading descriptions to distinguish.

Naming Consistency5/5

All names use snake_case with an action verb followed by an object, and verbs are chosen semantically (register, get, parse). The pattern is consistent and readable throughout.

Tool Count5/5

Five tools fit a focused API wrapper: one for each core operation without obvious filler. The surface is neither thin nor bloated for the stated purpose.

Completeness4/5

Covers account registration/claiming, parsing, quota/account info, and async request lookup, which is the core workflow. Minor gaps like listing requests or broader account lifecycle operations exist but are unlikely to block typical use.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues