Skip to content
Wire it upPOST /mcp

MCP server

Use the plugin to look up public profiles and posts or search for news, videos and trends. Your app can list tools on either server before you sign in. To run a tool, sign in or send an API key.

Install the plugin

In Claude Code, add our plugin marketplace and install socially.run. When the plugin asks for access, sign in and approve it. The plugin gets its own key, so you don't have to copy one.

claude plugin marketplace add owe-br/plugins
claude plugin install socially@owe-br

In Codex 0.147 or later:

codex plugin marketplace add owe-br/plugins
codex plugin add socially@owe-br
codex mcp login socially

In claude.ai or ChatGPT, add a custom connector with the address https://api.socially.run/mcp/store and sign in when it asks.

An agent on a machine with no browser shows you a link and an 8-letter code instead. Open the link on any device, check that the code matches, and approve.

Each app's key shows up under API keys, named after the app. Revoke it to disconnect that app. What we keep about a connected app.

The read-only server

The plugin and the connector address above use the read-only server. It has 12 tools, and every one only reads: one public profile, post or page at a time, a country's trend board, and searches on YouTube, Google News and Instagram's public topic pages. Some reads go through a paid data provider's API instead of the page itself.

It leaves out the username search, the email lookup, the dossier, the batch lookup and its aggregate, the jobs and the webhooks: they build a report about a person, or only work beside something that does. It also leaves out the TikTok and Instagram hashtag searches, whose results those platforms show only to people who are signed in. All of them stay on the full server, below.

The read-only server's tools:

resolve_target · list_platforms · get_attributions · lookup_profile · lookup_post · read_website · fetch_og · list_trending · search_youtube · search_news · search_instagram · search_github

Connect with a key

This is the full server, /mcp, with every tool below. Streamable HTTP, stateless. There is no session to open and nothing to resume. Drop this into your client's MCP config and swap so_your_key for a key. Minting one in the console prints this same block with the key already inside it. That is the only moment we can, since what we store is a hash.

{
  "mcpServers": {
    "socially": {
      "type": "http",
      "url": "https://api.socially.run/mcp",
      "headers": { "Authorization": "Bearer so_your_key" }
    }
  }
}

Or, for the clients that take it as one line:

claude mcp add --transport http socially https://api.socially.run/mcp \
  --header "Authorization: Bearer so_your_key"

The tools

Read from the running full server, so this is exactly what an agent with a key gets. The 27 of the read-only server are named above. Names and descriptions stay English in every language of this page: an agent picks a tool by reading them, and a translated identifier is a tool it cannot call.

resolve_target

0 credits

Resolve what a URL or @handle points at

Turn a profile URL, post URL, website or @handle into what socially would read: the platform, the kind (profile, post, website), the normalized handle and the one canonical URL. No egress, no credit. Use it to validate input before a metered lookup.

  • input: A profile URL, post URL, website or @handle.
  • platform (optional): Required when `input` is a bare handle.

aggregate_intelligence

0 credits

Aggregate profiles into social intelligence

Turn one or more profile reads (the six ExtractionResult keys) into the consolidated SocialIntelligence document: engagement, sentiment, content calendar, benchmark, a pt-BR knowledge-base markdown and personality hints. Pure and free. It only computes over what you send.

  • results

list_platforms

0 credits

List the platforms and how each one is answering

List supported capabilities separately from source health. `capabilities` reports profile/post lookup, topic video search, indexed topic search, hashtag search and country trend boards. YouTube and TikTok support topic video search; only YouTube has a country board. Only Instagram has indexed topic search, the reels on its public popular page for a word, which exists for some words only. TikTok and Instagram support hashtag search. Google Trends is a separate `/trending` source. `status` and `strategies` describe profile reads; `postStatus` and `postStrategies` describe post reads, with verification dates and the last 24 hours of results. A supported capability can still have no working source here. Free.

lookup_profile

1 credit on a cache miss, 0 on a hit; refunded when we could not check

