Atlas / MCP servers / predictionmarkettrader / openthomas

openthomasSAFE

mcp/predictionmarkettrader/openthomas

A self-improving weather forecasting & trading agent, in public.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
8 6r · 1w · 1d
Transport
—
License
MIT
Stars
21
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://pypi.org/project/openthomas/) [](https://github.com/PredictionMarketTrader/openthomas/actions) [](LICENSE) [](https://pypi.org/project/openthomas/)

An autonomous AI agent that trades weather markets on Kalshi and Polymarket. It knows the exact NWS station each market settles on, builds a probability for every strike from a seven-model forecast consensus, learns each station's systematic bias from months of leak-free hindcasts, lets an LLM adjust — within hard bounds — for what the statistics can't see, and sizes every position with fractional Kelly under risk limits no model can override. It learns from every settled degree.

pip install openthomas
openthomas init --bankroll 1000 --risk conservative
openthomas hindcast   # teach the baseline each station's bias — before the first trade
openthomas run        # paper trading on live market prices — the default

No wallet, no exchange API keys needed to start: paper mode simulates fills against real Polymarket + Kalshi order books. You only connect real money after you've watched it trade.

⚠️ Prediction market trading can lose all the money you allocate. OpenThomas ships with paper trading as the default, hard position limits, and a drawdown kill-switch — but no software makes trading safe. Roughly 70% of Polymarket addresses have lost money. This is not financial advice.

Why another trading bot? Because the LLM is not the edge.

The Prediction Arena benchmark gave six frontier AI models $10,000 eac

Read from source at commit 2637e0f85d6dOBSERVED · 2026-10-11
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add openthomas --env HF_TOKEN=${HF_TOKEN} --env KALSHI_API_KEY_ID=${KALSHI_API_KEY_ID} --env KALSHI_PRIVATE_KEY_PATH=${KALSHI_PRIVATE_KEY_PATH} -- uvx openthomas
claude-desktop
{
  "mcpServers": {
    "openthomas": {
      "command": "uvx",
      "args": [
        "openthomas"
      ],
      "env": {
        "HF_TOKEN": "${HF_TOKEN}",
        "KALSHI_API_KEY_ID": "${KALSHI_API_KEY_ID}",
        "KALSHI_PRIVATE_KEY_PATH": "${KALSHI_PRIVATE_KEY_PATH}"
      }
    }
  }
}
03

Exposed tools (8)

6 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
forecast_marketwriteRun OpenThomas
get_marketreadFetch one market
performance_reportreadTrack record: PnL, win rate, Brier score, calibration table, per-category stats.
portfolio_statusdestructiveCurrent account value, cash, open positions, and kill-switch state.
propose_tradereadPropose a trade from YOUR probability estimate that YES resolves true.
research_newsreadRetrieve recent news headlines for a market question (GDELT + Google News,
scan_marketsreadScan live Polymarket + Kalshi markets through OpenThomas
weather_briefreadSettlement station, strike, multi-model NWP guidance, and today
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (8)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
portfolio_status
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
openthomas/improve/forecast_replay.py:99
return hashlib.sha1(f"{self.config.model}|{prompt}".encode()).hexdigest()[:16]
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm.py:328
monkeypatch.setenv("http_proxy", "http://127.0.0.1:3128")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm.py:329
monkeypatch.setenv("https_proxy", "http://127.0.0.1:3128")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm.py:333
provider="openai", model="glm-5.2", base_url="http://10.0.0.7:8000/v1",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm.py:335
base_url="http://127.0.0.1:8081/v1")))
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm.py:337
assert _pool(client, "http://10.0.0.7:8000/v1/chat/completions") == "ConnectionPool"
INFOInventory / provenance · inv.oversize · CWE-1104
docs/2604.07355v1.pdf
docs/2604.07355v1.pdf
Why it matters. 1732327 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha 2637e0f85d6dfull audit observations/trust-audit/mcp-server/predictionmarkettrader__openthomas.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-112637e0f85d6dSAFEB89first audit
06

Questions

What is the openthomas MCP server?

A self-improving weather forecasting & trading agent, in public.

What tools does openthomas expose?

8 in total: 6 read-only, 1 that write, and 1 that can delete or overwrite (portfolio_status). Every one is listed on this page with its risk.

Is openthomas safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does openthomas need?

It reads HF_TOKEN, KALSHI_API_KEY_ID and KALSHI_PRIVATE_KEY_PATH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (2637e0f85d6d), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement