ScrapeBadger MCP Server
OfficialScrapeBadger MCP Server gives AI assistants account-free access to live Twitter/X, Google, Yelp, GitHub, AutoScout24, LinkedIn, Facebook Marketplace and Grok data through the ScrapeBadger API.
Twitter/X users — fetch a profile by username, search users, list a user's followers and following accounts.
Tweets — get a single tweet by ID, pull a user's recent tweets, or search tweets with advanced Twitter search operators.
Trends & places — get global trends (optionally by news/sports/entertainment category), trends for a WOEID location, and search Twitter places by name.
Lists & communities — get list details, list tweets, community details, and search lists or communities.
Google Search — retrieve the full structured results page (organic results, ads, knowledge graph, AI Overview, People Also Ask, shopping, perspectives, forums, videos, related searches) with extensive geo/language/operator controls, and optionally expand People Also Ask answers.
Google AI Mode — ask Google's generative AI and get a markdown/text-block answer with cited references, optionally localised to a city or district via
location,uuleorlat/lon.Yelp — search US/Canada businesses in Yelp's own order with ratings, reviews, categories, price, hours and separate ads; list supported markets.
GitHub — read a public repository's statistics, topics, license, native README, root files and latest commit.
AutoScout24 — read a full vehicle listing (specs, equipment, photos, prices, seller data) by URL or listing ID.
LinkedIn — get a public profile (roles, education, recent posts/articles) or a fuller authenticated projection.
Facebook Marketplace — search public listings account-free with radius/price/age filters and optional details, and fetch individual listing detail.
Grok — ask Grok a question with web citations and X references (multi-turn via
conversation_id), measure brand visibility against competitors, fetch conversation history, and list assistant modes.
Provides Google web search through the ScrapeBadger API, returning structured search results including organic results, ads, knowledge graph, AI Overview, People Also Ask, shopping results, perspectives, discussions and forums, short videos, and related searches. Supports expanding People Also Ask questions to retrieve answers and references.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ScrapeBadger MCP Server Get the profile of @elonmusk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
What is this?
ScrapeBadger MCP Server is a Model Context Protocol (MCP) server that enables AI assistants like Claude, ChatGPT, Cursor, Windsurf, and other MCP-compatible clients to access Twitter/X data, Google Search results, Yelp business search, GitHub repository detail and AutoScout24 listing detail through the ScrapeBadger API.
With this MCP server, your AI can:
Get Twitter user profiles, followers, and following lists
Search and retrieve tweets
Access trending topics globally or by location
Explore Twitter lists and communities
Search for places and geolocated content
Search Google and read the structured results page, including People Also Ask answers
Ask Google AI Mode, optionally as if the user were in a given city or district
Search Yelp businesses in the US and Canada in Yelp's own order, with ads kept separate
Read a public GitHub repository: README, root files, latest commit and statistics
Read a full AutoScout24 vehicle listing: specifications, equipment, photos and seller data
Ask Grok for real answers with web citations and X post references, multi-turn history, assistant modes and brand-visibility analysis
Related MCP server: Twitter MCP Server
Quick Start
1. Get Your API Key
Sign up at scrapebadger.com and get your API key.
2. Install
# Using uvx (recommended - no installation needed)
uvx scrapebadger-mcp
# Or install globally with pip
pip install scrapebadger-mcp
# Or with uv
uv tool install scrapebadger-mcp3. Configure Your AI Client
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"scrapebadger": {
"command": "uvx",
"args": ["scrapebadger-mcp"],
"env": {
"SCRAPEBADGER_API_KEY": "sb_live_your_api_key_here"
}
}
}
}Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"scrapebadger": {
"command": "uvx",
"args": ["scrapebadger-mcp"],
"env": {
"SCRAPEBADGER_API_KEY": "sb_live_your_api_key_here"
}
}
}
}Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"scrapebadger": {
"command": "uvx",
"args": ["scrapebadger-mcp"],
"env": {
"SCRAPEBADGER_API_KEY": "sb_live_your_api_key_here"
}
}
}
}VS Code with Copilot
Add to your VS Code settings (.vscode/mcp.json):
{
"mcpServers": {
"scrapebadger": {
"command": "uvx",
"args": ["scrapebadger-mcp"],
"env": {
"SCRAPEBADGER_API_KEY": "sb_live_your_api_key_here"
}
}
}
}4. Start Using It!
Once configured, simply ask your AI to fetch Twitter data:
"Get the profile of @elonmusk"
"Search for tweets about AI agents"
"What's trending on Twitter right now?"
"Find the top 10 Python developers on Twitter"
"Search Google for 'are noise cancelling headphones worth it' and answer the People Also Ask questions"
"Ask Google AI Mode for the best coffee near me, as if I were in Wonju, South Korea"
Available Tools
The MCP server provides 17 tools organized into categories:
User Tools
Tool | Description |
| Get a user's profile by username (bio, followers, following, etc.) |
| Get extended "About" info (account location, username history) |
| Search for users by query |
| Get a user's followers |
| Get accounts a user follows |
Tweet Tools
Tool | Description |
| Get a single tweet by ID |
| Get recent tweets from a user |
| Search for tweets (supports Twitter search operators) |
Trend Tools
Tool | Description |
| Get global trending topics (optionally by category) |
| Get trends for a specific location (by WOEID) |
Geo Tools
Tool | Description |
| Search for Twitter places by name |
List Tools
Tool | Description |
| Get details about a Twitter list |
| Search for Twitter lists |
| Get tweets from a list |
Community Tools
Tool | Description |
| Get details about a Twitter community |
| Search for communities |
Google Tools
Tool | Description |
| Search Google ( |
| Google AI Mode ( |
search_google takes q, gl, hl, start, location, ai_overview and
expand_related_questions. Google loads a People Also Ask answer only when the
question is clicked, so by default related_questions holds the questions
without answers. expand_related_questions: true opens every question the page
shows (usually four) and a number N opens the first N; each answered question
then carries text_blocks and references. Each answered question costs one
more search (credits = 20 x (1 + answered)), and a question whose answer does
not come back is not billed. See the
Google web search docs.
google_ai_mode_search takes q, gl, hl, include_html (default false
here: markdown and text_blocks carry the whole answer) and one of location,
uule, or lat + lon. A location answers "near me" and other local questions
as if the user were in that place, down to the city or district, whatever the
exit IP: location is a Google canonical name such as
Wonju-si,Gangwon-do,South Korea, a criteria ID such as 1009889, or an
unambiguous short name. With location and no gl, gl becomes the location's
country; gl itself is Google's market and does not choose the exit country.
Located answers echo a location object. Unknown or ambiguous names are
rejected with canonical candidates, and a located request that cannot be
answered right now fails unbilled; retry it. Location targeting needs
scrapebadger SDK 0.77.0 or later. See the
Google AI Mode docs.
Yelp, GitHub repository and AutoScout24 listing tools
Tool | Description |
| Yelp business search ( |
| The Yelp sites this API searches ( |
| A public repository on its default branch ( |
| Full AutoScout24 listing detail ( |
These tools return the API response unchanged, so every native field stays available. See the Yelp, GitHub and AutoScout24 docs.
The server lists a tool only while ScrapeBadger's live endpoint catalog lists its endpoint, and marks a deprecated or temporarily unavailable endpoint in the tool description. A call to a restricted endpoint returns the API's error and is not billed.
Example Conversations
Research a Twitter Account
You: Get the profile and recent tweets from @sama
Claude: I'll fetch Sam Altman's Twitter profile and recent tweets.
Uses get_twitter_user_profile and get_twitter_user_tweets
Sam Altman (@sama)
- 3.2M followers, 1,847 following
- Bio: "ceo of openai"
- Joined: December 2008
Recent tweets:
1. "excited to share..." (245K likes)
2. "the future of ai..." (180K likes)
...Monitor Trending Topics
You: What's trending in tech on Twitter today?
Claude: I'll check the current trending topics.
Uses get_twitter_trends with category="news"
Top Tech Trends:
1. #GPT5 - 125,000 tweets
2. Apple Vision Pro - 89,000 tweets
3. #AGI - 45,000 tweets
...Competitive Analysis
You: Compare the Twitter engagement of Stripe, Square, and PayPal
Claude: I'll gather data on all three companies' Twitter profiles.
Uses get_twitter_user_profile for each company
| Company | Followers | Following | Engagement Rate |
|---------|-----------|-----------|-----------------|
| Stripe | 892K | 1,245 | 2.3% |
| Square | 1.2M | 567 | 1.8% |
| PayPal | 2.1M | 234 | 0.9% |Configuration Options
Environment Variables
Variable | Required | Description |
| Yes | Your ScrapeBadger API key |
Using with Docker
FROM python:3.12-slim
RUN pip install scrapebadger-mcp
ENV SCRAPEBADGER_API_KEY=your_key_here
CMD ["scrapebadger-mcp"]Using with Python Directly
# Set your API key
export SCRAPEBADGER_API_KEY="sb_live_your_key_here"
# Run the server
python -m scrapebadger_mcp.serverError Handling
The MCP server handles common errors gracefully:
Error | Description | Solution |
| Invalid API key | Check your |
| Too many requests | Wait and retry, or upgrade your plan |
| Out of credits | Purchase more at scrapebadger.com |
| User/tweet not found | Verify the username or tweet ID |
Development
Setup
# Clone the repository
git clone https://github.com/scrape-badger/scrapebadger-mcp.git
cd scrapebadger-mcp
# Install dependencies
uv sync --dev
# Set your API key
export SCRAPEBADGER_API_KEY="sb_live_your_key_here"Running Locally
# Run the MCP server directly
uv run python -m scrapebadger_mcp.server
# Or use the CLI
uv run scrapebadger-mcpTesting
# Run tests
uv run pytest
# Run with coverage
uv run pytest --cov=src/scrapebadger_mcpCode Quality
# Lint
uv run ruff check src/
# Format
uv run ruff format src/
# Type check
uv run mypy src/Troubleshooting
"SCRAPEBADGER_API_KEY environment variable is required"
Make sure you've set the API key in your MCP configuration:
{
"env": {
"SCRAPEBADGER_API_KEY": "sb_live_your_key_here"
}
}Server not showing in Claude Desktop
Restart Claude Desktop after changing the config
Check the config file path is correct for your OS
Verify JSON syntax is valid (no trailing commas)
"uvx: command not found"
Install uv first:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Rate limit errors
ScrapeBadger has usage limits based on your plan. If you're hitting limits:
Reduce request frequency
Use pagination with smaller
max_resultsUpgrade your plan at scrapebadger.com
Related Projects
ScrapeBadger Python SDK - Official Python SDK
ScrapeBadger Node.js SDK - Official Node.js SDK
ScrapeBadger API Docs - Full API documentation
Support
Documentation: docs.scrapebadger.com
Issues: GitHub Issues
Email: support@scrapebadger.com
Discord: Join our community
License
MIT License - see LICENSE for details.
Public Facebook Marketplace
facebook_marketplace_search reads public listings without a Facebook account.
Verified filters enforce radius in kilometres and age. Set include_details=true
for full public descriptions and photo URLs. Follow the opaque end_cursor,
including after empty filtered pages; coverage is partial and newest-first order
applies within each page. facebook_marketplace_item reads one listing.
Available Tools
28 toolsautoscout24_get_listingA
Get full AutoScout24 listing detail: native specifications, equipment, photos, prices and public seller data. Supply exactly one url or listing_id from vehicle search; the URL decides the market, otherwise de. 10 credits; removed or missing listings are unbilled 404s. Swiss listings are unsupported.
Inputs: url, market, listing_id.
facebook_marketplace_itemB
Get public Marketplace listing detail: description, exposed photo URLs, seller and approximate coordinates. No Facebook account needed.
Inputs: item_id (required).
facebook_marketplace_searchA
Search public Facebook Marketplace without an account. Verified filters enforce radius in km and age; include_details adds description and public photos. Coverage is partial. Follow opaque end_cursor; an empty filtered page can still have a continuation. Sort all collected pages for newest-first monitoring.
Inputs: query (required), after, radius, sort_by, +6 more.
get_twitter_community_detailB
Get details about a Twitter community including name, description, member count, rules, and admin information.
Inputs: community_id (required).
get_twitter_followersA
Get followers of a Twitter/X user. Returns list of follower profiles with their bios and follower counts.
Inputs: username (required), max_results.
get_twitter_followingA
Get accounts that a Twitter/X user is following. Returns list of following profiles with their bios and follower counts.
Inputs: username (required), max_results.
get_twitter_list_detailA
Get details about a Twitter list including name, description, member count, subscriber count, and owner information.
Inputs: list_id (required).
get_twitter_list_tweetsA
Get recent tweets from a Twitter list. Returns tweets from all list members with text, metrics, and media.
Inputs: list_id (required), max_results.
get_twitter_place_trendsA
Get trending topics for a specific location using WOEID. Common WOEIDs: US=23424977, UK=23424975, Japan=23424856.
Inputs: woeid (required).
get_twitter_trendsA
Get current trending topics on Twitter/X. Optionally filter by category (news, sports, entertainment). Returns trend names and tweet counts.
Inputs: category.
get_twitter_tweetA
Get a single tweet by ID. Returns tweet text, author, metrics (likes, retweets, replies), media, polls, and quoted tweets.
Inputs: tweet_id (required).
get_twitter_user_profileA
Get a Twitter/X user's profile by username. Returns name, bio, follower count, following count, verified status, and more.
Inputs: username (required).
get_twitter_user_tweetsB
Get recent tweets from a Twitter/X user. Returns tweets with text, metrics, media, and engagement data.
Inputs: username (required), max_results.
github_get_repositoryA
Get a public GitHub repository on its default branch: statistics, topics, license, native README, root files and latest commit. Pass owner and repo separately, not a URL. 10 credits per successful call.
Inputs: repo (required), owner (required).
google_ai_mode_searchA
Ask Google AI Mode (Google's generative AI answer) and get the answer as markdown and structured text_blocks with the sources it cited. To answer 'near me' or other local questions for a specific place, pass ONE of location (a Google location name or criteria ID), lat+lon, or uule: the answer is localised to that city or district, whatever the exit IP. With location and no gl, gl becomes the location's country. Located answers echo a location object. Failed requests (503) are not billed; retry them.
Inputs: q (required), gl, hl, lat, +4 more.
grok_askA
Ask the real Grok assistant and get structured answers with web citations, X post references, tool usage and follow-up suggestions. Pass the complete conversation_id from an earlier response to retain context. mode: auto, fast or expert; web_search: auto, force or off. 20 credits.
Inputs: prompt (required), mode, web_search, conversation_id.
grok_brand_visibilityB
Measure a brand in a real Grok answer: mentions, share of voice, position, competitor breakdown and citation rank, with the full answer and sources. 25 credits.
Inputs: brand (required), prompt (required), mode, web_search, +2 more.
grok_get_conversationA
Fetch chronological user and assistant messages from an existing Grok conversation, including Unix and ISO timestamps. 3 credits.
Inputs: conversation_id (required).
grok_list_modelsA
List Grok's auto, fast and expert assistant modes. 1 credit.
Inputs: no named parameters.
linkedin_get_full_profileB
Get a full LinkedIn profile through the separately authenticated projection, with paginated positions and richer verticals when visible to the server session.
Inputs: public_id (required), country.
linkedin_get_profileB
Get a public LinkedIn profile with roles, education, public DOM verticals, recent posts and articles when LinkedIn exposes them.
Inputs: public_id (required), country.
search_googleB
Search Google and get the structured results page: organic results, ads, knowledge graph, AI Overview, People Also Ask, shopping results, perspectives, discussions and forums, short videos and related searches. Set expand_related_questions to also get the People Also Ask answers.
Inputs: q (required), cr, gl, hl, +44 more.
search_twitter_communitiesB
Search for Twitter communities by query. Returns matching communities with names, descriptions, and member counts.
Inputs: query (required).
search_twitter_placesA
Search for Twitter places by name. Returns place names, types, and full location details for use with geolocated tweets.
Inputs: query (required).
search_twitter_tweetsA
Search for tweets by query. Returns matching tweets with text, authors, metrics, and media. Supports advanced Twitter search operators.
Inputs: query (required), max_results.
search_twitter_usersB
Search for Twitter/X users by query. Returns matching profiles with bios, follower counts, and verification status.
Inputs: query (required), max_results.
yelp_list_marketsA
List the Yelp sites this API searches (us, ca). Free.
Inputs: no named parameters.
yelp_search_businessesA
Search Yelp businesses for a location (US or Canada) in Yelp's own order, with rating, review count, categories, price, address and opening hours; sponsored listings come back separately in ads. Ten per page, pages 1-11. 15 credits per page with results; empty searches and errors are free. Follow next_page while has_next_page is true.
Inputs: location (required), page, price, query, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Most tools have clearly separable purposes: Twitter search vs. profile vs. followers vs. list/community detail are distinguishable, and each non-Twitter platform is wrapped in its own prefixed namespace. The closest overlaps are linkedin_get_profile vs. linkedin_get_full_profile and get_twitter_trends vs. get_twitter_place_trends, both of which the descriptions clarify (public vs. authenticated projection; global vs. WOEID-scoped).
There is a broad verb_object convention, but platform placement is inconsistent: Twitter tools put the platform in the middle (search_twitter_tweets, get_twitter_list_detail), while LinkedIn/Yelp/GitHub/AutoScout24 prefix it (linkedin_get_profile, yelp_search_businesses), and Grok mixes bare verbs (grok_ask) with prefixed ones. Google is the worst offender, splitting into search_google and google_ai_mode_search under different word orders. Readable, but not a single predictable pattern.
28 tools is heavy, but the server aggregates eight distinct platforms, so the breadth is defensible rather than padded. Still, several single-tool namespaces (github_get_repository, autoscout24_get_listing, the two Google search tools) sit thin next to an 15-tool Twitter cluster, hinting at uneven curation rather than a tightly scoped surface.
Twitter coverage is genuinely broad (search, users, followers/following, lists, communities, trends, places), but other namespaces are thin: Yelp has business search and market listing with no business-detail/reviews call, LinkedIn has profile reads only (no company/post search), and GitHub exposes a single repository getter. Notably, autoscout24_get_listing instructs the agent to supply a listing_id 'from vehicle search,' yet no AutoScout24 search tool exists — a concrete dead end.
Maintenance
Related MCP Connectors
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Publish and schedule tweets and threads on X (Twitter) from your AI assistant.
Twitter: Access real-time Twitter/X data as soon as it's posted! With the Twitter/X AIO API, you.
Social media data API for AI agents. Live data from any public link, handle or search.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents and coding assistants with Twitter data access including tweets, user profiles, followers, and search functionality.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to access Twitter/X data including user profiles, tweets, search, and follower events via a set of MCP tools.MIT
- FlicenseAqualityDmaintenanceAllows AI assistants to query Twitter data including user info, tweets, trends, and more via twitterapi.io API.126-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to automate Twitter/X actions through the X API v2, supporting over 50 tools for posting, searching, user management, and more.1-