# twitterapi-io-mcp [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/dorukardahan/twitterapi-io-mcp  
**GitHub Stars:** 10  
**npm Downloads (last month):** 3413  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/twitterapi-io-mcp

## Description
Offline access to TwitterAPI.io docs for AI assistants. 54 endpoints, 19 pages, 21 blog posts.

## Tools
Capabilities this server exposes over MCP:

- **search_twitterapi_docs** — Search TwitterAPI.io documentation: API endpoints, guides (pricing, rate limits, filter rules), and blog posts.

USE THIS WHEN: You need to find information across the entire documentation.
RETURNS: Ranked results with endpoint paths, descriptions, and relevance scores.

Examples:
- "advanced search" → finds tweet search endpoints
- "rate limit" → finds QPS limits and pricing info
- "webhook" → finds webhook setup endpoints
- "getUserInfo" → finds user info endpoints (supports camelCase)
- **get_twitterapi_endpoint** — Get complete documentation for a specific TwitterAPI.io endpoint.

USE THIS WHEN: You know the exact endpoint name (e.g., from search results).
RETURNS: Full details including path, parameters, cURL example, and code snippets.

Common endpoints:
- get_user_info, get_user_followers, get_user_following
- tweet_advanced_search, get_tweet_by_id
- add_webhook_rule, get_webhook_rules
- **list_twitterapi_endpoints** — List all TwitterAPI.io API endpoints organized by category.

USE THIS WHEN: You need to browse available endpoints or find endpoints by category.
CATEGORIES: user, tweet, community, webhook, stream, action, dm, list, trend

RETURNS: Endpoint names with HTTP method and path for each category.
- **get_twitterapi_guide** — Get a TwitterAPI.io page from the offline snapshot by page key.

USE THIS WHEN: You need the full content of a specific page (guides, docs, policies, contact, etc.).
TIP: Use search_twitterapi_docs if you don't know the page key.

RETURNS: Full guide content with headers, paragraphs, and code examples.
- **get_twitterapi_url** — Fetch a TwitterAPI.io or docs.twitterapi.io URL.

USE THIS WHEN: You have a specific link and want its full content.
RETURNS: Parsed content from the offline snapshot. If not found, you can set fetch_live=true (restricted to twitterapi.io/docs.twitterapi.io).
- **get_twitterapi_pricing** — Get TwitterAPI.io pricing information: credit system, endpoint costs, QPS limits.

USE THIS WHEN: You need to know API costs, credit calculations, or rate limits.
RETURNS: Pricing tiers, credit costs per endpoint, QPS limits by balance level.
- **get_twitterapi_auth** — Get TwitterAPI.io authentication guide: API key usage, headers, code examples.

USE THIS WHEN: You need to set up authentication or see request examples.
RETURNS: API key header format, base URL, cURL/Python/JavaScript examples.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "twitterapi-io-mcp": {
    "command": "npx",
    "args": ["-y","twitterapi-io-mcp"]
  }
}
```

## Documentation

## What twitterapi-io-mcp does

twitterapi-io-mcp makes TwitterAPI.io reference material available to MCP-compatible AI clients through a local documentation server. The package includes documentation for active v2 endpoints, guides, and blog posts. Endpoint records include HTTP methods, paths, parameters, request bodies, cURL examples, and response schemas. The snapshot also covers topics such as pricing, authentication, QPS limits, webhooks, and streaming.

This package is documentation-only. It does not act as a proxy for live TwitterAPI.io calls, and using the MCP server does not require a TwitterAPI.io API key. It is useful for generating implementation guidance, checking request formats, comparing available endpoints, and locating platform rules before writing client code.

## How it works

The server runs locally through Node.js and communicates with an MCP client over the standard command launched by `npx`. Its content is read from a bundled offline snapshot, allowing searches and page retrieval without an external documentation request. A URL tool can also retrieve content from the snapshot and supports restricted live fetching for TwitterAPI.io and docs.twitterapi.io URLs when requested.

A typical workflow starts with `search_twitterapi_docs` when the endpoint or page key is unknown. After identifying a candidate, `get_twitterapi_endpoint` returns its detailed request and response information. `list_twitterapi_endpoints` provides category-based browsing, while the guide, pricing, and authentication tools provide focused reference lookups.

## Setup and configuration

Node.js 18.18.0 or newer is required. The package can be added with Claude Code using:

```bash
claude mcp add --scope user twitterapi-io -- npx -y twitterapi-io-mcp
```

Claude Desktop, Cursor, VS Code, and Windsurf can run it with an MCP configuration that uses `npx` as the command and `-y twitterapi-io-mcp` as its arguments. It can also be built and started from source with `npm install` followed by `node index.js`, or run through Docker.

Disk caching is enabled by default. Set `TWITTERAPI_MCP_DISK_CACHE=0` to turn it off. No TwitterAPI.io credential is needed for the documentation server.

## Tools and capabilities

- Search the complete documentation set with fuzzy and typo-tolerant matching.
- Retrieve full specifications for named endpoints, including parameters, examples, and response schemas.
- Browse endpoints by categories such as user, tweet, community, webhook, stream, action, direct message, list, and trend.
- Open guide pages from the offline snapshot using a page key.
- Retrieve documentation by TwitterAPI.io URL or path, with restricted live fetching for supported domains.
- Look up pricing, credit costs, endpoint charges, and QPS limits.
- Retrieve authentication instructions, header formats, and cURL, Python, and JavaScript examples.

The endpoint catalog focuses on active v2 APIs and includes read, write, webhook, stream, list, community, direct-message, user, tweet, and action endpoints. Write-endpoint documentation includes fields such as `login_cookies`, `proxy`, and request-body parameters where applicable.

## Limitations and notes

The bundled content is an offline snapshot, so it should be checked against the upstream service when making decisions about a changing API. The MCP server supplies reference material rather than executing TwitterAPI.io operations. Live URL retrieval is restricted to `twitterapi.io` and `docs.twitterapi.io`.

This is an independent community project and is not affiliated with TwitterAPI.io. The package is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/twitterapi-io-mcp/readme_

