L2WS
Binance order book (L2), trades, SQL, backtests and AI price levels for BTC, ETH and SOL.
Should I use this
Quality & Safety
Findings (2)
- LOWin get_quality
- LOWin get_contract_docs
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"l2ws": {
"url": "https://mcp.l2ws.com/mcp"
}
}
}Remote endpoints
https://mcp.l2ws.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (13)
🟢catalog_streams(all)
List of data streams: name, tier, kind, day range, description. all=True also lists streams outside your plan, marked `available_on`.
Input Schema
{
"type": "object",
"properties": {
"all": {
"default": false,
"title": "All",
"type": "boolean"
}
},
"title": "catalog_streamsArguments"
}Output Schema
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "catalog_streamsOutput"
}🟢get_schema(stream)
Columns and types of a stream.
Input Schema
{
"type": "object",
"properties": {
"stream": {
"title": "Stream",
"type": "string"
}
},
"required": [
"stream"
],
"title": "get_schemaArguments"
}🟢get_quality(day)
Q index and data-quality metrics of a day (day as YYYY-MM-DD).
Input Schema
{
"type": "object",
"properties": {
"day": {
"title": "Day",
"type": "string"
}
},
"required": [
"day"
],
"title": "get_qualityArguments"
}🟢sql_query(query, limit)
SELECT/WITH over the streams (the day is a virtual column `day`). The result holds at most min(limit, 50000) rows.
Input Schema
{
"type": "object",
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"limit": {
"default": 10000,
"title": "Limit",
"type": "integer"
}
},
"required": [
"query"
],
"title": "sql_queryArguments"
}🟡save_strategy(name, code)
Save a strategy (the contract is in get_contract_docs). Returns strategy_id, version and the lint result.
Input Schema
{
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"code": {
"title": "Code",
"type": "string"
}
},
"required": [
"name",
"code"
],
"title": "save_strategyArguments"
}🟢list_strategies
My strategies: id, name, version, latest FARM.
Input Schema
{
"type": "object",
"properties": {},
"title": "list_strategiesArguments"
}Output Schema
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_strategiesOutput"
}⚪run_backtest(symbols, date_from, date_to, strategy_id, code, ...)
Queue a backtest. Needs strategy_id OR code (a one-off strategy). Minutes are charged at queue time.
Input Schema
{
"type": "object",
"properties": {
"symbols": {
"items": {
"type": "string"
},
"title": "Symbols",
"type": "array"
},
"date_from": {
"title": "Date From",
"type": "string"
},
"date_to": {
"title": "Date To",
"type": "string"
},
"strategy_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Strategy Id"
},
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Code"
},
"capital": {
"default": 236,
"title": "Capital",
"type": "number"
},
"regime_report": {
"default": true,
"title": "Regime Report",
"type": "boolean"
}
},
"required": [
"symbols",
"date_from",
"date_to"
],
"title": "run_backtestArguments"
}⚪backtest_status(run_id)
Run status: queued | running (+progress) | done | failed.
Input Schema
{
"type": "object",
"properties": {
"run_id": {
"title": "Run Id",
"type": "integer"
}
},
"required": [
"run_id"
],
"title": "backtest_statusArguments"
}⚪backtest_report(run_id)
Full report of a finished run: FARM, PnL, WR, DD, regimes, trades.
Input Schema
{
"type": "object",
"properties": {
"run_id": {
"title": "Run Id",
"type": "integer"
}
},
"required": [
"run_id"
],
"title": "backtest_reportArguments"
}🟢list_runs(limit)
Latest runs: id, status, FARM, parameters, queue time.
Input Schema
{
"type": "object",
"properties": {
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
}
},
"title": "list_runsArguments"
}Output Schema
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_runsOutput"
}🟢get_contract_docs
Strategy contract and sandbox rules (the same text as on /docs-contract).
Input Schema
{
"type": "object",
"properties": {},
"title": "get_contract_docsArguments"
}Output Schema
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_contract_docsOutput"
}🟢get_ai_levels(symbol, model)
Recorded AI levels, prediction history and observed outcomes. Free access is delayed.
Input Schema
{
"type": "object",
"properties": {
"symbol": {
"default": "BTCUSDT",
"title": "Symbol",
"type": "string"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Model"
}
},
"title": "get_ai_levelsArguments"
}🟢get_ai_trader
Our AI trader: training status, latest exam on held-out weeks after fees, released decisions (free: 24 h delay).
Input Schema
{
"type": "object",
"properties": {},
"title": "get_ai_traderArguments"
}Community
Evidence