@edgefinder/cli
v0.1.11
Published
EdgeFinder CLI and MCP server for sports analysis
Downloads
1,214
Maintainers
Readme
@edgefinder/cli
CLI and MCP server for EdgeFinder sports analysis. Get AI-powered NFL and NBA betting recommendations, player stats, odds, schedules, and Polymarket portfolio tracking from your terminal or AI agent.
Requirements
- Node.js 18+
- EdgeFinder subscription (Starter $20/mo, Pro $50/mo, or Ultimate $150/mo)
Getting Started
# Install
npm install -g @edgefinder/cli
# Log in (opens magic link in your email)
edgefinder login
# Start asking questions
edgefinder ask "Who should I bet on tonight?"edgefinder login will walk you through everything — enter your email, click the magic link, and if you don't have a subscription yet, it'll open the pricing page in your browser. Once you're set up, your API key is saved automatically.
To log out:
edgefinder logoutManual Configuration
You can also set your API key directly if you already have one from chat.edgefinder.io/settings/integrations:
# Environment variable
export EDGEFINDER_API_KEY=ef_live_...
# Or save to config file (~/.edgefinder/config.json)
edgefinder config set api-key ef_live_...CLI Usage
# AI-powered analysis
edgefinder ask "Who should I bet on tonight?" # NFL (default)
edgefinder ask --nba "Lakers vs Celtics prediction" # NBA
# Schedules and scores
edgefinder schedule nfl
edgefinder schedule nba --date 2026-02-20
# Polymarket odds
edgefinder odds nfl --week 12
edgefinder odds nba
# Standings
edgefinder standings nba
# Portfolio tracking (requires connected Polymarket wallet)
edgefinder portfolio summary
edgefinder portfolio positions
edgefinder portfolio trades
# Account status
edgefinder statusAll commands support --json for machine-readable output.
MCP Server
Use EdgeFinder as a tool in AI agents like Claude Desktop, Openclaw, or any MCP-compatible client.
Setup
Add to your MCP client config:
{
"mcpServers": {
"edgefinder": {
"command": "npx",
"args": ["-y", "@edgefinder/cli", "mcp"],
"env": {
"EDGEFINDER_API_KEY": "ef_live_..."
}
}
}
}Available Tools
| Tool | Description |
|------|-------------|
| ask | AI sports analysis -- betting picks, player stats, matchups |
| get_schedule | Game schedules and scores |
| get_standings | League standings |
| get_odds | Polymarket betting odds |
| get_portfolio | Polymarket portfolio data (summary, positions, trades) |
| analyze_position | Analyze a portfolio position -- searches by team/title, runs AI analysis with hold/exit advice, entry assessment, or win/loss post-mortem |
| get_status | Account and subscription status |
License
MIT
