[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [X community details](https://spiral.ai/integrations/vscode/x-community-details)

# How to Use X community details in VS Code

Returns an X community's name, description, participant count, primary topic, and rules. Use it to assess the community's purpose before reviewing its posts.

|  |  |
| --- | --- |
| Model | X community details |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with X community details in VS Code

- Use X community details for community 1493290339532222469 and add its description and rules to our research page.
- Use X community details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from X community details and tell me what changed since last week.
- Check X community details and summarize what you find in three bullet points.
- Pull the newest data from X community details and give me the result as a table.

## How to set up X community details in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run X community details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "tikhub",
    "model": "tikhub/twitter-web-fetch-community-info",
    "input": {
      "community_id": "1493290339532222469"
    }
  }'
```

Then paste one of the prompts above: VS Code finds X community details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## X community details tools and prices

- [X (Twitter) Web · Get community info](https://spiral.ai/tools/tikhub/tikhub/twitter-web-fetch-community-info) (TikHub): $0.0013 per request.

## What can you do with X community details in VS Code?

Build an internal X research panel for a brand or publication. Your coding agent can add returned posts, community context, or organization checks to the project and compare them with saved observations.

### Prepare an event recap

Combine public organization relationship checks, community context and rosters, list coverage and rosters, and announcement replies into an internal event report.

### Assess a public community

Review its stated purpose, rules, represented organizations, discussion topics, and replies to selected posts before planning editorial participation.

### Assemble sponsorship evidence

Document public partner reposts and follows alongside community context, organization representation in lists and communities, related posts, and announcement feedback.

### Compare competitor publishing

Compare public business connections, repost distribution, community positioning, list representation, published discussion, and reply themes across competing brands.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## X community details in other agents

- [Amp](https://spiral.ai/integrations/amp/x-community-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/x-community-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/x-community-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/x-community-details)
- [Cline](https://spiral.ai/integrations/cline/x-community-details)
- [Codex](https://spiral.ai/integrations/codex/x-community-details)
- [Cursor](https://spiral.ai/integrations/cursor/x-community-details)
- [Devin](https://spiral.ai/integrations/devin/x-community-details)
- [dots](https://spiral.ai/integrations/dots/x-community-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/x-community-details)
- [Gemini](https://spiral.ai/integrations/gemini/x-community-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/x-community-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/x-community-details)
- [goose](https://spiral.ai/integrations/goose/x-community-details)
- [Grok](https://spiral.ai/integrations/grok/x-community-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/x-community-details)
- [Hermes](https://spiral.ai/integrations/hermes/x-community-details)
- [Instinct](https://spiral.ai/integrations/instinct/x-community-details)
- [Manus](https://spiral.ai/integrations/manus/x-community-details)
- [Muse](https://spiral.ai/integrations/muse/x-community-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/x-community-details)
- [n8n](https://spiral.ai/integrations/n8n/x-community-details)
- [Notion](https://spiral.ai/integrations/notion/x-community-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/x-community-details)
- [opencode](https://spiral.ai/integrations/opencode/x-community-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/x-community-details)
- [Raycast](https://spiral.ai/integrations/raycast/x-community-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/x-community-details)
- [Zapier](https://spiral.ai/integrations/zapier/x-community-details)

## More VS Code guides

- [X account profile](https://spiral.ai/integrations/vscode/x-account-profile)
- [X community posts](https://spiral.ai/integrations/vscode/x-community-posts)
- [X account posts](https://spiral.ai/integrations/vscode/x-account-posts)
- [X community roster](https://spiral.ai/integrations/vscode/x-community-roster)
- [X (Twitter) video transcript](https://spiral.ai/integrations/vscode/x-twitter-video-transcript)
- [X community tweets](https://spiral.ai/integrations/vscode/x-community-tweets)

## Questions about X community details in VS Code

**Can VS Code use X community details?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run X community details like any built-in tool.

**How much does X community details cost in VS Code?**

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

**Do I need a TikHub account to use X community details in VS Code?**

No. Spiral runs X community details on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up X community details in VS Code?**

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

**Does VS Code wait while X community details runs?**

X community details runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

**Can TikHub retrieve private X content?**

TikHub describes its X coverage as publicly available data. Protected posts and accounts fall outside that coverage and can return empty results or errors.

**Can it recover deleted X posts?**

Deleted posts can return empty results or errors. TikHub does not describe these endpoints as a recovery service for deleted content.

**Are X handles reliable identifiers over time?**

Handles can change, while numeric account and post IDs remain stable. Use numeric IDs when comparing observations over time.

**Are these X endpoints read-only?**

Yes. TikHub describes its X access as read-only public data access.

**Does a missing result always mean the content never existed?**

No. TikHub says deleted, suspended, or protected posts and accounts can produce empty results or errors.

