Claude, ChatGPT and Cursor connecting through a stateless hosted MCP server, with token check and token exchange, to the Influencers.Club API

AI infrastructure

Hosted MCP: giving Claude and ChatGPT access to creator data

Letting an AI assistant act for a signed-in user, and the auth work that made it safe.

A brand manager has a product launch three weeks out. The brief asks for a shortlist of US fitness creators with real, engaged audiences. A year ago that was an afternoon of filters, exports and spreadsheets. Now it’s one sentence in Claude, ChatGPT or Cursor. Try it:

Influencers.Club MCP connected

Pick a prompt below to search, enrich the shortlist, then run a full enrichment, step by step.

Try a prompt

Illustrative example. Creator names and numbers are sample data.

A few seconds later the list is back, pulled from 800M+ creator profiles, with follower counts, engagement and recent posts for each one. One follow-up narrows it to creators with an email address, and the shortlist is done.

This article covers how we built the hosted Influencers.Club MCP server, the piece that connects Claude and ChatGPT to our creator data, and what it took to make that one sentence work.

What the Influencers.Club MCP server can do

The MCP server gives Claude, ChatGPT and other AI assistants the same creator data as the Influencers.Club dashboard and API: 800M+ creator profiles, 360M+ emails and 100+ data points per profile, with discovery across 6 platforms and enrichment across 40+.

CapabilityWhat you getTry asking
Creator searchFilters for platform, location, language, followers, engagement rate, growth, hashtags and bio keywords, plus AI search in plain language“Find 20 US fitness creators on TikTok with 50k to 200k followers”
Similar creatorsCreators who look like one you already work with“Find 15 creators similar to @mayamoves”
Creator enrichmentProfile, analytics or full profile with 100+ data points: followers, engagement, average views, growth, topics and more“Run a full enrichment on @mayamoves”
Contact infoEmails from a database of 360M+, plus phone numbers where available“Add contact info to this shortlist”
Email lookupThe creator profile behind an email address“Who is behind hello@example.com?”
Connected socialsA creator’s accounts on other platforms“What other platforms is she on?”
Audience analyticsAudience locations, interests, brand categories and brand affinities, and audience overlap between creators“How much do these three creators’ audiences overlap?”
ContentRecent posts and post-level details with engagement“What did they post this week?”
Batch enrichmentA whole list enriched in one step, results returned as a download link“Enrich the creators in this sheet”
Exclusion listsTeam-shared lists of creators to leave out of every search“Skip anyone we’ve already contacted”

Why we built a hosted MCP server

More and more of our customers start creator research inside an AI assistant. They ask in plain language and expect the answer in the same conversation.

If our data wasn’t in the assistant, we’d be asking customers to leave the place they already work.

The Model Context Protocol (MCP) gave us a clean way in. It’s an open standard that lets an assistant discover and call tools from other services, so the assistant can query our API directly for the user instead of anyone copying data between tabs.

Our first MCP server was built for developers. You install it on your own machine (influencers-club-mcp on PyPI), add your API key and connect it to an editor like Cursor or Claude Code. It’s still the best option if you want full control.

But most teams don’t want to run a server or handle API keys. They want to add Influencers.Club to Claude or ChatGPT in a couple of clicks. So we built a hosted version: one URL you add to your assistant, sign in to once, and keep using.

What the server does, and what it doesn’t

The hosted MCP server sits between the assistant and the Influencers.Club API. It has one job: turn an assistant’s request into an API call, safely, for the right person.

How a request gets answered

Sign in once

The first time someone connects the server, they’re sent to Influencers.Club to sign in and approve access, the same flow as any “Sign in with Google” button. Our dashboard is the OAuth provider. The assistant gets a token that proves who it’s acting for, and that token refreshes in the background.

Every request is checked

The token travels with every request. Before doing anything else, the server checks it with our dashboard, so a request that isn’t properly signed in never reaches our data. That’s token introspection, defined in RFC 7662.

The server then swaps the user’s token for a new one that can only do what that user approved and expires no later than the original. That’s token exchange, defined in RFC 8693. The API only ever sees the exchanged token.

The user’s own token never goes further than the MCP server.

One request, start to finish

Claude / ChatGPTrequest + user token
→
Hosted MCP servercheck, then swap token
⇄
DashboardOAuth provider
→
Influencers.Club APIexchanged token only
  1. The assistant sends a tool call with the user’s OAuth token.
  2. The MCP server asks the dashboard whether the token is valid and who it belongs to (RFC 7662).
  3. The server exchanges it for a narrower token that expires no later than the original (RFC 8693).
  4. The API answers using the exchanged token, applying the user’s credits, limits and data rules.

Any server can answer

AI assistants don’t keep cookies the way a browser does, so there’s no reliable way to route a user back to the same server twice. We designed around that. Each request carries everything the server needs, and nothing depends on the request before it. Any of our servers can handle any request, and we add more as usage grows.

Tools built around how assistants behave

A tool that works for a developer can still waste an assistant’s credits or fill up its context. We shaped the tools around that.

The server is written in Python on the official MCP SDK and is open source under the MIT license. Anyone can read the code, run it locally, or build on top of it.

