Skip to content

MCP server

Connect Claude, ChatGPT, Cursor and other MCP clients to every hoshime endpoint, scraping, screenshots, search, browser skills and flows.

View as Markdown

hoshime serves every public data endpoint to AI clients at POST /mcp, over the MCP streamable HTTP transport, along with tools that scrape any web page, capture it, search the web, keep logins, play browser skills on your own accounts, run flows, and call any other API operation. The endpoint tools are built from the same registry as the HTTP routes, so a new endpoint is reachable from MCP as soon as it ships.

Four tools, not thousands

Thousands of endpoints do not fit a client as one tool each: every tool definition is loaded into the model’s context, and clients cap the number of tools. The server has four tools instead, the search-then-call pattern of large API servers:

Tool What it does Bills
search_endpoints Ranks endpoints for keywords (query), optionally within one platform, and returns each one’s id (youtube/video), summary, parameters, an example call, whether it pages, and its units. Pages with limit and cursor. Nothing
list_platforms Platforms with their endpoint names, the most called first. Pages with limit and cursor. Nothing
get_endpoint One endpoint in full: its parameters as a JSON Schema, cache time, and an outline of the data it returns. Nothing
call_endpoint Calls endpoint (platform/name) with params, exactly like the HTTP route: same validation, cache, proxy tiers and errors. tunnel, proxy and profileId read the source through your tunnel, your proxy or logged in with a browser profile. Answers {data, meta}. The endpoint’s units

Web, skills and flow tools

More tools call the browser, screenshot, SERP, tunnel, profile, export, job and flow APIs exactly as their HTTP routes do, with the same fields, billing and errors:

Tool What it does Bills
browser_scrape Loads a page and returns markdown (the default), text, html or links, its metadata and the values of extract rules. Browser actions click, fill, scroll and resize the page (viewport); an evaluate step runs your JavaScript in the page and returns its result in evaluateResults, and reads the JSON you pass in args; engine: "chromium" lays the page out so sizes are real; initScript runs before the page’s own scripts; profileId loads it logged in with a browser profile. Same fields as POST /v1/browser/scrape. 2 units, or 20 when the browser renders
screenshot Captures a page or HTML and returns the image itself, so the model can see it, with its record. Browser actions run before the capture, as in browser_scrape, and the result of each evaluate step comes back in the record’s evaluateResults. A PDF, or a capture over 3 MiB, comes back as its URL. 10 units per capture
serp_search Searches Google (the default), Bing or DuckDuckGo and returns the ranked results. 60 units per 10 results, plus 60 for aiOverview
list_tunnels Lists your tunnels (machines running hoshime tunnel) and whether each is connected, so browser_scrape, screenshot, call_endpoint, serp_search (Bing and DuckDuckGo) and browser_start_login can go through one. free
browser_list_profiles Lists the account’s browser profiles (saved logins) and the sites each covers. Free
browser_create_profile Creates an empty profile with a fixed proxy country and device. Free
browser_import_cookies Loads exported cookies (JSON, Playwright storageState or cookies.txt) into a profile. Free
browser_start_login Opens a live browser of a profile at a login page and returns liveUrl, where you log in by hand and save. 50 units per started minute open, at least 50
browser_get_login Says whether a live login is open, saved, cancelled, expired or failed. Free
list_skills Lists the social media skills (Instagram, Facebook, Threads, TikTok, any site) with their parameters, whether they need a signed-in profile and their daily limit. Free
run_skills Queues a skills job: the steps play in a browser logged in with a profile, like a person, optionally through a tunnel. Returns the job. 50 units per started minute, at least 10 per AI answer
get_job Returns a job, with what each skills step did once the run ends. Free
create_export Reads every page of a list endpoint in the background, such as every comment of a post. Returns the export. The endpoint’s units per page
get_export Says whether an export is done, with the items and pages read so far. Free
read_export Returns an export’s items, 1000 at a time. Free
run_flow Queues a flow: steps that run in order, each reading what the earlier ones returned. Returns the job. 1 unit plus what each step bills
list_operations Lists every other API operation, such as saving, editing, pausing or deleting flows and recurring jobs, listing or cancelling jobs, environment variables, webhooks, crawls and usage. Free
get_operation Describes one operation: its input, output and the scope it needs. Free
read_operation Calls a GET operation, such as listing your saved flows. What the route bills
call_operation Calls any other operation, such as saving a flow or deleting a webhook. What the route bills

