How to connect Rivalead to Claude, Cursor and VS Code with MCP
Rivalead runs a Model Context Protocol (MCP) server. Connect it once and your AI assistant can read your workspace's competitor changes, battlecards, landscape and briefing, then answer questions like 'what did Acme change on pricing this month and how should we respond?' with quoted evidence.
Key takeaways
- The server URL is https://rivalead.com/mcp. It uses Streamable HTTP and a bearer token.
- Create a token in Rivalead under Settings → AI assistants (MCP). Tokens are read-only and scoped to one workspace.
- Every MCP client takes the same two values, the URL and the Authorization header. Only where you paste them differs.
- Revoke a token at any time from the same screen; it stops working immediately.
1. Create an access token
Sign in to Rivalead, open Settings, and scroll to AI assistants (MCP). Name the token after where you will use it (for example 'Claude Code on my laptop') and choose Create token.
Copy the token straight away: Rivalead only stores a hash of it, so it can't show it again. The token can read the workspace you are in when you create it, and nothing else. Anyone on the workspace, including Viewers, can create their own.
2. Add the server to your assistant
Pick your client below and replace YOUR_RIVALEAD_TOKEN with the token from step 1. In Rivalead's Settings the snippets fill in your token automatically.
claude mcp add --transport http rivalead https://rivalead.com/mcp \
--header "Authorization: Bearer YOUR_RIVALEAD_TOKEN"{
"mcpServers": {
"rivalead": {
"url": "https://rivalead.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_RIVALEAD_TOKEN"
}
}
}
}{
"servers": {
"rivalead": {
"type": "http",
"url": "https://rivalead.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_RIVALEAD_TOKEN"
}
}
}
}{
"mcpServers": {
"rivalead": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://rivalead.com/mcp",
"--header",
"Authorization:${RIVALEAD_AUTH}"
],
"env": {
"RIVALEAD_AUTH": "Bearer YOUR_RIVALEAD_TOKEN"
}
}
}
}{
"mcpServers": {
"rivalead": {
"serverUrl": "https://rivalead.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_RIVALEAD_TOKEN"
}
}
}
}[mcp_servers.rivalead]
url = "https://rivalead.com/mcp"
bearer_token_env_var = "RIVALEAD_MCP_TOKEN"
# in your shell profile:
# export RIVALEAD_MCP_TOKEN="YOUR_RIVALEAD_TOKEN"{
"mcpServers": {
"rivalead": {
"httpUrl": "https://rivalead.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_RIVALEAD_TOKEN"
}
}
}
}3. Check the connection
Restart or reload your client, then ask: 'Using Rivalead, which competitors am I tracking?' The assistant should call get_workspace_overview and list them. In Claude Code, /mcp shows the server as connected; in Cursor and VS Code it appears in the MCP or tools panel.
If you get a 401, the token is missing, mistyped, or was revoked. Check that the header reads exactly 'Authorization: Bearer ' followed by the token.
What the assistant can do
Rivalead exposes read-only tools and three ready-made prompts:
- get_workspace_overview: your product, tracked competitors and this week's activity.
- list_changes and get_change: meaningful changes with score, 'so what', recommended action, and the exact lines added and removed.
- get_battlecard: a live sales battlecard against one competitor.
- get_landscape: pricing, plans, trials, integrations and more for every company, side by side, with quotes.
- get_briefing: the executive summary of the last two weeks.
- Prompts: weekly_competitor_brief, prep_sales_call and respond_to_pricing_change.
Security notes
Tokens only read. They can't add competitors, change settings, send alerts or spend Research Credits. Each one belongs to one person in one workspace, and stops working if that person leaves the workspace.
Competitor pages are third-party text. Rivalead labels quoted page content as untrusted data in every response and tells the assistant never to follow instructions found in it.
Put this playbook into practice
Test your domain live or connect daily monitoring in two minutes.