Birdeye MCP Server

Birdeye MCP Server

Provides blockchain data context from Birdeye APIs for AI models via Model Context Protocol, enabling token, market, wallet, NFT, and DEX pool queries on Solana.

Category
Visit Server

README

Birdeye MCP Server

A Model Context Protocol (MCP) server implementation for the Birdeye APIs. This server acts as a middleware between AI models and the Birdeye blockchain data APIs, providing context about tokens, markets, wallets, NFTs, and more on the Solana blockchain.

What is Model Context Protocol (MCP)?

Model Context Protocol (MCP) is a standardized way for AI models to request and receive contextual information from external data sources. This implementation focuses on providing blockchain and crypto-specific context from Birdeye's APIs.

Features

  • Token information and prices
  • Market data and analytics
  • Wallet portfolio tracking
  • NFT collections and items
  • DEX pools and liquidity
  • MCP-friendly endpoints for AI context generation

Prerequisites

  • Node.js (v14+ recommended)
  • Birdeye API key (get one from Birdeye)

Installation

Standard Installation

  1. Clone this repository

    git clone <repository-url>
    cd birdeye-mcp-server
    
  2. Install dependencies

    npm install
    
  3. Configure environment variables

    cp .env.example .env
    

    Then edit the .env file and add your Birdeye API key.

Docker Installation

  1. Clone this repository

    git clone <repository-url>
    cd birdeye-mcp-server
    
  2. Configure environment variables

    cp .env.example .env
    

    Then edit the .env file and add your Birdeye API key.

  3. Build and start with Docker Compose

    docker-compose up -d
    

Usage

Start the server (Standard)

npm start

The server will run on port 3000 by default (configurable in .env).

Start the server (Docker)

docker-compose up -d

To view logs:

docker-compose logs -f

To stop the server:

docker-compose down

API Endpoints

Standard Birdeye Endpoints

  • GET /token/:network/:address - Get token information
  • GET /price/:network/:address - Get token price
  • GET /price/history/:network/:address - Get token price history
  • GET /market/:network/:address - Get market information
  • GET /tokens/top/:network - Get top tokens
  • GET /token/:network/:address/holders - Get token holders
  • GET /token/:network/:address/transfers - Get token transfers
  • GET /wallet/:network/:address - Get wallet portfolio
  • GET /wallet/:network/:address/tokens - Get wallet tokens
  • GET /nft/collections/:network - Get NFT collections
  • GET /nft/collection/:network/:address - Get NFT collection info
  • GET /nft/item/:network/:address - Get NFT item info
  • GET /dex/pools/:network - Get DEX pools
  • GET /dex/pool/:network/:address - Get DEX pool info

MCP-Specific Endpoints

  • POST /mcp/token - Get comprehensive token context

    {
      "network": "solana",
      "address": "token_address",
      "context": "optional query context"
    }
    
  • POST /mcp/wallet - Get comprehensive wallet context

    {
      "network": "solana",
      "address": "wallet_address",
      "context": "optional query context"
    }
    
  • POST /mcp/market - Get market overview context

    {
      "network": "solana",
      "context": "optional query context"
    }
    

Integrating with AI Models

To use this MCP server with AI models:

  1. Set up the server and ensure it's accessible to your AI system
  2. Configure your AI to make appropriate requests to the MCP endpoints
  3. Parse the contextual information and incorporate it into your model's responses

Example integration:

// From your AI application
async function getBirdeyeContext(tokenAddress) {
  const response = await fetch('http://your-mcp-server/mcp/token', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'X-API-KEY': 'your_api_key'
    },
    body: JSON.stringify({
      network: 'solana',
      address: tokenAddress,
      context: 'User is asking about token price and market cap'
    })
  });
  
  return await response.json();
}

License

MIT

Integration with Claude or Other MCP-Compatible Agents

To use the Birdeye MCP Server with Claude or any agent that supports the Model Context Protocol (MCP), you can provide the following configuration file (e.g., claude-mcp-server-config.json) to your agent:

{
  "servers": [
    {
      "name": "Birdeye MCP Server",
      "description": "Model Context Protocol server for Birdeye APIs",
      "command": "node",
      "args": ["server.js"],
      "env": {
        "BIRDEYE_API_KEY": "your_birdeye_api_key_here",
        "PORT": "3000"
      },
      "endpoints": [
        {"path": "/mcp/token", "method": "POST", "description": "Get comprehensive token context"},
        {"path": "/mcp/wallet", "method": "POST", "description": "Get comprehensive wallet context"},
        {"path": "/mcp/market", "method": "POST", "description": "Get market overview context"}
      ]
    }
  ]
}

Usage Instructions

  1. Ensure you have set your Birdeye API key in the configuration file above.
  2. Start the MCP server:
    npm install
    npm start
    
  3. Point your Claude agent (or other MCP-compatible agent) to use the above configuration file.
  4. The agent will be able to call the /mcp/token, /mcp/wallet, and /mcp/market endpoints for context-aware queries.

For more details, refer to the claude-mcp-server-config.json file and the API endpoint documentation above.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured