tradeledger
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
tradeledger
A read-only window onto a live trading experiment. tradeledger lets an agent quote the experiment's actual state — its current balance and open position, the trades it has actually closed, the contributor shadow rules it runs, and the story it tells about itself — instead of inventing plausible numbers.
Nothing here trades. The five tools only read public data; there is no order, wallet, or account-write operation in the surface, and no credential is needed or accepted.
Tools
Tool | Arguments | What it answers |
| — | Balance, total PnL, win rate, trade count, market regime, and the open position if one is running. |
|
| The most recent closed trades, each with direction, exit reason, PnL, and regime. |
|
| The contributor-proposed shadow rules, filtered by where they stand. |
|
| One rule's per-bucket hit rates and how far it sits from its promotion bar. |
|
| The newest entry in the experiment's narrated saga. |
Related MCP server: polymarket-book-mcp
How it works
tradeledger is a forwarding client. A tool call is packaged as a
JSON-RPC tools/call request and sent to a single upstream MCP
endpoint; whatever the upstream returns is handed back untouched.
When the upstream fails, the answer is an error text beginning
tradeledger error: — never a locally invented figure.
Provenance
The endpoint and the forwarding shape are labelled reconstructions. The original server's public description names its data sources in prose but publishes no per-tool endpoint, so this rebuild points every call at one configurable upstream:
IBITLABS_MCP_URL— upstream MCP endpoint. Default:https://www.ibitlabs.com/api/mcp(labelled reconstruction).REQUEST_TIMEOUT_MS— per-request timeout. Default:15000.
Run it as an MCP server
{
"mcpServers": {
"tradeledger": {
"command": "npx",
"args": ["-y", "@reneturcios/tradeledger", "mcp"]
}
}
}Or in a container:
docker run -i ghcr.io/cloudcorprecords/tradeledgerRun it as a CLI
npx @reneturcios/tradeledger get_live_status '{}'
npx @reneturcios/tradeledger get_recent_trades '{"limit": 2}'
npx @reneturcios/tradeledger get_rule_status '{"rule_id": "F"}'
npx @reneturcios/tradeledger --versionEach tool subcommand takes exactly one JSON object string with the tool's arguments and prints the result text. Exit codes are 0 on success, 1 on an error result, and 2 on a usage error.
Development
npm install
npm run build # tsc -> dist/ (dist/cli.js is the bin)
npm test # tsx --test test/*.test.ts — offline; the upstream is stubbed
npm run dev # tsx src/cli.ts — run the CLI from sourceThe test suite never touches the network: it drives the core
with a stubbed JSON-RPC upstream whose payloads are the public
worked-example responses, and checks they pass through
untouched, that failures become tradeledger error: results,
and that the served tool list matches the contracted five tools
exactly.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Read-only market charts, OHLC, backtests and a view of your connected broker accounts
Read-only MCP for AI usage profiles, leaderboards, stats, and docs; no writes or private data.
Read-only MCP server for the OPERANT AI operating-agent calibration benchmark.
Related MCP Servers
- AlicenseCqualityAmaintenanceRead-only MCP server that exposes public TokenLab model catalog tools for agents to discover models, inspect request contracts, and compare pricing.321,286 npm1MIT
- AlicenseAqualityDmaintenanceRead-only MCP server for Polymarket, providing order books, market metadata, and price history via public GET endpoints. It requires no private keys and cannot place trades.5MIT
- FlicenseNot gradedqualityBmaintenanceEnables MCP clients to securely access read-only Psagot Trade account and market information through authenticated HTTP endpoints. It exposes only read-only tools, with no trade-submission capabilities.-
- AlicenseBqualityAmaintenanceRead-only MCP server that exposes governed operational records with provenance and validity windows so clients can check which evidence is still current before answering. It lets agents reconcile freshness, schedule state, and evidence specificity to determine whether scheduled automations are actually healthy, rather than trusting an expired dashboard summary.4MIT