Enriching a whole list in one step

Hosted users in Claude, ChatGPT and other connectors can now enrich a whole list of creators in one step. Batch enrichment used to be local-only: the server opened an upload page in the browser, and only Claude Code could use it.

The hard part wasn’t the enrichment itself. It was keeping the list out of the conversation. When an assistant reads a CSV, every row takes up space in its context and every row costs tokens before any work is done. So the file and the results never pass through the chat:

Two bugs that shaped the design

Two production problems took most of our effort, and both pointed to the same fix.

“Please sign in again,” roughly every hour

Claude users were asked to sign in again about once an hour, even though their logins were fine. The bug was ours: each conversation held on to the token it started with, even after that token had been refreshed. We changed the server to read the token fresh from every request, and the extra sign-ins stopped.

“Session not found,” in bursts

The second showed up first from ChatGPT. Each conversation lived in the memory of one server, so when the next message landed on a different server, it didn’t recognize the conversation. Making every server able to answer any request on its own fixed it for good, and it closed the door on the sign-in bug too.

Pinned sessions vs. stateless requests

Before

msg 1 → server A ✓
msg 2 → server B session not found
msg 3 → server A ✓ stale token

Conversation state lived in one server’s memory. Instances couldn’t scale freely.

After

msg 1 → server A ✓
msg 2 → server B ✓
msg 3 → server C ✓ fresh token

Each request carries its own token and context. Any server answers.

Where it landed

MetricBeforeAfter
Creators reachable from a chat340M+800M+
Sign-in prompts for Claude usersAbout every hourOnly when a session expires
“Session not found” errorsBursts under loadGone
Server instancesPinned to oneScale freely
Batch enrichmentLocal install onlyEvery client

What we’d still change

The server works, but building it showed us a few things we’d do differently. Each one below is already in our pipeline.

Generate tool descriptions from the API

Pricing and limits live in the API, but each tool’s description, including its price, was written by hand in the server. Over time the two drifted apart. One tool listed a price five times higher than the API actually charged. Another kept promising links to a creator’s other platforms after the endpoint stopped returning them. Both are small fixes, but the cause is structural.

Prices live in one place. The text that describes them shouldn’t live in a second one.

We’re moving to descriptions and prices generated from the API spec, so a change in the API shows up in the assistant without anyone remembering to update it.

Plan for app-store reviews

On a hosted server, every tool change goes through someone else’s review. ChatGPT rescans the server daily and holds any changed tool that needs a closer look. After one release, 7 of our 33 tools waited for manual review while their older versions stayed live. During Anthropic’s review we couldn’t change the tool set at all, so we set up separate alpha and beta environments to keep building, then shut them down once the review was done.

We’re now versioning tool definitions and shipping changes in batches timed to review cycles, instead of treating each tool update like a normal deploy.

Steer the model to the right tool

A clear tool list doesn’t guarantee the assistant picks the right tool. In ChatGPT, prompts with exact numbers, like “50k to 500k followers, engagement over 3%”, sometimes go to our AI search, which then filters the results afterwards. The answer is right, but it takes one to two minutes and costs extra credits, when the regular search with filters would answer in seconds. Clearer descriptions that send number-based prompts to the regular search are in the pipeline.

Tell auth failures apart from outages

Early on, when the dashboard was briefly unreachable during the token check, the server answered the same way it would for an invalid token. Users were asked to sign in again for what was really a short outage on our side. The server now returns a “try again” error for outages and only asks for a new sign-in when the token is actually bad. Next, we’re extending the same split to error monitoring, so outages surface on our side before users notice them.

What this means for customers

The brand manager from the start never has to think about any of this. They ask a question, get an answer they can trust, and get back to the launch.

Frequently asked questions

What is the Influencers.Club MCP server?

It connects AI assistants to Influencers.Club creator data. You can search creators, enrich a shortlist with contact info, audience data and recent posts, and run full enrichments from inside a chat.

What data can AI assistants access through the MCP server?

The same data as the Influencers.Club dashboard and API: 800M+ creator profiles with 100+ data points each, 360M+ emails plus phone numbers where available, audience analytics such as locations, interests and brand affinities, and recent posts. Discovery covers 6 platforms and enrichment covers 40+.

Which AI assistants work with it?

Claude, ChatGPT, Claude Code, Codex, Cursor and VS Code. The hosted server needs no install: add it to your assistant and sign in once.

How does sign-in work?

You sign in to Influencers.Club once with OAuth. Every request is checked with our dashboard, and your token is swapped for a narrower one before it reaches the API. Your own token never goes further than the MCP server.

How much does it cost to use?

Requests use your Influencers.Club credits. Every paid tool shows its cost, from 0.03 credits for a quick lookup to 1 credit for a full profile, and lookups for valid locations, languages and topics are free.

Can I enrich a whole list from a chat?

Yes. Short lists go straight into the tool call, longer lists can be shared as a file link, and results come back as a download link, so the list never passes through the chat.

Put creator data inside your AI assistant

800M+ creators, 360M+ emails and 100+ data points per profile, via dashboard, API or MCP server.

More from engineering

All articles →