Skip to main content
Glama

MCP DeFiLlama Airdrops

Um servidor MCP (Model Context Protocol) para extrair dados de airdrops do DeFiLlama.

🚀 Funcionalidades

  • Scraping automático de airdrops do DeFiLlama

  • Cache inteligente (5 minutos) para otimizar performance

  • Filtros avançados por status, chain, valor mínimo

  • Ranking dos melhores airdrops por critérios configuráveis

  • Dados estruturados em formato JSON

  • Fallback de dados para garantir funcionamento

🛠️ Ferramentas Disponíveis

get_airdrops

Busca todos os airdrops disponíveis.

Parâmetros:

  • forceRefresh (boolean): Forçar atualização ignorando cache

  • onlyActive (boolean): Retornar apenas airdrops ativos

  • chain (string): Filtrar por blockchain específica

filter_airdrops

Filtra airdrops por critérios específicos.

Parâmetros:

  • minValue (number): Valor mínimo estimado

  • status (string): Status do airdrop

  • chain (string): Blockchain

  • searchTerm (string): Buscar no nome/descrição

get_best_airdrops

Obtém os melhores airdrops rankeados.

Parâmetros:

  • limit (number): Máximo de resultados (padrão: 10)

  • sortBy (string): Critério de ordenação (value, deadline, name)

debug_scraper

Debug e teste do scraper.

📊 Formato dos Dados

{ "name": "LayerZero", "value": "$1000-5000", "status": "Active", "chain": "ETH", "deadline": "2024-12-31", "url": "https://...", "lastUpdated": "2024-01-01T00:00:00.000Z" }

🔧 Instalação e Uso

# Instalar dependências npm install # Compilar npm run build # Executar servidor MCP npm start # Ou modo desenvolvimento npm run dev

🧪 Teste

# Testar scraper npx tsx test-scraper.ts

🔗 Integração com N8N

  1. Configure o MCP como servidor HTTP

  2. Use nó HTTP Request no N8N

  3. Endpoint: http://localhost:3000/tools/get_best_airdrops

  4. Configure filtros conforme necessário

📱 Exemplo de Fluxo N8N → WhatsApp

[MCP] → [Filtrar Top 5] → [Formatar Mensagem] → [Evolution API] → [WhatsApp]

⚠️ Limitações

  • Site protegido por Cloudflare (usa dados de fallback)

  • Cache de 5 minutos para performance

  • Dados dependem da estrutura do site DeFiLlama

🤝 Contribuição

  1. Fork o projeto

  2. Crie branch para feature

  3. Commit suas mudanças

  4. Push para branch

  5. Abra Pull Request

📄 Licença

MIT License - veja arquivo LICENSE para detalhes.

Deploy Server
A
security – no known vulnerabilities
-
license - not tested
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    -
    license
    A
    quality
    Provides real-time and historical cryptocurrency market data through integration with major exchanges. This server enables LLMs like Claude to fetch current prices, analyze market trends, and access detailed trading information.
    Last updated -
    7
    54
    MIT License
    • Apple
  • A
    security
    -
    license
    A
    quality
    Enables searching and retrieving detailed flight information using the Duffel API, supporting various flight types and flexible search parameters for efficient travel planning.
    Last updated -
    3
    137
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    Enables interaction with the Artemis API to retrieve and analyze cryptocurrency data, including accessing metrics, generating formulas, and validating API connections.
    Last updated -
    2
  • -
    security
    F
    license
    -
    quality
    Provides unified access to real-time and historical Solana ecosystem data through 40+ API endpoints, enabling LLM agents to query tokens, wallets, trades, and DeFi metrics.
    Last updated -

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zarelli1/mcp-defillama-airdrops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server