Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Langchain Pythia

FreeNot checked

Every smart contract deserves intelligence, not just data. LangChain tools for Pythia Oracle — on-chain calculated indicators (EMA, RSI, Bollinger, volatility)

GitHubEmbed

About

Every smart contract deserves intelligence, not just data. LangChain tools for Pythia Oracle — on-chain calculated indicators (EMA, RSI, Bollinger, volatility) via Chainlink.

README

PyPI License: MIT

LangChain integration for Pythia Oracle — on-chain calculated crypto indicators via Chainlink.

Access EMA, RSI, Bollinger Bands, Volatility, and more for 22 crypto tokens directly from your LangChain agents. Pythia is the first oracle delivering calculated technical indicators on-chain, not just prices. Includes Pythia Events (indicator alert subscriptions) and Pythia Visions (AI-calibrated market intelligence).

Installation

pip install langchain-pythia

Quick Start

from langchain_pythia import PythiaListTokensTool, PythiaTokenFeedsTool

# Use with any LangChain agent
tools = [PythiaListTokensTool(), PythiaTokenFeedsTool()]

# Or call directly
list_tool = PythiaListTokensTool()
print(list_tool.invoke(""))

feeds_tool = PythiaTokenFeedsTool()
print(feeds_tool.invoke({"engine_id": "bitcoin"}))

With a LangChain Agent

from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
from langchain_pythia import (
    PythiaListTokensTool,
    PythiaTokenFeedsTool,
    PythiaHealthCheckTool,
    PythiaContractsTool,
    PythiaPricingTool,
    PythiaEventsInfoTool,
    PythiaSubscribeInfoTool,
    PythiaVisionsInfoTool,
    PythiaVisionHistoryTool,
)

tools = [
    PythiaListTokensTool(),
    PythiaTokenFeedsTool(),
    PythiaHealthCheckTool(),
    PythiaContractsTool(),
    PythiaPricingTool(),
    PythiaEventsInfoTool(),
    PythiaSubscribeInfoTool(),
    PythiaVisionsInfoTool(),
    PythiaVisionHistoryTool(),
]

llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools)

# Ask about on-chain indicators
response = agent.invoke(
    {"messages": [{"role": "user", "content": "What RSI feeds does Pythia have for Bitcoin?"}]}
)

Available Tools

Tool Description
PythiaListTokensTool List every tracked token with status, uptime, and data sources
PythiaTokenFeedsTool Get all indicator feed names (EMA, RSI, Bollinger, Volatility) for a token
PythiaHealthCheckTool Per-token 30-day uptime, data source health, incident report
PythiaContractsTool Contract addresses (operator, consumers, faucet, LINK) for on-chain integration
PythiaPricingTool Current pricing tiers and free trial faucet info
PythiaEventsInfoTool Pythia Events overview — indicator alert subscriptions
PythiaSubscribeInfoTool Plan a specific event subscription with cost and exact calls
PythiaVisionsInfoTool Pythia Visions overview — current pattern catalog, accuracy ranges, integration guide
PythiaVisionHistoryTool Recent Visions fired for a token with pattern breakdown

What Pythia Provides

  • A growing catalog of indicator feeds across multiple tokens — for the live token list and feed count, run PythiaListTokensTool or fetch feed-status.json
  • Indicator types: EMA, RSI, Bollinger Bands, VWAP, Volatility, USD Price (catalog evolves; PythiaTokenFeedsTool returns the active list per token)
  • Timeframes: 5-minute, 1-hour, 1-day, 1-week
  • On-chain delivery via Chainlink
  • Free trial via PythiaFaucet — no LINK needed
  • Pythia Events: Subscribe to indicator conditions (ABOVE/BELOW thresholds), get triggered on-chain
  • Pythia Visions: AI-calibrated market intelligence on-chain — walk-forward validated patterns, FREE. Live catalog via PythiaVisionsInfoTool.

Use Cases

  • AI trading agents that need on-chain technical signals
  • DeFi vault rebalancing based on RSI or volatility thresholds
  • Risk management using Bollinger Band width
  • Portfolio analysis with real-time calculated metrics

Related

License

MIT

from github.com/pythia-the-oracle/langchain-pythia

Install Langchain Pythia in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install langchain-pythia

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add langchain-pythia -- uvx langchain-pythia

Step-by-step: how to install Langchain Pythia

FAQ

Is Langchain Pythia MCP free?

Yes, Langchain Pythia MCP is free — one-click install via Unyly at no cost.

Does Langchain Pythia need an API key?

No, Langchain Pythia runs without API keys or environment variables.

Is Langchain Pythia hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Langchain Pythia in Claude Desktop, Claude Code or Cursor?

Open Langchain Pythia on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

$5

Stripe

Payments, customers, subscriptions

Stripeby Stripe

malamutemayhem/unclick-agent-native-endpoints

110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n

malamutemayhemby malamutemayhem

whiteknightonhorse/APIbase

Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa

whiteknightonhorseby whiteknightonhorse

trackerfitness729-jpg/sitelauncher-mcp-server

Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr

trackerfitness729-jpgby trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting, and ML for business data (Shopify, Stripe, WooCommerce, eBay, GA4, Search Console). Upload a CSV or connect live data sources

embeddedlayersby embeddedlayers

carrierone/verilexdata-mcp

20 structured datasets (NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents, economic indicators) via x402 pay-per-query wit

carrieroneby carrierone

tipdotmd/tip-md-x402-mcp-server

MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.

tipdotmdby tipdotmd

laundromatic/shopgraph

Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev

laundromaticby laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia. Invoices, disbursements, balance checks, and bank transfers across Indonesia, Philippines, Thailand, Vietnam, and Mal

mrslbtby mrslbt

@arbitova/mcp-server

Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create

jiayuanliang0716-maxby jiayuanliang0716-max

Compare Langchain Pythia with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All finance MCPs