# LunarCrush MCP

```json
{
  "name": "LunarCrush MCP",
  "slug": "lunarcrush_mcp",
  "url": "https://composio.dev/toolkits/lunarcrush_mcp",
  "markdown_url": "https://composio.dev/toolkits/lunarcrush_mcp.md",
  "logo_url": "https://logos.composio.dev/api/lunarcrush_mcp",
  "categories": [
    "social media"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-29T05:31:27.874Z"
}
```

![LunarCrush MCP logo](https://logos.composio.dev/api/lunarcrush_mcp)

## Description

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.

## Summary

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.

## Categories

- social media

## Toolkit Details

- Tools: 15

## Images

- Logo: https://logos.composio.dev/api/lunarcrush_mcp

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for LunarCrush MCP.
  - Setup:
    - Configure Dcr Oauth credentials for LunarCrush MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Compare Bitcoin and Ethereum social sentiment
- Find creators driving attention around Solana
- Track engagement trends for Tesla stock

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LUNARCRUSH_MCP_AUTH` | Auth | Get subscription and rate-limit information for the connected LunarCrush account. The connection's OAuth token is used automatically. |
| `LUNARCRUSH_MCP_CREATOR` | Creator | Creator's summary snapshot of social metrics and insights. Use for deeper research on a social media account/creator/influencer. |
| `LUNARCRUSH_MCP_CREATOR_POSTS` | Creator posts | Top social posts for a specific social media account by unique id or screen name and time period. Use for deeper research on a social media account/creator/influencer. |
| `LUNARCRUSH_MCP_CREATOR_TIME_SERIES` | Creator time series | Historical time-series metrics for a social media account by unique id or screen name. |
| `LUNARCRUSH_MCP_CRYPTOCURRENCIES` | Cryptocurrencies | List of cryptocurrencies sorted by available metrics and filtered by a sector. |
| `LUNARCRUSH_MCP_FETCH` | 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 |
| `LUNARCRUSH_MCP_KEYWORD_POSTS` | Keyword posts | Top social posts by interactions for a given time period. Identify the most influential narrative and the posts driving social metrics. Use for exact keyword/phrase analytics. |
| `LUNARCRUSH_MCP_KEYWORD_TIME_SERIES` | Keyword time series | Historical time series social metrics for any keyword or phrase. Use for exact keyword/phrase analytics. |
| `LUNARCRUSH_MCP_LIST` | List | List of social topics within a category sorted and filtered by available metrics and sectors. |
| `LUNARCRUSH_MCP_POST` | Post | Social post details. Ids of posts can be inferred by the public URL link to the post. |
| `LUNARCRUSH_MCP_SEARCH` | Search | Search for any keyword or account. Returns matching topics, creator accounts, and the top social posts to help with exact topic lookup or ai context on a keyword. |
| `LUNARCRUSH_MCP_STOCKS` | Stocks | List of stocks sorted by available metrics and filtered by a sector. |
| `LUNARCRUSH_MCP_TOPIC` | Topic | Summary snapshot of all social metrics and insights for any social topic, keyword, cryptocurrency, stock, or custom search/collection slug like lc1s5M27Jq |
| `LUNARCRUSH_MCP_TOPIC_POSTS` | Topic posts | Top social posts by interactions for a given time period. Identify the most influential narrative and the posts driving social metrics. |
| `LUNARCRUSH_MCP_TOPIC_TIME_SERIES` | Topic time series | Historical time-series metrics for a social topic, keyword, cryptocurrency, or stock, or custom search/collection slug like lc1s5M27Jq |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to LunarCrush MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["lunarcrush_mcp"])
tools = session.tools()
```

```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();
```

#### Path 1, Step 3: Run LunarCrush MCP tools with your agent

Send a request, execute the LunarCrush MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Research Bitcoin's social sentiment and engagement metrics over the past 7 days, then summarize the main trends."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```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);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to LunarCrush MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["lunarcrush_mcp"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["lunarcrush_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a LunarCrush MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to LunarCrush MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Research Bitcoin's social sentiment and engagement metrics over the past 7 days, then summarize the main trends.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```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();
```

## Why Use Composio?

### 1. 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

### 2. 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

### 3. 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

### 4. 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

## Use LunarCrush MCP with any AI Agent Framework

Choose a framework you want to connect LunarCrush MCP with:

- [ChatGPT](https://composio.dev/toolkits/lunarcrush_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/lunarcrush_mcp/framework/claude-cowork)

## Related Toolkits

- [Twitter](https://composio.dev/toolkits/twitter) - Twitter is a social media platform for sharing real-time updates, conversations, and news. Stay connected, informed, and engaged with communities worldwide.
- [Instagram](https://composio.dev/toolkits/instagram) - Instagram is a social platform for sharing photos, videos, and stories with your audience. It helps brands and creators engage, grow, and analyze their online presence.
- [Ayrshare](https://composio.dev/toolkits/ayrshare) - Ayrshare is a Social Media API for managing, automating, and analyzing posts across multiple platforms. It helps you streamline social media workflows and centralize analytics.
- [DEV Community](https://composio.dev/toolkits/devto) - DEV Community (dev.to) is a social publishing platform for software developers. Use it to share technical articles, grow a developer audience, and join community discussions.
- [Dotsimple](https://composio.dev/toolkits/dotsimple) - Dotsimple is a social media management platform for planning, creating, and publishing content. It helps teams boost their reach with AI-powered content generation and actionable analytics.
- [Just One API](https://composio.dev/toolkits/just_one_api) - Just One API is a unified platform providing public social, creator, entertainment, and ecommerce data. Use it to query standardized, metered datasets across hundreds of endpoints for research and product insights.
- [Metricool MCP](https://composio.dev/toolkits/metricool_mcp) - Metricool is a social media management platform for analytics, planning, and publishing. It helps teams measure performance and plan content across social networks.
- [Pinterest](https://composio.dev/toolkits/pinterest) - Pinterest is a visual discovery platform for recipes, home ideas, style inspiration, travel plans, and more. It helps people save, organize, and revisit ideas through Pins and Boards.
- [PostWire](https://composio.dev/toolkits/postwire) - PostWire is a social publishing platform for creating, scheduling, and managing posts across multiple networks. It helps teams plan content and publish consistently from one place.
- [Product Hunt](https://composio.dev/toolkits/product_hunt) - Product Hunt is a community platform for discovering and discussing new technology products. It helps people find promising launches, follow trends, and share product feedback.
- [Strava](https://composio.dev/toolkits/strava) - Strava is a social fitness network and app for cyclists and runners. It's perfect for tracking workouts, sharing progress, and joining active communities.
- [Threads](https://composio.dev/toolkits/threads) - Threads is Meta's social network for publishing posts, managing replies, discovering content, and tracking performance. It helps creators and brands engage audiences and measure what resonates.
- [TikHub](https://composio.dev/toolkits/tik_hub) - TikHub is a social metadata API that exposes supported TikTok and social metadata routes. It provides consistent, API-key-based access to public metadata without cookies or device signatures.
- [Tiktok](https://composio.dev/toolkits/tiktok) - Tiktok is a short-form video platform for creating, sharing, and discovering viral content. It helps creators and brands reach massive audiences with creative tools and global social features.
- [Twitch](https://composio.dev/toolkits/twitch) - Twitch is a live streaming platform for gamers, creators, and communities. It enables real-time interaction, monetization, and community building.
- [TwitterShots](https://composio.dev/toolkits/twittershots) - TwitterShots is an API service that renders public X posts as clean screenshots and retrieves tweet content. Use it to capture social posts, extract tweet text, and track API usage without building screenshot infrastructure.
- [Upload-Post](https://composio.dev/toolkits/upload_post) - Upload-Post is a social publishing API for posting, scheduling, and managing content across social networks. Use it to run multi-channel content workflows through one clean API instead of separate platform integrations.
- [X MCP](https://composio.dev/toolkits/x_mcp) - X MCP is X's hosted MCP server for searching posts, users, news, trends, Spaces, and communities. It provides a ready-to-use bridge for working with X data and account features.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Google Calendar](https://composio.dev/toolkits/googlecalendar) - Google Calendar is a time management service for scheduling meetings, events, and reminders. It streamlines personal and team organization with integrated notifications and sharing options.

## Frequently Asked Questions

### Do I need my own developer credentials to use LunarCrush MCP with Composio?

Yes, LunarCrush MCP requires you to configure your own Dcr OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
