Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Social Media

How to Use X (Twitter) Community in Claude Code

Fetch an X community’s name, description, size, rules, creation time, joining policy, and creator details. Use it to assess a community before participating or compare its details over time; posts come from a separate endpoint.

Prompts to try with X (Twitter) Community in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use X community details for https://x.com/i/communities/1926186499399139650 and add its name, description, and size to our project’s community directory.

X (Twitter) CommunityClaude Code
Try asking
  • Fetch https://x.com/i/communities/1926186499399139650 with X community details and build a rules panel in our app using the returned rule names and descriptions.

  • Use X community details for https://x.com/i/communities/1926186499399139650 and add its joining policy to our existing community card.

  • Retrieve https://x.com/i/communities/1926186499399139650 through X community details, save its size, and add a comparison against our last saved observation.

  • Use X community details for https://x.com/i/communities/1926186499399139650 to populate a community overview in our project with its description, creation time, and rules.

How to set up X (Twitter) Community in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X (Twitter) Community

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/twitter-community",
        "input": {
          "url": "https://x.com/i/communities/1926186499399139650"
        }
      }'

Then paste one of the prompts above: Claude Code finds X (Twitter) Community on Spiral, shows the price and runs it.

X (Twitter) Community providers and prices

Spiral runs X (Twitter) Community through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
X (Twitter) · Community
scrapecreators/twitter-community

What can you do with X (Twitter) Community in Claude Code?

Build a community directory that displays X descriptions, sizes, and rules. A coding agent can add the returned details to your project and implement comparisons between saved observations.

Check community fit

Summarize an X community’s description and rules to decide whether a product tutorial belongs there.

Prepare a participation brief

Turn the returned rules into a checklist for a brand’s community manager before they draft a contribution.

Measure community growth

Compare community size across saved observations and calculate the change between checks.

Watch joining policy changes

Compare the returned joining policy with an earlier observation and flag changes for the team planning to participate.

Maintain a community directory

Refresh names, descriptions, sizes, and rules for a curated list of X communities.

Detect changes in community purpose

Compare descriptions and rules over time to identify when a community’s stated focus changes.

Build a community details panel

Populate a research application with a community’s name, description, size, creation time, and joining policy.

Questions about X (Twitter) Community in Claude Code

Can Claude Code use X (Twitter) Community?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run X (Twitter) Community like any built-in tool.

How much does X (Twitter) Community cost in Claude Code?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need a ScrapeCreators account to use X (Twitter) Community in Claude Code?

No. Spiral runs X (Twitter) Community on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up X (Twitter) Community in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while X (Twitter) Community runs?

X (Twitter) Community runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

What does an X community details response contain?

It includes the community’s name, description, identifier, size, creation time, joining policy, rules, and creator profile. The documented result describes one community.

How fresh are the community details?

ScrapeCreators says it fetches the latest information available from X when you make a request. That is the provider’s freshness claim, rather than a stated update interval.

Does the response include community posts?

Posts have a separate Community Tweets endpoint. Use community details for the community’s description, size, joining policy, and rules.

How many rules can an X community have?

X requires at least one rule and allows up to ten at a time. This gives a concrete boundary for a rules summary.

Can X community search provide a complete directory?

No. X explicitly says that not all available communities appear in search results, so a shortlist assembled through search has that coverage limit.

Get started

Start using X (Twitter) Community in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options