io.github.Sorsa-io/sorsa-mcp

Registre officiel Marketing et ventes

MCP server for the Sorsa.io X/Twitter data API

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package sorsa-mcp
Claude Code
claude mcp add sorsa-mcp -e 'SORSA_API_KEY=<your sorsa_api_key>' -- npx -y sorsa-mcp@1.0.4
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "sorsa-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "sorsa-mcp@1.0.4"
            ],
            "env": {
                "SORSA_API_KEY": "<your sorsa_api_key>"
            }
        }
    }
}

Variables d'environnement

  • SORSA_API_KEY obligatoire secret Sorsa.io API key, sent in the ApiKey header with every request.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Sorsa MCP
  2. Installation
  3. Configuration
  4. Connecting a client
  5. Local check
  6. Available tools
  7. Project layout
  8. How it works
  9. License

Sorsa MCP

An MCP server for the Sorsa.io API v3 — access to X/Twitter data: profiles, tweets, search, follow/retweet checks, Sorsa scores, lists and communities.

The server exposes 40 tools, one per API endpoint.

Installation

npm install
npm run build

Or, once published, run it with no install via npx (see below).

Configuration

You need a Sorsa API key. It is read from the SORSA_API_KEY environment variable and sent with every request in the ApiKey header.

VariableRequiredDefault
SORSA_API_KEYyes—
SORSA_BASE_URLnohttps://api.sorsa.io/v3

Connecting a client

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project).

Using the published npm package (nothing to install, npx fetches it):

{
  "mcpServers": {
    "sorsa": {
      "command": "npx",
      "args": ["-y", "sorsa-mcp"],
      "env": {
        "SORSA_API_KEY": "YOUR_KEY"
      }
    }
  }
}

Or running from a locally built checkout:

{
  "mcpServers": {
    "sorsa": {
      "command": "node",
      "args": ["D:\\Code\\Cursor Projects\\Sorsa_MCP\\dist\\index.js"],
      "env": {
        "SORSA_API_KEY": "YOUR_KEY"
      }
    }
  }
}
Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json and add the same mcpServers block as above, then restart the app.

Local check

# build
npm run build

# run (communicates over stdio — easiest to test through a client)
SORSA_API_KEY=YOUR_KEY npm start

The quickest way to confirm your key works is the get_key_usage_info tool — it returns your remaining request balance and the key's expiration date.

Available tools

Profiles: get_user_info, get_user_info_batch, get_followers, get_following, get_verified_followers, get_account_about

Tweets: get_tweet_info, get_tweet_info_bulk, get_user_tweets, get_tweet_comments, get_tweet_quotes, get_retweeters, get_article, get_trends

Search: search_tweets, search_users, search_mentions, get_space_info

Communities: get_community_members, get_community_tweets, search_community_tweets

Checks: check_follow, check_comment, check_quoted, check_retweet, check_community_member

Sorsa metrics: get_sorsa_score, get_sorsa_score_changes, get_followers_stats, get_top_followers, get_top_following, get_new_followers_7d, get_new_following_7d

Lists: get_list_members, get_list_tweets, get_list_followers

Utilities: username_to_id, id_to_username, link_to_id, get_key_usage_info

Project layout

  • src/endpoints.ts — a declarative table of every endpoint (method, path, parameters). To add or change a tool, edit this file only.
  • src/index.ts — the HTTP client plus tool registration driven by that table.

How it works

Each endpoint is one entry in ENDPOINTS. Based on each field's in (path / query / body), the handler routes arguments into the URL path, the query string, or the JSON body, then sends the request to Sorsa with the ApiKey header. The response is returned to the client as JSON text.

License

MIT

Questions fréquentes

Qu'est-ce que io.github.Sorsa-io/sorsa-mcp ?

MCP server for the Sorsa.io X/Twitter data API

Comment installer io.github.Sorsa-io/sorsa-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add sorsa-mcp -e 'SORSA_API_KEY=<your sorsa_api_key>' -- npx -y sorsa-mcp@1.0.4. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.Sorsa-io/sorsa-mcp ?

Oui. Il attend SORSA_API_KEY, à renseigner dans sa configuration.

io.github.Sorsa-io/sorsa-mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.Sorsa-io/sorsa-mcp ?

Il est publié par Sorsa-io. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.