
Fxabsolute
io.github.varsansri由 GitHub 帳號 varsansri 發布v0.1.0更新於 Oct 24, 2026
Five years of 1-minute forex, index and crypto candles, plus a live bridge to a trader's chart.
概覽
本機 MCP 伺服器,讓助理取得 FXAbsolute 的外匯、指數與加密貨幣分鐘級 K 線數值歷史,並可連接交易者的即時圖表。
- 可以做什麼
- 列出可用商品、K 線數量與欄位,並依日期範圍與 M1 至 W1 的時間週期取得原始 OHLC K 線。跨月掃描某一交易時段的特定 K 線並彙總,同時提示缺少工作日的覆蓋情況。依小時、星期、月份或年份統計波動,並檢查某價格位是否守住及價格反應。透過六碼配對碼連接開啟的 FXAbsolute 圖表,等待交易者訊息、在圖表面板回覆、顯示思考狀態並中斷連線。
- 適用情境
- 適合助理需要精確價格數字做回測或時段分析、而非讀取圖表截圖的情境,也適合交易者希望在即時 FXAbsolute 圖表工作階段中由代理回答問題。
- 執行需求
- 透過 stdio 在本機執行,通常以 npx 啟動 fxabsolute-mcp 套件,需要 Node.js。無需 API 金鑰或帳號。預設從 FXAbsolute 網站取得資料並快取在使用者快取目錄,每個商品約 38 MB,首次使用需要網路存取。選用環境變數 FXA_DATA_DIR 與 FXA_ORIGIN 可變更資料來源。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Fxabsolute,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
fxabsolute-mcp
Connects a coding agent directly to FXAbsolute's candle history over MCP.
The point is to stop the model looking at pictures of charts. A screenshot forces it to recover prices from pixels; these tools hand it the numbers, so "what does the New York open actually do" becomes a query instead of a guess.
Setup
Nothing to install and no API key. The server fetches what it needs and caches it.
Claude Code
Cursor, Windsurf, Claude Desktop, or anything reading a config file
Verify with claude mcp list, or just ask your agent "what instruments does fxabsolute
have?" — it should answer with fifteen, and tell you volume is not available.
Working on the server itself
Where the data comes from
In order:
FXA_DATA_DIR— an explicit directory of.binfiles../public/data— automatic when running inside the checkoutFXA_ORIGIN(defaulthttps://www.fxabsolute.com) — fetched once per instrument and cached under~/.cache/fxabsolute-mcp, so it works from any machine
~38 MB per instrument, downloaded lazily and only once.
Tools
Live chart bridge
A trader opens the backtester, switches to the AI tab, and reads out the six-character
code. Their agent calls fxa_connect_chart, then loops on fxa_wait_for_message → answer →
fxa_reply. The site holds no API key and pays for no inference — every trader brings their
own agent.
Each message carries a snapshot of the chart: instrument, timeframe, replay position, the
current candle, every drawing as real geometry (height in pips, bars spanned, slope per bar,
fib levels, whether price sits inside a box), open trades and running performance. The agent
reads numbers, so it can check a claim with fxa_session_scan instead of guessing from an
image.
Transport is a Supabase Realtime broadcast channel, so the browser and the agent need not be
on the same machine — a chart on a phone pairs with a terminal on a laptop. Credentials come
from /bridge-config.json on the site, which carries only the publishable key already present
in every visitor's browser bundle, so pairing needs no setup.
The replay position is included with a note telling the agent not to reveal bars the trader has not reached. Backtesting is worthless if the assistant spoils the future.
The motivating query — the first 5-minute candle of the New York session, every day, for six months — is one call:
Two things worth knowing
There is no volume. The binary format is 20 bytes per candle: uint32 timestamp plus four
float32 OHLC values. Volume was never stored, so no tool reports it and none invents a proxy
silently — rangePips is offered instead, and every relevant response says so. Adding real
volume means re-fetching all ~543 MB from Dukascopy into a wider record format.
Timeframes are bucketed on wall-clock time, not by array index. The browser chart
aggregates every N bars, which is right for bar-by-bar replay but drifts for analysis: forex
data has weekend and holiday gaps, so the Nth group of 60 M1 bars stops lining up with a real
clock hour and an "H1 candle" can straddle a weekend. Here, bars are bucketed on
floor(ts / period), so every bar sits on a true boundary and gaps produce no bar rather than
a synthetic one.
Session windows are evaluated in exchange-local time with daylight saving resolved to the second, so "the 09:30 bar" is the 09:30 bar in both January and July rather than drifting an hour each spring.
fxa_session_scan also reports coverage: how many weekdays in the window produced no data at
all. This matters more than it sounds — SPX500 is missing about 19% of weekdays in the first
half of 2024, and without the warning a scan over that period returns clean-looking statistics
built on a fifth less data than you asked for.
來源:README.md,提交 01c2c61
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分