Cover image
Try Now
2025-04-08

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Allora MCP Server

This is a Model Context Protocol (MCP) server implementation for fetching machine learning inferences from the Allora Network, providing access to Allora's prediction markets data through the Model Context Protocol.

License: MIT

Overview

The Allora MCP server allows AI systems and applications to access Allora prediction markets data through the standardized Model Context Protocol (MCP), enabling seamless integration of prediction market data into AI workflows. This server provides direct access to Allora topics, market predictions, and inference data.

Prerequisites

Setup

  1. Clone the repository
git clone https://github.com/your-username/allora-mcp.git
cd allora-mcp
  1. Install dependencies
npm install
  1. Set up environment variables

Create a .env file in the project root (or copy from .env.example):

PORT=3001
ALLORA_API_KEY=your_api_key

Development

npm run dev

Building

npm run build

Running

npm start

Docker

Building the Docker Image

docker build -t allora-mcp .

Running with Docker

# Run the container
docker run -p 3001:3001 -e PORT=3001 -e ALLORA_API_KEY=your_api_key allora-mcp

# Or with environment variables in a file
docker run -p 3001:3001 --env-file .env allora-mcp

Docker Compose (optional)

Create a docker-compose.yml file:

version: '3'
services:
  allora-mcp:
    build: .
    ports:
      - "3001:3001"
    environment:
      - PORT=3001
      - ALLORA_API_KEY=your_api_key

Then run:

docker-compose up

API Usage

Once the server is running, you can interact with it using any MCP client. The server exposes the following endpoints:

  • GET /sse - SSE connection endpoint for MCP communications
  • POST /messages - Message endpoint for MCP communications

Available Tools

Tool Name Description Parameters
list_all_topics Fetch a list of all Allora topics None
get_inference_by_topic_id Fetch inference data for a specific topic topicID: number

Example Usage with Claude

When connected to Claude or other MCP-compatible AI systems, you can access Allora data with:

What topics are available in Allora?

Or get specific inference data:

What is the current prediction for BTC price in 8 hours?

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • jae-jae
  • MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.

  • ravitemer
  • Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)

  • patruff
  • Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden

  • pontusab
  • Die Cursor & Windsurf -Community finden Regeln und MCPs

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • Mintplex-Labs
  • Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • modelcontextprotocol
  • Modellkontext -Protokollserver

    Reviews

    3 (1)
    Avatar
    user_rsNID9wN
    2025-04-17

    I've been using the allora-mcp-server for a while now and I must say it has significantly improved my networking tasks. The allora-network team has done an excellent job developing this server. The setup was straightforward, and the documentation is very thorough. The stability and performance are top-notch. Highly recommend it for anyone in need of a reliable MCP solution.