Look up a public profile

Read a public profile on Instagram, TikTok, YouTube, LinkedIn, X, Facebook, GitHub or a website. A `found` answer includes the profile, recent posts and platform details when available: account ids, links, creation dates and public counts. Instagram's `userId` and `graphId` name different ids; neither grants permission. Missing fields are null; unsupported blocks are absent. Data outcomes answer 200: `found`, `notFound` (confirmed by the platform, cached an hour) or `undecided` (refunded, never cached). 1 credit on a miss, 0 on a hit. `extractedAt` is the original read time, including cache and snapshot hits.

  • input: A profile URL, post URL, website or @handle.
  • platform (optional): Required when `input` is a bare handle.
  • posts (optional): Recent posts to return (0–15). Default 10. This limits the answer, not the source read.
  • refresh (optional): Bypass the cache and the snapshot; costs a credit even when fresh.

lookup_profiles_batch

1 per profile on a miss, 0 per hit; refunded for each profile we could not check

Look up up to ten profiles in one call

Read up to ten profiles at once (five in flight, 30 s each, 120 s total). Answers 200 with `results` (the found ones), `failures` (the ones not found and the ones we could not check, which are refunded) and, with `aggregate: true`, the consolidated social intelligence the siblings persist. `partial` says whether anything failed.

  • targets: 1–10 profiles to read in parallel.
  • posts (optional): Recent posts to return (0–15). Default 10. This limits the answer, not the source read.
  • aggregate (optional): Run the aggregator over the profiles that were found (0 credits).
  • perTargetTimeoutMs (optional): Per-profile timeout in milliseconds (1,000–30,000). Default 30,000.

lookup_post

1 credit on a cache miss, 0 on a hit; refunded when we could not check

Look up a public post

