[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [YouTube community posts](https://spiral.ai/integrations/vscode/youtube-community-posts)

# How to Use YouTube community posts in VS Code

Returns a channel’s community post text, relative publication times, and attachments such as images, videos, and polls. Use it to review announcements and discussion starters, with about 20 posts per page.

|  |  |
| --- | --- |
| Model | YouTube community posts |
| 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 YouTube community posts in VS Code

- Use YouTube community posts to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from YouTube community posts and tell me what changed since last week.
- Check YouTube community posts and summarize what you find in three bullet points.
- Pull the newest data from YouTube community posts and give me the result as a table.
- Check YouTube community posts every morning and tell me only when something changed.

## How to set up YouTube community posts 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 YouTube community posts**: 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/youtube-web-v2-get-channel-community-posts",
    "input": {
      "channel_id": "UCkRfArvrzheW2E7b6SVT7vQ"
    }
  }'
```

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

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

## YouTube community posts tools and prices

- [YouTube Web V2 · Get channel community posts](https://spiral.ai/tools/tikhub/tikhub/youtube-web-v2-get-channel-community-posts) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| need_format |  | true | Whether to clean and format the data |
| country_code |  | US | Country code |
| language_code |  | zh-CN | Language code |
| continuation_token |  | — | Pagination token for next page |

## What can you do with YouTube community posts in VS Code?

Build a YouTube research report that connects channel references with publishing and community discussion. A coding agent can add the returned data to your project’s tables and implement parsing for raw search responses.

### Compare competing channels

Research NASA and ESA publishing: resolve channel identities, compare descriptions, discover relevant search results, and review videos, Shorts, and community announcements. Read post comments and replies for recurring audience questions, then attach recognizable channel links to the comparison.

### Prepare a product launch briefing

Build a briefing around a Google product announcement. Confirm the publishing channels and their descriptions, find related coverage through search, inventory videos and Shorts, and examine community announcements with their comment threads. Include channel links so editors can check the sources.

### Research creator sponsorship fit

Find public technology channels, reconcile their URLs, and review their descriptions and publishing topics. Compare video titles, Shorts, community posts, and aggregate discussion themes to prepare a sponsorship shortlist with source links. Use raw or structured search according to the research workflow.

### Plan an educational content series

Research Python teaching channels and their public catalogs. Use channel descriptions and identity lookups to organize sources, search for existing lessons, and compare videos with Shorts. Review community posts, comments, and replies for questions worth addressing in a lesson outline.

### Build a community question backlog

Review public community posts from an educational channel and collect recurring questions from comments and replies. Group questions by topic without ranking or profiling individual commenters.

## Overview

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

## YouTube community posts in other agents

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

## More VS Code guides

- [YouTube community post details](https://spiral.ai/integrations/vscode/youtube-community-post-details)
- [YouTube creator connected accounts](https://spiral.ai/integrations/vscode/youtube-creator-connected-accounts)
- [YouTube community post comments](https://spiral.ai/integrations/vscode/youtube-community-post-comments)
- [YouTube creator profile](https://spiral.ai/integrations/vscode/youtube-creator-profile)
- [YouTube community post](https://spiral.ai/integrations/vscode/youtube-community-post)
- [YouTube creator recent videos](https://spiral.ai/integrations/vscode/youtube-creator-recent-videos)

## Questions about YouTube community posts in VS Code

**Can VS Code use YouTube community posts?**

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

**How much does YouTube community posts 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 YouTube community posts in VS Code?**

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

**How long does it take to set up YouTube community posts in VS Code?**

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

**Does VS Code wait while YouTube community posts runs?**

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

**Does YouTube search cover private and unlisted videos?**

Private videos do not appear in YouTube search. Unlisted videos also stay out of search unless someone adds them to a public playlist.

**How fresh are YouTube engagement counts?**

YouTube says metrics may take the first few hours after a video is published to appear. Counts on a new upload can therefore be incomplete.

**Is a YouTube handle the same as a channel name?**

Handles are unique identifiers that start with @ and are distinct from channel names. Each channel can have only one handle.

**Do older YouTube custom URLs still work?**

Existing custom URLs continue to work and redirect to the channel’s handle-based URL. YouTube no longer allows new custom URLs or changes to existing custom URLs.

**Is YouTube content available in every country?**

Video owners can restrict availability to certain countries or regions, usually for licensing reasons. YouTube can also block content to comply with local laws.

