{
  "markdown": "<p align=\"center\">\n  <img src=\"https://mcp.upriver.ai/icon.png\" width=\"96\" height=\"96\" alt=\"Upriver\" />\n</p>\n\n<h1 align=\"center\">Upriver MCP</h1>\n\n<p align=\"center\"><em>Real-time context on creators, audiences, brands, trends, and sponsorships — for AI applications.</em></p>\n\n## About Upriver\n\n[Upriver](https://upriver.ai) provides an API that turns what's happening online\ninto real-time, reliable context for AI applications. It delivers\nevidence-backed signals — each grounded in real sources — across:\n\n- **Creators** — relevant creators and profiles\n- **Audiences** — personas, interests, language, and humor\n- **Brands** — brands and how they're being discussed\n- **Products** — product mentions and use cases\n- **Trends** — topics and formats gaining attention\n- **Sponsorships** — brand–creator relationships and placements\n\nThis repository is the home of Upriver's **Model Context Protocol (MCP)**\nserver, which brings that context to any MCP-compatible AI assistant or agent.\n\n## Connect\n\n| | |\n|---|---|\n| **Endpoint** | `https://mcp.upriver.ai/mcp` |\n| **Transport** | Streamable HTTP |\n| **Auth** | Sign in with Upriver (OAuth), or send your Upriver API key in the `X-API-Key` header |\n\nIt's a remote, hosted server — nothing to install or run. **OAuth sign-in works in\nevery client.** The `X-API-Key` header is supported by Claude Code, Cursor, VS Code,\nCline, Windsurf, Codex CLI, Goose, and Zed — but **not** by Claude's or ChatGPT's\nconnector UIs, which are OAuth-only.\n\n### Claude Code (CLI)\n\n```bash\nclaude mcp add --transport http upriver https://mcp.upriver.ai/mcp\n```\n\nTo use an API key instead of OAuth, pass it as a header:\n\n```bash\nclaude mcp add --transport http upriver https://mcp.upriver.ai/mcp \\\n  --header \"X-API-Key: YOUR_UPRIVER_API_KEY\"\n```\n\n### Cursor\n\nAdd to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (per-project), then connect\nit in **Settings → Tools & Integrations** to sign in:\n\n```json\n{ \"mcpServers\": { \"upriver\": { \"url\": \"https://mcp.upriver.ai/mcp\" } } }\n```\n\nFor API-key auth, add `\"headers\": { \"X-API-Key\": \"YOUR_UPRIVER_API_KEY\" }`.\n\n### VS Code (GitHub Copilot)\n\nVS Code uses a different shape — top-level **`servers`** and a required **`\"type\": \"http\"`**.\nAdd to `.vscode/mcp.json` (or run **MCP: Add Server**):\n\n```json\n{ \"servers\": { \"upriver\": { \"type\": \"http\", \"url\": \"https://mcp.upriver.ai/mcp\" } } }\n```\n\nFor API-key auth, add `\"headers\": { \"X-API-Key\": \"YOUR_UPRIVER_API_KEY\" }`.\n\n### Claude Desktop & claude.ai\n\nIn Claude, go to **Customize → Connectors → \"+\" → Add custom connector**, name it\n`Upriver`, paste `https://mcp.upriver.ai/mcp`, then **Connect** and sign in.\n(Claude's connector is OAuth-only — there's no field for an API key, and don't add a\nraw `url` entry to `claude_desktop_config.json`; the desktop app rejects it.)\n\n### Cline\n\nUse the **Remote Servers** tab (Transport: **Streamable HTTP**), or edit\n`cline_mcp_settings.json` — the `type` field is required, or Cline falls back to legacy\nSSE and fails:\n\n```json\n{ \"mcpServers\": { \"upriver\": { \"type\": \"streamableHttp\", \"url\": \"https://mcp.upriver.ai/mcp\" } } }\n```\n\n### Windsurf\n\nEdit `~/.codeium/windsurf/mcp_config.json` — Windsurf's field is **`serverUrl`**:\n\n```json\n{ \"mcpServers\": { \"upriver\": { \"serverUrl\": \"https://mcp.upriver.ai/mcp\" } } }\n```\n\n<details>\n<summary><b>More clients</b> — Codex CLI, ChatGPT, Goose, Zed</summary>\n\n**Codex CLI (OpenAI)**\n\n```bash\ncodex mcp add upriver --url https://mcp.upriver.ai/mcp --header X-API-Key=YOUR_UPRIVER_API_KEY\n```\n\n**ChatGPT** — Enable **Developer mode** (Settings → Apps & Connectors → Advanced), then\n**Settings → Connectors → Create**, name it `Upriver`, paste `https://mcp.upriver.ai/mcp`,\nchoose **OAuth**, and sign in. (No custom-header field — OAuth only in the UI.)\n\n**Goose** — add to `~/.config/goose/config.yaml`:\n\n```yaml\nextensions:\n  upriver:\n    type: streamable_http\n    uri: https://mcp.upriver.ai/mcp\n    enabled: true\n    headers:\n      X-API-Key: \"${UPRIVER_API_KEY}\"\n```\n\n**Zed** — add to `settings.json` under `context_servers`:\n\n```json\n{ \"context_servers\": { \"upriver\": { \"url\": \"https://mcp.upriver.ai/mcp\", \"headers\": { \"X-API-Key\": \"YOUR_UPRIVER_API_KEY\" } } } }\n```\n\n</details>\n\n### Any other MCP client\n\nMost clients use the Cursor shape above (`mcpServers` + `url`, optional `headers`).\nFor agents that read install manifests, see [`llms-install.md`](./llms-install.md).\n\n> **JetBrains IDEs:** MCP works, but the IDE currently drops custom request headers and\n> doesn't yet support OAuth for remote servers, so Upriver's `X-API-Key` auth can't\n> connect there yet — we'll list it once JetBrains ships the fix.\n\n## Tools available today\n\nThe MCP server currently exposes Upriver's **breakout topics** — emerging\nsubjects gaining traction online across tech, sports, and politics, each\nreturned with grounded source citations so the model reasons from real evidence\ninstead of guessing.\n\nBoth tools are read-only. Each returns up to `limit` topics (default 10,\nmax 25), every topic carrying up to 5 source citations, plus a `has_more` flag\nwhen more topics exist beyond the page.\n\n### `breakout_search_topics`\n\nSearch breakout topics by keyword.\n\n| Parameter | Type | Description |\n|---|---|---|\n| `query` | string · **required** | Natural-language search, e.g. `\"AI video effects\"`. |\n| `vertical` | enum | Restrict to `tech`, `sports`, or `politics`. |\n| `limit` | integer | 1–25 (default 10). |\n| `citation_sources` | array | Restrict citations to any of `news`, `reddit`, `twitter`. |\n\n### `breakout_list_topics`\n\nBrowse breakout topics gaining traction right now.\n\n| Parameter | Type | Description |\n|---|---|---|\n| `vertical` | enum | Restrict to `tech`, `sports`, or `politics`. |\n| `status` | enum | Lifecycle filter: `active` (default), `emerging`, `trending`, `declining`, `detected`, or `all`. |\n| `limit` | integer | 1–25 (default 10). |\n| `citation_sources` | array | Restrict citations to any of `news`, `reddit`, `twitter`. |\n\nEach topic includes its name, vertical, lifecycle status, a momentum signal, and\nits top citations (title, URL, source category, and publish time).\n\n## More on the way\n\nBreakout topics are the first slice of the Upriver API to land as MCP tools. The\nfull API — Creators, Audiences, Brands, Products, Trends, and Sponsorships — is\ndocumented at **[docs.upriver.ai](https://docs.upriver.ai)**, and we're rolling\nthose endpoints out as MCP tools. Watch this repository for new tools as they\nship.\n\n## Access\n\nUpriver MCP access is provisioned per account. Request access at\n[dashboard.upriver.ai](https://dashboard.upriver.ai) or email\n[support@upriver.ai](mailto:support@upriver.ai). Once your account is enabled,\nthe same Upriver sign-in (or API key) works across every MCP client.\n\n## Links\n\n- **Docs** — https://docs.upriver.ai\n- **Dashboard** — https://dashboard.upriver.ai\n- **Website** — https://upriver.ai\n\n## License\n\nThe contents of this repository — connection documentation and listing\nmetadata — are released under the [MIT License](./LICENSE).\n\nThe hosted Upriver MCP service and the Upriver API are operated by Potato\nLaboratories, Inc. d/b/a Upriver and are governed by Upriver's\n[Terms of Service](https://upriver.ai/terms). The MIT License covers this\nrepository only — not the service, nor the data it returns. \"Upriver\" and the\nUpriver logo are trademarks of Potato Laboratories, Inc. and are not covered by\nthe MIT License.\n",
  "bytes": 7408,
  "sha": "5d7eba13704196d87733fb4eb80cf7f08c3b8be1cff03567ab52b2454883f1f8",
  "repo_slug": "upriver-ai/upriver-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ai_upriver_upriver_ef6deb50/readme"
}