horse revenue Docs

Integrations

Admin API and Claude (MCP)

Everything the dashboard does goes through the admin API, so your scripts can do it too, and so can Claude, as you. Every change is checked against your role and recorded in the app's history.

#Make a token

Under API tokens in the dashboard, choose a name and create a token. It acts with your role in your workspaces, and you can limit it to one workspace. Tick Read-only for scripts and monitoring that only read: it can see everything you can and change nothing.

The token starts with hrt_ and is shown once. Keep it out of repositories and chats, and revoke it on the same page if it leaks.

#Call the API

curl https://tally-api-755619271848.us-central1.run.app/admin/v1/apps \
  -H "Authorization: Bearer hrt_…"

The admin API lives under /admin/v1 and speaks JSON. It's the same API the dashboard uses, so the dashboard's network requests in your browser's developer tools are a working example of any call.

#Claude and other MCP clients

Horse is an MCP server at /mcp, so Claude Code, Claude Desktop or any MCP client can work with it:

claude mcp add --scope user --transport http horse-revenue \
  https://tally-api-755619271848.us-central1.run.app/mcp \
  --header "Authorization: Bearer hrt_…"

When you create a token, the API tokens page shows this command with your token already in it.

Then ask in plain words: "How did Lumi's trial conversion change since the new paywall?", "Add a lifetime package to the default offering", "Translate the onboarding paywall into German and Japanese", "Give this customer 30 days of pro".

#What Claude can do

AreaTools
Apps and numberslist_apps, get_app, list_accounts, overview, app_stats, chart, recent_transactions, apple_sales, search_ads, analytics, funnel
Catalogget_catalog, import_products, upsert_entitlement, upsert_product, map_products, upsert_offering, set_placement
Paywallsget_paywall, set_paywall, translate_paywall
Remote configget_config, set_config
Customersfind_customers, get_customer, grant_entitlement
Access codeslist_codes, get_code, create_code, create_personal_codes, disable_code, remove_code_access
Historyhistory, restore_version
Integrationsget_meta_integration, set_meta_integration
Anything elseapi_request, any admin API call