Read one public Instagram, TikTok, YouTube, X, LinkedIn or Facebook post or GitHub repository by URL. Returns its caption, author id, date, media and public counts when available. X, LinkedIn and Facebook posts are read only through a paid reader, with exact counts, and a deployment with no reader configured answers 503 before it charges. A LinkedIn post's `author.profileUrl` is the person's or the company's own page, and a Facebook post's `likes` counts every reaction. A full Instagram read adds source ids and ordered `frames` with image/video URLs, dimensions, duration and alt text; missing fields are null. YouTube adds video/channel ids, title and description, not a playable stream. GitHub adds repository details (language, license, default branch, topics, stars, forks, open issues and watchers). Every read says its `detailLevel` (`detailed` from the post's own page or API, `embed` from a thin public card that leaves what it does not show null) and its `confidence`; a cached answer keeps both. CDN URLs can expire: download the files. Answers `found` or `undecided` (refunded), never `notFound`. 1 credit on a miss, 0 on a hit. Cached answers keep the original `extractedAt`.

  • url: An http(s) URL.
  • refresh (optional): Bypass the cache and the snapshot; costs a credit even when fresh.

read_website

1 credit on a cache miss, 0 on a hit

Read a public web page

Fetch a public page through the proxy and return its readable text, title, description, images and ld+json. Pages that render with JavaScript are rendered when the budget allows (`render: auto`). Private and internal addresses answer 400 SSRF_BLOCKED. 1 credit on a miss, 0 on a hit (24 h).

  • url: An http(s) URL.
  • maxChars (optional): Cap on the readable text. Default 8,000.
  • render (optional): `always` renders every time and never falls back to a plain fetch. It spends render budget and fails closed at RENDER_BUDGET_EXHAUSTED; a deployment with no renderer answers SIDECAR_UNAVAILABLE.
  • refresh (optional): Bypass the cache and the snapshot; costs a credit even when fresh.

fetch_og

1 credit on a cache miss, 0 on a hit

Fetch a page's Open Graph card

The Open Graph card a page publishes: title, description, image, site name, type, locale, canonical URL. 1 credit on a miss, 0 on a hit (24 h).

  • url: An http(s) URL.
  • refresh (optional): Bypass the cache and the snapshot; costs a credit even when fresh.

get_job

0 credits

Get a job

Read a job: its status, progress and credits, plus its hits once it has finished (found and undecided by default, capped at 500; page the rest with list_job_hits) and its summary. Poll this, or attach to the stream, until status is succeeded, partial, failed or cancelled.

  • id: The job id from the 202 that created it.
  • include (optional): Also embed the notFound hits (found and undecided come by default).
  • wait (optional): Wait up to this many seconds (0–25) for the job to settle before returning.

list_job_hits

0 credits

List a job's hits

Page through every site a job answered. It works while it is still running. Filter by outcome (found, notFound, undecided) or site category.

  • id: The job id from the 202 that created it.
  • outcome (optional): Only hits with this outcome.
  • category (optional): Only sites in this category.
  • limit (optional): Hits per page (1–200). Default 50.
  • offset (optional): Rows to skip before this page. Default 0.

cancel_job

0 credits

Cancel a job

Stop a job. A queued job is cancelled at once and fully refunded; a running one is asked to stop and lands within seconds. The hits it already has are kept and nothing is refunded. A finished job answers 409.

  • id: The job id from the 202 that created it.

search_username

5 credits (fast) or 20 credits (full); a deduped or cached search costs 0

Search a username across the web

Sweep the site database for one handle and report every site's answer: found, notFound, or undecided when the site could not be read. Answers 202 with a job. Stream it or poll get_job. An identical search already running returns that same job and costs nothing.

  • username: The handle to look for. Letters, digits, dot, dash and underscore.
  • tier (optional): fast sweeps the top-ranked sites inside a minute (5 credits); full sweeps the whole database (20 credits).
  • categories (optional): Only sweep sites in these categories.
  • sites (optional): Only sweep these site ids (from list_username_sites).
  • countries (optional): Only sweep sites that serve these countries (ISO 3166-1 alpha-2). A site is kept when it serves any of them.
  • includeNsfw (optional): Include sites marked as adult. Requires a plan that allows them.
  • includeUnreliable (optional): Also sweep sites the nightly check distrusts. They answer, but never above low confidence.

list_username_sites

0 credits

List the sites a username search covers

The site database: what each site is, how it is classified, how much a hit there is worth, and what the nightly check currently thinks of it. Use the ids to scope a search with `sites`.

  • category (optional): Only sites in this category.
  • includeNsfw (optional): Include sites marked as adult in the listing.
  • limit (optional): Sites per page (1–200). Default 50.
  • offset (optional): Rows to skip before this page. Default 0.

lookup_email

10 credits; a deduped or cached lookup costs 0

Find where an email address is registered

Ask ~119 services whether an address already has an account there, using each service's own signup or recovery check, never a password reset and never a message to the address. Answers 202 with a job. A service that rate-limits us answers undecided, never 'no account'. Requires a paid plan and an accepted acceptable-use policy.

  • email: The address to look up. It is never messaged, only asked about. It is kept for as long as the job that reads it, and your history keeps a masked copy.

create_dossier

30 credits; a deduped or cached dossier costs 0

Build a dossier for a username

A deeper pass than search_username: every claimed profile is read for the details it publishes (names, locations, avatars, bios, other identifiers and the usernames it links to), and those are collected into one report. Answers 202 with a job; the per-site rows are its hits and the report is its summary.

  • username: The handle to build the dossier around.
  • depth (optional): top500 covers the highest-ranked sites; all covers the whole upstream database and takes several minutes.
  • recursion (optional): Follow usernames the claimed profiles link to, inside the same run. Turn it off for a narrower, faster dossier.
  • includeNsfw (optional): Include adult sites. Requires a plan that allows them.
  • includeUnreliable (optional): Also check sites the upstream database has marked unreliable.

list_trending

1 credit on a capture, 0 on a cached or stale board

Read what is trending in a country

One country's board: Google's rising searches, each with the news behind it and an approximate volume, or YouTube's most popular videos. A board stays fresh in the cache for ten minutes. A cached board costs 0 credits. When the source refuses us, the last good board is served instead, flagged `stale` with the time it was captured, and it costs nothing either: you are charged for a reading, never for an attempt.

  • source (optional): Which board to read: `google` for what a country is searching, `youtube` for what it is watching.
  • geo: The country, ISO 3166-1 alpha-2 (US, BR, ES). REQUIRED: a board is one country's board, and there is no honest default for whose. This used to fall back to `US`, which meant a caller in São Paulo was quietly handed the American one. A country the source does not publish answers 400 and says so. For a subject rather than a country, see `search_news` and `search_youtube`. A trending board takes no query.
  • category (optional): YouTube's video category id: `10` is Music, `17` Sport. YouTube only: Google Trends publishes no categories.
  • limit (optional): Entries to return, 1–50. Google publishes ten per country.

search_youtube

2 credits on a read, 0 on a cached one

Search YouTube for videos on a subject

What creators are publishing about a subject, in the order YouTube ranks it: title, channel, exact view count, duration and the description snippet, plus real upload dates, likes and comments when the deployment holds a Data API key (`stats: "exact"`). Read from the results page rather than the API's 100-unit search, so one key's day holds thousands of these. The answer is cached for thirty minutes, and the same question again costs nothing.

  • q: What to search for, the way you would type it into YouTube.
  • limit (optional): Videos to return, 1–20. One page is one read: a larger `limit` on the same question is served from it.
  • recency (optional): Only videos uploaded within the window: `day`, `week`, `month` or `year`. Absent means any time.
  • sort (optional): `relevance` uses YouTube's ranking. `views` puts the most-watched videos first. Combine `views` with `recency` to find popular uploads within that window, not to measure growing views. Without a window, `views` includes all-time hits.
  • country (optional): The country to rank for, ISO 3166-1 alpha-2 (BR, US, ES). Omit it for YouTube's own ranking rather than a country's.
  • language (optional): The language to ask and read the page in, ISO 639-1 (en, pt, es). Omit it and your `accept-language` header decides.
  • refresh (optional): Read the page again instead of serving the half-hour cache. Charged like any read, and the fresh answer replaces the cached one.

search_news

1 credit on a read, 0 on a cached one

Search the news for stories on a subject

What the press published about a subject inside a window: headline, publisher, and the date the story ran, read from Google News' public search feed. This is the subject half of trending: a trending board takes no query at all, so `q` plus `recency` is how you ask what is being said about one thing right now. Links are Google's own redirect, not the publisher's URL. Cached for ten minutes.

  • q: The subject to read about, the way you would say it.
  • limit (optional): Stories to return, 1–50. One feed is one read: a larger `limit` on the same question is served from it.
  • recency (optional): Only stories published within the window: `day`, `week`, `month` or `year`. Absent means any time, which for news is rarely the question.
  • country (optional): The Google News edition, ISO 3166-1 alpha-2 (BR, US, ES). There is no worldwide edition: leave it out and one is chosen from `language`. The answer always says which one ran.
  • language (optional): The edition's language, ISO 639-1 (en, pt, es). Default `en`.
  • refresh (optional): Read the feed again instead of serving the ten-minute cache. Charged like any read.

search_instagram

2 credits on a read that lists reels, 0 on a cached one or a word with no page

Search Instagram's popular reels on a topic

The reels Instagram lists on its public popular page for a topic: shortcode, author, caption, exact play count and the date read off the media id. This is indexed discovery, not a hashtag feed. Instagram publishes these pages for some words only (`art`, `travel` and `music` have one; `fitness` and `nasa` did not when measured), lists up to 12 reels, and says in `hasMore` when it has more that cannot be read without signing in. A word with no page answers `indexed: false` and costs nothing. Cached for thirty minutes.

  • q: The topic, the way Instagram names its popular pages: one word or a few ("travel", "street photography"). Not every word has a page.
  • limit (optional): Reels to return, 1–12. One page is one read: a smaller `limit` on the same topic is served from it.
  • refresh (optional): Read the page again instead of serving the half-hour cache. Charged like any read, and the fresh answer replaces the cached one.

search_tiktok

2 credits on a page read, 0 on a cached one

Search TikTok for videos on a word or a hashtag

What TikTok lists for a word or a hashtag: caption, author, exact views, likes, comments and shares, the date, the length and the tags, read through a paid reader. A word searches TikTok's search bar and takes a window (`recency`), an order (`sort`) and a country. A `#tag` reads that tag's own page, which lists its popular videos of any age in TikTok's order, from any country, and takes none of those. A word's page lists up to 30 videos and a tag's about 20: pass `nextCursor` back as `cursor` for the next one, which is another read. The author's follower count is on keyword results and absent from a hashtag feed. A deployment with no TikTok reader configured answers 503 before it charges. Cached for thirty minutes.

  • q: A word or a phrase for TikTok's search bar ("padaria artesanal"), or a hashtag with its # ("#padaria").
  • limit (optional): Videos to return, 1–30. One page is one read: a smaller `limit` on the same question is served from it, and a `limit` that cuts the page ends the cursor.
  • recency (optional): Words only. Only videos posted within the window: `day`, `week`, `month`, `quarter` (90 days) or `half_year` (180 days), TikTok's own filters. Absent means all time. A hashtag takes none.
  • sort (optional): Words only. `relevance` (the default) is TikTok's ranking, `likes` puts the most-liked first and `recent` the newest. Combine `likes` with `recency` to find what is working lately. A hashtag takes none.
  • country (optional): Words only. Search as a person in this country would, ISO 3166-1 alpha-2 (BR, US, ES). Absent means no country. A code with no region behind it is not refused and filters nothing, so check `videos[].region` against the country you meant. A hashtag takes none.
  • cursor (optional): The `nextCursor` of the page before. Each page is another read and another charge, and a cursor only works against the source that made it.
  • refresh (optional): Read the page again instead of serving the half-hour cache. Charged like any read, and the fresh answer replaces the cached one.

search_instagram_hashtag

2 credits on a page read, 0 on a cached one

Search Instagram for the posts under a hashtag

What Instagram lists under a hashtag, read through a paid reader: shortcode, author, caption, exact likes, comments and plays, the date and the cover. `sort: top` (the default) is Instagram's own mix of popular and recent posts, in its order, not a ranking by likes, and it can reach back months. `sort: recent` lists the newest posts first. A page lists 24 to 33 posts: pass `nextCursor` back as `cursor` for the next one, which is another read. A like count the owner hid reads `null`. A tag with no posts answers an empty page and costs nothing. A deployment with no Instagram reader configured answers 503 before it charges. Cached for fifteen minutes.

  • q: A hashtag, with or without its # ("padaria" or "#padaria"). Letters, digits and underscores only.
  • limit (optional): Posts to return, 1–40. One page is one read: a smaller `limit` on the same tag is served from it, and then no `nextCursor` comes with it.
  • sort (optional): `top` (the default) is Instagram's own mix of popular and recent posts, in its order. `recent` lists the newest posts first.
  • cursor (optional): The `nextCursor` of the page before. Each page is another read and another charge, and a cursor only works with the source and the `sort` that made it.
  • refresh (optional): Read the page again instead of serving the fifteen-minute cache. Charged like any read, and the fresh answer replaces the cached one.

search_github

1 credit on a read, 0 on a cached one

Search GitHub repositories, users or trending projects

Three GitHub discovery reads in one call: `mode: repositories` (default) searches public repositories by keyword, language, push window and stars/forks; `mode: users` searches developers and organizations by keyword, location, language and followers/repositories, returning each account's bio, company, location, website, X handle and exact counts; `mode: trending` reads GitHub's trending repositories page (`daily`, `weekly` or `monthly`, optionally by language) with stars gained in the window. Cached for thirty minutes.

  • mode (optional): `repositories` (default) searches public repositories, `users` searches developers and organizations for lead discovery, and `trending` reads GitHub's trending repositories board (`github.com/trending`).
  • q (optional): What to search for (`repositories` and `users` modes). Omit on `trending` mode, or when filtering by `language` or `location` alone.
  • language (optional): Programming language filter, such as `typescript`, `python` or `rust`.
  • location (optional): Location filter for `users` mode, such as `Brazil` or `São Paulo`.
  • accountType (optional): Filter `users` mode to personal accounts (`user`) or organizations (`org`).
  • recency (optional): Window filter: `day`, `week`, `month` or `year` on `repositories` (by last push), or `day`, `week` or `month` on `trending` (`daily`, `weekly`, `monthly`).
  • sort (optional): Order: `relevance`, `stars`, `forks` or `updated` on `repositories`; `relevance`, `followers`, `repositories` or `joined` on `users`.
  • limit (optional): Items to return, 1–30. One page is one read: a smaller `limit` on the same question is served from it.
  • refresh (optional): Read again instead of serving the half-hour cache. Charged like any read, and the fresh answer replaces the cached one.

get_usage

0 credits

Read this month's credit usage and plan limits

Return the account's plan, monthly credit quota and how much of it has been spent, purchased credit balance, today's spend against the daily cap, rate and concurrency limits, the reset timestamp, and the breakdown by lookup kind and API key.

get_webhook

Free

Get your webhook endpoint

The endpoint events are being POSTed to, which ones it is subscribed to, and whether it is still healthy. `null` when none is registered. `disabledReason: "failures"` means we switched it off after 10 failed deliveries in a row. Only a final failure counts, not an attempt that will be retried. Fix the endpoint, then save it again or send a test that succeeds to switch it back on. Free.

set_webhook

Free

Register your webhook endpoint

Point socially.run at an https URL and start receiving events there. The answer carries the signing secret ONCE, when it is minted: keep it. Every delivery is signed with it in the `x-socially-signature` header (`t=<unix>,v1=<hmac-sha256 of "<t>.<body>">`), and that signature is how you know a request is really from us. Calling this again updates the URL or the subscription and keeps the same secret unless you ask to rotate it. Saving also re-enables an endpoint we had disabled. Up to 5 attempts for no answer, 5xx, 408, 425 or 429, with gaps of 30, 60, 120 and 240 seconds. A longer Retry-After extends the gap, capped at one hour. Other 4xx and all redirects are final. Free.

  • url: Where to POST events, e.g. https://api.yourapp.com/hooks/socially.
  • events (optional): Which events to receive: job.completed, job.failed. Defaults to all of them.
  • rotateSecret (optional): Mint a new signing secret and return it. The old one stops working.

test_webhook

Free

Fire a test event at your endpoint

Send a `ping` event to your registered endpoint right now and wait for the answer, so you can verify the URL and your signature check without waiting for a real job. The result is the actual outcome: `ok: false` carries the HTTP status your server answered, or why we could not reach it. A ping that lands also revives an endpoint we had auto-disabled. It never retries, and it does not count against the failure streak of a real event. Free.

get_attributions

0 credits, and no key

List the projects socially is built on

Every upstream project whose data socially vendors or whose tool it runs, with its licence and the credit line to display. No API key needed. These credits are a licence obligation, not a feature.

What is REST-only

Four capabilities have no tool form. Each one is a decision, not an omission:

  • get_profile: the same capability as lookup_profile, which is the tool. Shipping both would be one job under two names.
  • delete_webhook: removing the endpoint silently stops every event reaching somebody's production backend.
  • list_webhook_deliveries: a delivery log is a debugging surface a person reads. An agent that wants to know whether delivery works fires test_webhook.
  • stream_job: SSE is transport, not a tool. An agent waits on get_job, or lets the SDK's jobs.wait poll for it.