Reddit and X data in Windsurf
Add ChatterAPI to Cascade's mcp_config.json and the Windsurf agent can search Reddit and X, find subreddits and read threads. It uses a serverUrl and a header, and reads the key from your environment.
https://api.chatterapi.com/mcpWhat you get
- Every live Reddit and X tool is available as an MCP tool: search, threads, subreddits, users, followers, timelines, leads and brand mentions.
- Each result includes
credits.chargedandcredits.remaining, so the agent can see what it spent. - Every key gets two free tools:
chatterapi_accountfor your balance andchatterapi_list_toolsfor every tool and its cost. - You don't need a Reddit or X developer account. The same key works for REST calls and draws from the same credit balance.
Set it up
Create an API key
Sign in at chatterapi.com/signup with Google and create a key on the Keys page. You get 100 free credits. A
ca_test_key returns recorded samples for 0 credits, which is handy during setup.Open the MCP config
In Cascade, open MCP servers and click View raw config. Current docs put the file at
~/.config/devin/mcp_config.jsonon macOS and Linux, and%APPDATA%\devin\mcp_config.jsonon Windows. Older installs used~/.codeium/windsurf/mcp_config.json.Add the server
${env:CHATTERAPI_KEY}reads the key from your environment. You can paste the key there instead.mcp_config.json{ "mcpServers": { "chatterapi": { "serverUrl": "https://api.chatterapi.com/mcp", "headers": { "Authorization": "Bearer ${env:CHATTERAPI_KEY}" } } } }Refresh
Press refresh in the MCP servers panel. The tools show up under chatterapi.
Try a subreddit search
Ask where to post and Cascade calls reddit_communities. The response below is a real recorded call.
Find subreddits about SaaS marketing and list them by size.
{
"method": "tools/call",
"params": {
"name": "reddit_communities",
"arguments": {
"q": "saas marketing"
}
}
}{
"data": [
{
"name": "SaaSMarketing",
"title": "SaaSMarketing",
"description": "A community dedicated to sharing and discussing all aspects of SaaS marketing, from super tactical stuff all the way up to overarching strategy. \n\nIf you're a SaaS founder and you're making $5K-$500K MRR, consider joini…",
"subscribers": 37320,
"createdAt": "2021-08-14T09:41:52.000Z",
"nsfw": false,
"url": "https://www.reddit.com/r/SaaSMarketing/",
"rules": null,
"moderators": null,
"posting": null
},
{
"name": "B2BSaaS",
"title": "B2B SaaS: It's big enough to deserve its own subreddit.",
"description": "This subreddit is directed at anyone involved in a B2B SaaS business.\n\nTypical topics include conversions, retention, churn, metrics, analytics, engagement, inbound marketing, distribution channels and so on.\n\nShare advi…",
"subscribers": 30565,
"createdAt": "2014-02-01T19:34:22.000Z",
"nsfw": false,
"url": "https://www.reddit.com/r/B2BSaaS/",
"rules": null,
"moderators": null,
"posting": null
}
],
"page": {
"nextCursor": "ASez…",
"hasMore": true
}
}Recorded from a live call on . Long text is shortened and the cursor is cut. A live key is charged 2 credits for this call. A test key returns this same sample for 0 credits.
Limits worth knowing
- Cascade can use at most 100 tools at a time across all servers. If you add many servers, turn off the tools you don't use. source
- The config supports
${env:VAR}and${file:/path}interpolation. source - On Enterprise plans MCP has to be turned on in settings, and Team or Enterprise admins can control MCP access. source
Last checked . Sources: Cascade MCP docs.
Questions
Does it cost more through Windsurf than through REST?
Can I try it without spending credits?
ca_test_ key. Every tool returns a recorded sample for 0 credits, whatever you ask.