Skip to content

Remote MCP & AI Agents

Streamable HTTP endpoint: https://www.lopjlb.com/mcp (server version 1.6.0; legacy /bff/api/mcp alias works). Included on every plan after account sign-in; headless automation uses X-LOPJLB-API-Key.

Discovery: /mcp/server-card · /.well-known/mcp/server-card.json · oauth-protected-resource/mcp · lopjlb/lopjlb-skill

Connect in 30 seconds

bash
# Add LOPJLB remote MCP (Streamable HTTP)
claude mcp add --transport http lopjlb https://www.lopjlb.com/mcp

# Inside Claude Code, run /mcp to sign in with your LOPJLB account (Free plan works)

OAuth 2.1 & headless authentication

Every MCP call requires a signed-in LOPJLB account (including Free) or an Enterprise X-LOPJLB-API-Key. There is no anonymous MCP tier — use REST or the lopjlb CLI for zero-login calls.

  • Discovery challenge: Unauthenticated POST /mcp returns 401 with WWW-Authenticate pointing to /.well-known/oauth-protected-resource/mcp.
  • PKCE & RFC 8707 resource: OAuth clients use authorization_code with PKCE S256 and send resource=https://www.lopjlb.com/mcp on /oauth2/authorize. Tokens without resource carry aud=client_id and are refused.
  • Agent Registration: Tokens claimed via /auth.md also reach /mcp at the claimant's billing tier (up to Pro) with either the default audience or resource=https://www.lopjlb.com/mcp.

Tools by plan

Signed-in accounts receive live schemas from tools/list; free server card previews the 27 pre-signup tools.

Free plan (27 public/freemium tools + 3 account tools)

compare_tickers
get_congress_summary
get_congress_symbol
get_earnings_calendar
get_earnings_intel
get_economic_calendar
get_exchange_hours
get_market_pulse
get_market_regime
get_metrics_schema
get_options_ledger
get_prediction_markets_summary
get_prediction_markets_symbol
get_regime_history
get_screener_preview
get_sd50_feed
get_signal_history
get_signal_ledger
get_ticker_detail
get_ticker_summary
get_treasury_rates
get_universe_maps
get_universe_membership
get_universe_months
list_screener_presets
list_screener_scopes
search_tickers

Signed-in Free accounts also unlock ask_research_desk (bills the account's daily research-chat quota: Free/Essential/Research 3 · Pro 10 · Enterprise unlimited), get_my_watchlist, and list_my_saved_views (user sessions only; agent principals are refused on personal lists).

Paid desk additions

  • Essential & Research: screen_universe (S&P 500 on Essential; full 12k+ universe across all asset classes on Research).
  • Pro (and Enterprise): get_peers, get_sd50_allocation, get_intraday_exhaustion, get_intraday_snapshot.

Prompts & resources

KindIdentifierPurpose
Promptmorning-briefPre-market regime, market pulse, and today's earnings/economic catalysts
Promptticker-dossierFull quant signal card, multi-factor scores, earnings CallCard, and news for symbol
Promptearnings-prepUpcoming earnings slate paired with signals and CallCards (days_ahead)
Promptwatchlist-scanScan saved watchlist for signal direction, regime, and scores (signed-in users)
Resourcelopjlb://regime/latestLatest Undercurrent market regime classification JSON
Resourcelopjlb://schema/metrics180 screener column definitions JSON
Resourcelopjlb://ledgers/catalogDirectory of the six public observe-only options ledgers

Smoke checks

bash
# 1. Public server card (unauthenticated discovery)
curl -s https://www.lopjlb.com/mcp/server-card | jq '{name,version,freeCount:(._meta["com.lopjlb/tools"].freePlan|length)}'

# 2. Unauthenticated POST -> 401 with OAuth PRM challenge
curl -si https://www.lopjlb.com/mcp -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | grep -i www-authenticate

# 3. Headless Enterprise tools/list
curl -s https://www.lopjlb.com/mcp -X POST \
  -H "Content-Type: application/json" \
  -H "X-LOPJLB-API-Key: $LOPJLB_API_KEY" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' | jq '.result.tools | length'