Groundsocial’s hosted MCP server is https://api.groundsocial.dev/mcp (Streamable HTTP). It signs in with OAuth or takes your API key as a Bearer token. Get a key if you want one: it starts with gs_live_ and comes with free credits.
Set it up in Claude Code
Run this in a terminal. It registers the remote server for you in the current project (the default local scope):
claude mcp add --transport http groundsocial https://api.groundsocial.dev/mcpStart claude, type /mcp, pick groundsocial and choose to authenticate. A browser opens: sign in to Groundsocial, choose the account that pays, approve. claude mcp login groundsocial runs the same sign-in from your shell.
| Scope flag | Written to | Shared |
|---|---|---|
--scope local (default) | ~/.claude.json, under this project | No |
--scope project | .mcp.json in the project root | Yes, through git |
--scope user | ~/.claude.json, every project | No |
Add your API key
For scripts, claude -p and CI, which cannot open a browser, pass the key as a header instead:
claude mcp add --transport http groundsocial https://api.groundsocial.dev/mcp \
--header "Authorization: Bearer $GROUNDSOCIAL_API_KEY"Your shell expands $GROUNDSOCIAL_API_KEY, so the key itself is stored in ~/.claude.json. For a shared .mcp.json, write the variable and let each person’s environment supply it:
{
"mcpServers": {
"groundsocial": {
"type": "http",
"url": "https://api.groundsocial.dev/mcp",
"headers": {
"Authorization": "Bearer ${GROUNDSOCIAL_API_KEY}"
}
}
}
}Load fewer tools
The full server lists 593 tools, one per endpoint. Connect only the platforms you use and the agent sees fewer schemas: add ?platforms= with ids from the platform list, comma-separated.
https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernewsThat URL lists 67 tools: Reddit, YouTube and Hacker News plus the free helpers (list_endpoints, estimate_cost, account_balance, agent_signup). OAuth sign-in and keys work the same with or without the filter.
You rarely need a filter here. Claude Code’s MCP tool search is on by default: once tool definitions pass 10% of the context window it defers them and loads each tool when a task needs it, so the full server costs little context. Leave ENABLE_TOOL_SEARCH unset.
First prompt to try
- “Before you start, use estimate_cost and tell me what this will cost.”
- “Search Reddit, Hacker News and YouTube for what developers say about Bun in 2026, and give me the three strongest arguments for and against.”
- “Get the 25 newest posts on r/startups and table them: title, score, comments, one-line summary.”
Troubleshooting
claude mcp list shows “Pending approval”
Servers in a project .mcp.json need approving once. Run claude in that folder and accept the prompt.
It says the server “has a url but no type”
A hand-written entry without "type": "http" is read as a stdio server and skipped. Add the type.
Failed to connect after I added a header
Claude Code does not fall back to OAuth when a header is wrong. Check the key (a pasted trailing newline is a common cause), or remove the header and sign in with /mcp.
Large results come back as a file
Claude Code saves text results over 50,000 characters to a file and caps MCP output at 25,000 tokens by default. Ask for fewer items (limit), or raise MAX_MCP_OUTPUT_TOKENS.
Sign-in does not work in claude -p
Non-interactive runs cannot do the OAuth flow. Sign in once interactively, or use the header form.
Check what the server lists without a key: curl -s https://api.groundsocial.dev/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'. Every error says what to do next; codes are in Errors.
Sources
Checked 27 Nov 2026. Follow the links for the latest.
Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.