LunarCrush MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with LunarCrush MCP or direct API to research social sentiment, compare engagement, analyze creators, and track cryptocurrencies and stocks through natural language.

LunarCrush MCP logoLunarCrush MCP
Dcr Oauth

LunarCrush MCP is a hosted research service for social sentiment and engagement data. It brings topic, creator, post, cryptocurrency, and stock insights into one MCP connection.

15 Tools

Try LunarCrush MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
LunarCrush MCP
Try asking
TOOLS

Supported Tools

Every LunarCrush MCP action and event your agent gets out of the box.

Auth

Get subscription and rate-limit information for the connected LunarCrush account.

Creator

Creator's summary snapshot of social metrics and insights.

Creator posts

Top social posts for a specific social media account by unique id or screen name and time period.

Creator time series

Historical time-series metrics for a social media account by unique id or screen name.

Cryptocurrencies

List of cryptocurrencies sorted by available metrics and filtered by a sector.

Fetch

Fetch a lunarcrush.ai context using a specific path like /topic/bitcoin or /topic/bitcoin/posts or /list/cryptocurrencies/altrank or /creator/x/lunarcrush or /post/x/1234567890

Keyword posts

Top social posts by interactions for a given time period.

Keyword time series

Historical time series social metrics for any keyword or phrase.

List

List of social topics within a category sorted and filtered by available metrics and sectors.

Post

Social post details.

Search

Search for any keyword or account.

Stocks

List of stocks sorted by available metrics and filtered by a sector.

Topic

Summary snapshot of all social metrics and insights for any social topic, keyword, cryptocurrency, stock, or custom search/collection slug like lc1s5M27Jq

Topic posts

Top social posts by interactions for a given time period.

Topic time series

Historical time-series metrics for a social topic, keyword, cryptocurrency, or stock, or custom search/collection slug like lc1s5M27Jq

SETUP GUIDE

Connect LunarCrush MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["lunarcrush_mcp"],
  mcp: true,
});
Create a session scoped to LunarCrush MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Research Bitcoin's social sentiment and engagement metrics over the past 7 days, then summarize the main trends.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a LunarCrush MCP request
SETUP GUIDE

Connect LunarCrush MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["lunarcrush_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to LunarCrush MCP
3

Run LunarCrush MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Research Bitcoin's social sentiment and engagement metrics over the past 7 days, then summarize the main trends." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the LunarCrush MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native LunarCrush MCP Integration

  • Supports both LunarCrush MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable social research and metric lookups
  • Rich coverage for topics, creators, posts, cryptocurrencies, and stocks

Managed Auth

  • Connect LunarCrush MCP with your own DCR OAuth credentials
  • Central place to manage, scope, and revoke LunarCrush MCP access
  • Per user and per environment credentials instead of hard-coded secrets

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve research reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access LunarCrush MCP
  • Scoped, least privilege access to LunarCrush MCP research resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use LunarCrush MCP with any AI Agent Framework

Choose a Framework you want to connect LunarCrush MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with LunarCrush MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every LunarCrush MCP tool your agent needs.Free to start.

Start building