Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the Lunarcrush MCP server

Vendor MCP
Open markdown

The Lunarcrush MCP connector routes your AI agent's tool calls to Lunarcrush's own MCP server through Scalekit. Each user signs in to Lunarcrush once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 15 tools.

Tools
15
What they doRead · write · destructive
15 · 0 · 015 read0 write0 destructive
Users sign in with
OAuth app
Scalekit's or your own

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Lunarcrush MCP connection

    In AgentKit > Connections, create a Lunarcrush MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Scalekit credentials are available for Lunarcrush MCP server, so you don't need to register an OAuth app.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'lunarcrushmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Lunarcrush MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'lunarcrushmcp_auth',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • lunarcrushmcp_authCheck subscription and rate limit information for the current API key, or test an alternate API key.Read-only

    Auth

    Check subscription and rate limit information for the current API key, or test an alternate API key.

    Inputs

    apiKeystring
    Optional alternate API key to use for this request.
  • lunarcrushmcp_creatorGet a summary snapshot of social metrics and insights for a specific social media account.Read-only

    Creator

    Get a summary snapshot of social metrics and insights for a specific social media account.

    Inputs

    networkstringrequired
    Social network to filter by.one of xtwittertiktokyoutuberedditinstagram
    screenNamestringrequired
    Screen name or unique ID of the social media account.
  • lunarcrushmcp_creator_postsGet top social posts for a specific social media account by screen name or unique ID.Read-only

    Creator Posts

    Get top social posts for a specific social media account by screen name or unique ID.

    Inputs

    networkstringrequired
    Social network to filter by.one of xtwittertiktokyoutuberedditinstagram
    screenNamestringrequired
    Screen name or unique ID of the social media account.
    from_datestring
    Start date for the date range (YYYY-MM-DD). Use with to_date instead of interval.
    intervalstring
    Time window for the data. Defaults to 1w (hourly). Use 1m or longer for daily data.one of 1d1w1m3m6m1yall
    limitnumber
    Maximum number of results to return.default 100
    to_datestring
    End date for the date range (YYYY-MM-DD). Leave blank to get posts up to now.
  • lunarcrushmcp_creator_time_seriesGet historical time-series social metrics for a specific social media account.Read-only

    Creator Time Series

    Get historical time-series social metrics for a specific social media account.

    Inputs

    networkstringrequired
    Social network to filter by.one of xtwittertiktokyoutuberedditinstagram
    screenNamestringrequired
    Screen name or unique ID of the social media account.
    intervalstring
    Time window for the data. Defaults to 1w (hourly). Use 1m or longer for daily data.one of 1d1w1m3m6m1yall
    metricsarray
    One or more metrics to include. Leave blank to return all metrics.
  • lunarcrushmcp_cryptocurrenciesGet a list of cryptocurrencies sorted by social metrics and optionally filtered by sector.Read-only

    Cryptocurrencies

    Get a list of cryptocurrencies sorted by social metrics and optionally filtered by sector.

    Inputs

    limitnumber
    Maximum number of results to return.default 100
    sectorstring
    Filter results to a specific sector.one of stablecoindefinftdotbscmemeavalanchealgoranddaowalletsaiarbitrumgaminglayer-1layer-2lending-borrowingliquid-staking-tokensbrc20exchange-tokensreal-world-assetsdepinfangamblingrunesdescisportssocialfianalyticseventsreal-estatebitcoin-ecosystemstacks-ecosystembase-ecosystemsolana-ecosystemai-agentsdefaizkoraclestoragemade-in-usasuiinjcardanopowposmusicinsuranceprivacyenergypump-funpredictionentertainmenthealthcarebtcfiinteroperabilitymove-to-earnbittensor-ecosystemderivativesperpetualsopenclaw
    sortstring
    Sort results by this metric.one of alt_rankgalaxy_scoreclosepercent_change_1hpercent_change_24hpercent_change_7dinteractionsposts_activecontributors_activesentimentsocial_dominancemarket_capmarket_dominancevolume_24hcirculating_supplytopic_rank
  • lunarcrushmcp_fetchFetch a LunarCrush context using a URL-friendly path such as /topic/bitcoin.Read-only

    Fetch

    Fetch a LunarCrush context using a URL-friendly path such as /topic/bitcoin.

    Inputs

    idstringrequired
    URL-friendly path to the LunarCrush context (e.g. /topic/bitcoin or /creator/x/elonmusk).
  • lunarcrushmcp_keyword_postsGet top social posts for a keyword or phrase over a given time period.Read-only

    Keyword Posts

    Get top social posts for a keyword or phrase over a given time period.

    Inputs

    keywordstringrequired
    Keyword or phrase to search. Use lowercase a-z, 0-9, #, $, _ and spaces only.
    from_datestring
    Start date for the date range (YYYY-MM-DD). Use with to_date instead of interval.
    intervalstring
    Time window for the data. Defaults to 1w (hourly). Use 1m or longer for daily data.one of 1d1w1m3m6m1yall
    limitnumber
    Maximum number of results to return.default 100
    networkstring
    Social network to filter by.one of allxtwittertiktokyoutuberedditinstagramnews
    to_datestring
    End date for the date range (YYYY-MM-DD). Leave blank to get posts up to now.
  • lunarcrushmcp_keyword_time_seriesGet historical time-series social metrics for a keyword or phrase.Read-only

    Keyword Time Series

    Get historical time-series social metrics for a keyword or phrase.

    Inputs

    keywordstringrequired
    Keyword or phrase to search. Use lowercase a-z, 0-9, #, $, _ and spaces only.
    intervalstring
    Time window for the data. Defaults to 1w (hourly). Use 1m or longer for daily data.one of 1w1m3m6m1yall
    metricsarray
    One or more metrics to include. Leave blank to return all metrics.
    networkstring
    Social network to filter by.one of allxtwittertiktokyoutuberedditinstagramnews