2,500+ MCP servers ready to use
Vinkius

Strava Social MCP Server for LangChain 10 tools — connect in under 2 minutes

Built by Vinkius GDPR 10 Tools Framework

LangChain is the leading Python framework for composable LLM applications. Connect Strava Social through the Vinkius and LangChain agents can call every tool natively — combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.

Vinkius supports streamable HTTP and SSE.

python
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

async def main():
    # Your Vinkius token — get it at cloud.vinkius.com
    async with MultiServerMCPClient({
        "strava-social": {
            "transport": "streamable_http",
            "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
        }
    }) as client:
        tools = client.get_tools()
        agent = create_react_agent(
            ChatOpenAI(model="gpt-4o"),
            tools,
        )
        response = await agent.ainvoke({
            "messages": [{
                "role": "user",
                "content": "Using Strava Social, show me what tools are available.",
            }]
        })
        print(response["messages"][-1].content)

asyncio.run(main())
Strava Social
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Strava Social MCP Server

Connect Strava Social to any AI agent and explore the social side of Strava — activity feeds, kudos, comments, club memberships, and segment discovery.

LangChain's ecosystem of 500+ components combines seamlessly with Strava Social through native MCP adapters. Connect 10 tools via the Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures — with LangSmith tracing giving full visibility into every tool call, latency, and token cost.

What you can do

  • Activity Feed — Browse your recent activities with full details, kudos counts, and comment counts
  • Activity Comments — Read all comments on any activity with author names and text
  • Activity Kudos — See who liked/supports your activities with full athlete profiles
  • Athlete Profile — Get your Strava profile details including location, follower counts, and equipment
  • Club Membership — List all clubs you belong to with member counts and sport types
  • Club Details — Explore any club's description, location, and community focus
  • Club Members — Browse club membership to find training partners and local athletes
  • Club Activities — See what club members have been doing recently
  • Starred Segments — Review all your favorited segments with PR times and characteristics
  • Segment Discovery — Explore segments in any geographic area by bounding box, filterable by type and difficulty

The Strava Social MCP Server exposes 10 tools through the Vinkius. Connect it to LangChain in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect Strava Social to LangChain via MCP

Follow these steps to integrate the Strava Social MCP Server with LangChain.

01

Install dependencies

Run pip install langchain langchain-mcp-adapters langgraph langchain-openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save the code and run python agent.py

04

Explore tools

The agent discovers 10 tools from Strava Social via MCP

Why Use LangChain with the Strava Social MCP Server

LangChain provides unique advantages when paired with Strava Social through the Model Context Protocol.

01

The largest ecosystem of integrations, chains, and agents — combine Strava Social MCP tools with 500+ LangChain components

02

Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step

03

LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging

04

Memory and conversation persistence let agents maintain context across Strava Social queries for multi-turn workflows

Strava Social + LangChain Use Cases

Practical scenarios where LangChain combined with the Strava Social MCP Server delivers measurable value.

01

RAG with live data: combine Strava Social tool results with vector store retrievals for answers grounded in both real-time and historical data

02

Autonomous research agents: LangChain agents query Strava Social, synthesize findings, and generate comprehensive research reports

03

Multi-tool orchestration: chain Strava Social tools with web scrapers, databases, and calculators in a single agent run

04

Production monitoring: use LangSmith to trace every Strava Social tool call, measure latency, and optimize your agent's performance

Strava Social MCP Tools for LangChain (10)

These 10 tools become available when you connect Strava Social to LangChain via MCP:

01

explore_segments

g., "-74.00,40.70,-73.95,40.75" for Manhattan). Optional filters: activity_type ("running" or "riding"), min_cat/max_cat (category 0-5, where 0 is hardest/steepest). Returns segments with name, distance, elevation, grade, and climb category. Use this to discover new training routes, find popular segments in an area, or plan rides/runs in a new city. Explore and discover Strava segments in a geographic area

02

get_activity_comments

Each comment includes athlete name, text, and creation date. The activityId is the numeric ID from Strava activity URLs. Use this to see community engagement on a workout, read feedback, or track conversation around a specific activity. Get all comments on a specific Strava activity

03

get_activity_kudos

Each entry includes athlete name, profile picture, and city. The activityId is the numeric ID from Strava. Use this to see who supported an activity, understand social engagement, or track training partners' interactions. Get the list of athletes who gave kudos (likes) to a specific activity

04

get_athlete

Use this to understand the athlete's identity, location, and equipment setup. Get the authenticated athlete's profile information

05

get_club

The clubId is found in Strava club URLs. Use this to explore club details before joining or to understand a club's focus and community. Get detailed information about a specific Strava club

06

list_activities

Activities are sorted by most recent first. Optional filters: "before" (epoch timestamp, defaults to now), "after" (epoch timestamp for date range), "page" and "per_page" (pagination, max 200 per page, max 2000 total). Each activity includes: name, type, distance, moving_time, elevation, kudos_count, comment_count, start_date, and basic stats. Use this to get the activity feed, analyze recent workouts, or review training history. Epoch timestamps can be generated from dates. List the authenticated athlete's activities with optional date filtering and pagination

07

list_athlete_clubs

Each club includes name, member count, city, country, sport type (cycling/running/triathlon), and privacy status. Use this to discover club memberships, find training groups, or understand community affiliations. List all clubs the authenticated athlete belongs to

08

list_club_activities

Each entry includes athlete name, activity name, type, distance, and date. Paginated (30 per page). The clubId is from Strava club URLs. Use this to stay updated on club training activity, discover what members are doing, or find group workout opportunities. Get recent activities from members of a Strava club

09

list_club_members

Paginated (30 per page). The clubId is from Strava club URLs. Use this to discover training partners in a club, find athletes in your area, or explore club community composition. List members of a specific Strava club

10

list_starred_segments

Each segment includes: name, distance, elevation gain, average grade, activity type, city, country, and the athlete's PR time if any. Use this to review favorite segments, plan training routes, or track progress on key segments over time. List all segments starred (favorited) by the authenticated athlete

Example Prompts for Strava Social in LangChain

Ready-to-use prompts you can give your LangChain agent to start working with Strava Social immediately.

01

"Show my recent activities."

02

"Explore cycling segments in Manhattan, NYC."

03

"Show comments on my latest activity."

Troubleshooting Strava Social MCP Server with LangChain

Common issues when connecting Strava Social to LangChain through the Vinkius, and how to resolve them.

01

MultiServerMCPClient not found

Install: pip install langchain-mcp-adapters

Strava Social + LangChain FAQ

Common questions about integrating Strava Social MCP Server with LangChain.

01

How does LangChain connect to MCP servers?

Use langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.
02

Which LangChain agent types work with MCP?

All agent types including ReAct, OpenAI Functions, and custom agents work with MCP tools. The tools appear as standard LangChain tools after the adapter wraps them.
03

Can I trace MCP tool calls in LangSmith?

Yes. All MCP tool invocations appear as traced steps in LangSmith, showing input parameters, response payloads, latency, and token usage.

Connect Strava Social to LangChain

Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.