Reddit and X data in CrewAI
CrewAI connects to ChatterAPI's hosted MCP server with MCPServerHTTP, so each agent in a crew can search Reddit and X, find leads and read threads. The key goes in a header.
https://api.chatterapi.com/mcpWhat you get
- Reddit and X tools for any agent in a crew, discovered from the server.
- Lead finding and brand mentions are single calls, so a research agent spends fewer steps.
- Every result shows the credits it used.
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 helps while you set things up.Install CrewAI with MCP support
CrewAI's docs install the MCP extras with it.
terminaluv pip install 'crewai-tools[mcp]'Attach the server to an agent
Pass
MCPServerHTTPin the agent'smcpslist with the header.cache_tools_listmeans tools aren't listed again on every run.crew.pyimport os from crewai import Agent from crewai.mcp import MCPServerHTTP researcher = Agent( role="Market researcher", goal="Find people on Reddit and X looking for a CRM", backstory="You read social threads and report what buyers ask for.", mcps=[ MCPServerHTTP( url="https://api.chatterapi.com/mcp", headers={"Authorization": f"Bearer {os.environ['CHATTERAPI_KEY']}"}, streamable=True, cache_tools_list=True, ) ], )
A lead search from the crew
The researcher calls everywhere_leads with arguments like these. The response is from a real recorded call.
Find people on Reddit and X this year who are asking for a CRM recommendation.
{
"method": "tools/call",
"params": {
"name": "everywhere_leads",
"arguments": {
"q": "crm",
"time": "year"
}
}
}{
"data": [
{
"platform": "reddit",
"kind": "post",
"id": "t3_1v0xjox",
"url": "https://www.reddit.com/r/CRMSoftware/comments/1v0xjox/best_crm_for_small_business_lead_management/",
"text": "Best CRM for Small Business Lead Management: Affordable CRM Recommendations for Small Teams\n\nOur startup has been growing steadily, and we've reached the point where managing leads through spreadsheets and shared documen…",
"author": "Life-Broccoli-6529",
"authorUrl": "https://www.reddit.com/user/Life-Broccoli-6529/",
"community": "CRMSoftware",
"score": 10,
"createdAt": "2026-07-19T18:05:54.000Z",
"intent": "asking_for_recommendation",
"intentScore": 1,
"matchedTerms": [
"any recommendations",
"looking for a",
"looking for",
"best crm for",
"recommendations",
"need a"
]
},
{
"platform": "reddit",
"kind": "post",
"id": "t3_1sv06lp",
"url": "https://www.reddit.com/r/CRMSoftware/comments/1sv06lp/whats_the_best_crm_for_small_business_owners/",
"text": "What’s the best CRM for small business owners that’s actually worth it\n\nI’m looking into getting a CRM for small business use and trying to sort through all the options out there.\n\nMain priorities are keeping leads and c…",
"author": "MrHungryzxc",
"authorUrl": "https://www.reddit.com/user/MrHungryzxc/",
"community": "CRMSoftware",
"score": 18,
"createdAt": "2026-04-25T02:53:42.000Z",
"intent": "asking_for_recommendation",
"intentScore": 0.97,
"matchedTerms": [
"what's the best",
"best crm for",
"recommendations",
"worth it"
]
}
],
"page": {
"nextCursor": "AfYI…",
"hasMore": true
}
}Recorded from a live call on . Long text is shortened and the cursor is cut. A live key is charged up to 6 credits for this call. A test key returns this same sample for 0 credits.
Limits worth knowing
MCPServerHTTPtakes aurl,headers,streamableandcache_tools_list. source- CrewAI's MCP integration times out after 10 seconds when connecting, 30 seconds for tool execution and 15 seconds for discovery. Slow reads can hit the 30 second limit, so keep
limitsmall. source
Last checked . Sources: CrewAI MCP overview, CrewAI MCP DSL integration.
Questions
Does it cost more through CrewAI 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.