Every tool declares an outputSchema and answers structuredContent, with the same JSON as text for clients that read text. The endpoint tools and serp_search are annotated read-only, non-destructive and idempotent. browser_scrape and screenshot are not read-only, because their steps may click and submit forms on the pages they open, and neither are the profile tools that create profiles, import cookies or start a login, run_skills, which acts on a social account, run_flow and create_export, which queue billed work, or call_operation, which is marked destructive because an operation may delete things.

The server also offers two resources: hoshime://platforms, the platform catalog, and hoshime://endpoints/{platform}/{endpoint}, one endpoint as get_endpoint describes it, with argument completion.

Errors an agent can act on

A failed call is a tool result with isError, whose body is the same problem details the HTTP route answers, plus two fields for agents: retryable (the same call may succeed later) and hint, what to do next, such as the endpoint’s parameter signature after invalid_parameter or the nearest endpoint ids after an unknown one.

Connect a client

The server URL is https://api.hoshime.com/mcp. ChatGPT, Claude, Claude Code and Codex sign in with your hoshime account through OAuth, so they need no key: you approve access once, hoshime creates an API key named after the app, and the app appears under MCP > Authorized apps in the dashboard, where you can revoke it.

ChatGPT: open chatgpt.com/plugins, select the plus button, then Add custom MCP server. Name it hoshime, paste the server URL, choose OAuth and sign in to hoshime when asked.

Claude (claude.ai, the desktop and mobile apps, Cowork): open Customize > Connectors, select Add, then Add custom connector. Name it hoshime, paste the server URL, select Add, then Connect and sign in. On a Team or Enterprise plan an Owner adds it under Organization settings > Connectors.

Claude Code: add the server, then run /mcp in a session and sign in.

claude mcp add --transport http --scope user hoshime https://api.hoshime.com/mcp

Codex (CLI, IDE extension and the ChatGPT desktop app share it):

codex mcp add hoshime --url https://api.hoshime.com/mcp
codex mcp login hoshime

Cursor, VS Code and other clients that take headers: send a key as Authorization: Bearer hsk_….

{
  "mcpServers": {
    "hoshime": {
      "url": "https://api.hoshime.com/mcp",
      "headers": { "Authorization": "Bearer hsk_…" }
    }
  }
}

Test it with the MCP Inspector:

npx @modelcontextprotocol/inspector --cli https://api.hoshime.com/mcp --transport http \
  --header "Authorization: Bearer hsk_…" --method tools/list

Plugin

The hoshime plugin packages this server with a live-data skill that tells the assistant which tool fits a request, how to call an endpoint in two steps and how to keep billed calls few. One package works in Claude (claude.ai, Cowork and Claude Code) and in ChatGPT and Codex: it carries the Claude manifest and the portable Agent Plugins manifest side by side, and both point at https://api.hoshime.com/mcp.

Auth, limits and billing

  • The token needs the scope of each tool it uses: social:read for the endpoint and export tools, browser:write for browser_scrape and the profile tools, browser:read for list_skills, screenshots:write for screenshot, serp:write for serp_search, tunnels:read for list_tunnels, jobs:write for run_skills and run_flow, jobs:read for get_job, and an operation’s own scope for read_operation and call_operation. A token with any one of them connects. IP allowlists and rate limits apply, and each MCP message counts as one request.
  • Every tool bills like its HTTP route, and its usage is recorded under that route, so usage reads the same for HTTP and MCP. Discovery calls bill nothing.
  • The server is stateless: each POST carries one JSON-RPC message and gets one JSON answer. Protocol versions 2024-11-05 through 2025-11-25 are accepted.
  • An app that signs in with OAuth gets a key with the scopes of every tool. The key does not expire; revoking it disconnects the app.

Support

Questions and problems with the MCP server or the plugin: hello@hoshime.com. Include the requestId of a failed call when you have one.

esc
↑↓ move↵ open