Skip to main content
Glama

vfat Metrics MCP

A read-only Model Context Protocol server for querying public vfat Metrics position data by EVM address. It gives MCP clients structured access to current vfat/Sickle positions, NFT lifecycle actions, historical value and performance series, CSV exports, and a compact portfolio summary.

This is an independent community project. It is not affiliated with or endorsed by vfat, Sickle, or their contributors.

Tools

Tool

Purpose

get_vfat_positions

Return every current position and the provider's position fields

get_vfat_position

Find one position by NFT/token ID

get_vfat_portfolio_summary

Count positions by chain/protocol and aggregate selected USD metrics

get_vfat_position_actions

Group deposits, rebalances and other events by transaction

get_vfat_position_value_history

Return historical value, token balances and range state

get_vfat_position_performance

Return APR, ROI, PnL and balance time series

export_vfat_position_csv

Export actions, value history or performance as CSV text

Every tool is declared read-only and idempotent. The server cannot sign messages, submit transactions, rebalance liquidity, or move funds.

Related MCP server: MTRKR MCP Server

Requirements

  • Node.js 20 or newer

  • An MCP client such as Codex, Claude Desktop, or another MCP-compatible agent

  • Internet access to https://info-api.vf.at

No API key is required.

Install and run

From a checkout:

npm install
npm run build
node dist/index.js

For development:

npm run dev

The default transport is stdio. The process writes protocol messages to stdout and diagnostics to stderr.

Codex configuration

Build the project, then add it to ~/.codex/config.toml:

[mcp_servers.vfat_metrics]
command = "node"
args = ["/absolute/path/to/vfat-metrics-mcp/dist/index.js"]

Restart Codex after changing MCP configuration. You can then ask, for example:

Show and summarize the current vfat positions for <EVM_ADMIN_ADDRESS>.

Analyze rebalance costs and cashflows for the position identified by <CHAIN_ID>, <SICKLE_ADDRESS>, <NFT_ID>, and <NFT_MANAGER_ADDRESS>.

Claude Desktop configuration

{
  "mcpServers": {
    "vfat-metrics": {
      "command": "node",
      "args": ["/absolute/path/to/vfat-metrics-mcp/dist/index.js"]
    }
  }
}

Streamable HTTP

For local development or a trusted private network:

npm run build
node dist/index.js --http
  • MCP endpoint: http://127.0.0.1:3000/mcp

  • Health endpoint: http://127.0.0.1:3000/health

HTTP mode is stateless. Do not expose it publicly without authentication, TLS, request limits, and a suitable reverse proxy. Configure it with MCP_HTTP_HOST, MCP_HTTP_PORT, or MCP_TRANSPORT=http.

Data and precision

The server reads public endpoints used by the vfat Metrics website:

GET https://info-api.vf.at/open-positions-v2?admin_address=<address>
GET https://info-api.vf.at/sickle-nft-actions?...position identity...
POST https://info-api.vf.at/historical-underlying-assets
GET https://info-api.vf.at/position-performance-history?...position identity...

The upstream endpoint is not documented as a stable public API and may change without notice. Raw position fields are passed through so new fields remain available. Portfolio totals use decimal.js; provider-supplied decimal strings are therefore summed without JavaScript binary floating-point addition.

USD values, PnL, ROI, APR, token prices, timestamps, range state, and rewards are provider-derived estimates. They may be delayed, incomplete, or calculated differently from on-chain state. Verify material decisions independently with on-chain reads and protocol contracts.

Position history

vfat can emit several raw rows for one transaction. get_vfat_position_actions groups them by transaction hash, selects the lifecycle action, sums provider cashflow fields with decimal arithmetic, and retains rewards and swaps. Set include_raw_events=true when an audit needs every provider row.

Value history follows NFT migrations and rebalances by discovering every token ID in the action chain before requesting historical underlying assets. Points at the same timestamp are aggregated into normalized token balances, USD values, and one in_range state.

All history tools accept optional inclusive from and to ISO 8601 timestamps. Position identity fields are supplied at runtime and are never stored by the server.

CSV export

export_vfat_position_csv accepts dataset=actions, value_history, or performance. It returns UTF-8 CSV text plus structured metadata (filename, mime_type, and row_count). The CSV is built from the same normalized JSON returned by the history tools, making calculations reproducible without browser automation.

Configuration

Copy .env.example values into your process environment if you need overrides:

Variable

Default

Meaning

VFAT_METRICS_API_URL

https://info-api.vf.at

Upstream base URL

VFAT_METRICS_TIMEOUT_MS

15000

Request timeout in milliseconds

MCP_TRANSPORT

stdio

stdio or http

MCP_HTTP_HOST

127.0.0.1

HTTP bind address

MCP_HTTP_PORT

3000

HTTP port

Development

npm run check

This runs formatting checks, ESLint, TypeScript typechecking, unit tests, and a production build.

License

MIT

Available Tools

7 tools
export_vfat_position_csvExport vfat position CSVA
Read-onlyIdempotent

Exports transaction actions, position value history or performance history as RFC-style CSV text for reproducible analysis.

Inputs: nft_id (required), dataset (required), chain_id (required), nft_address (required), +3 more.

get_vfat_portfolio_summarySummarize vfat portfolioA
Read-onlyIdempotent

Returns a compact cross-chain position count, protocol breakdown, range status and provider-derived USD totals for an EVM admin address.

Inputs: admin_address (required).

get_vfat_positionGet one vfat positionA
Read-onlyIdempotent

Finds a single position by NFT/token ID among the positions reported for an EVM admin address.

Inputs: token_id (required), admin_address (required).

get_vfat_position_actionsGet vfat position actionsA
Read-onlyIdempotent

Returns transaction-grouped lifecycle actions for one vfat/Sickle NFT position, including deposits, rebalances, cashflows, token deltas, dust, rewards and swaps.

Inputs: nft_id (required), chain_id (required), nft_address (required), sickle_address (required), +3 more.

get_vfat_position_performanceGet vfat position performanceA
Read-onlyIdempotent

Returns a chronological APR, ROI, PnL, realized PnL and balance time series for one vfat/Sickle NFT position.

Inputs: nft_id (required), chain_id (required), nft_address (required), sickle_address (required), +2 more.

get_vfat_positionsGet vfat positionsA
Read-onlyIdempotent

Returns all current vfat/Sickle positions reported for an EVM admin address, including provider metrics and underlying position fields.

Inputs: admin_address (required).

get_vfat_position_value_historyGet vfat position value historyA
Read-onlyIdempotent

Returns a chronological time series of position value, normalized underlying token balances and in-range status across NFT migrations and rebalances.

Inputs: nft_id (required), chain_id (required), nft_address (required), sickle_address (required), +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct aspect: portfolio summary aggregates across chains, positions list all, position finds one, actions provide lifecycle events, value history and performance provide different time series, and export handles CSV output. No two tools overlap in purpose.

    Naming Consistency5/5

    All tools follow a consistent verb_vfat_noun pattern: get_ or export_ prefix, vfat_ domain marker, and a specific resource or metric. Singular/plural forms are used logically for list vs. single item.

    Tool Count5/5

    Seven tools is well-scoped for a DeFi metrics server, covering summary, list, detail, history, performance, and export without excess. Each tool earns its place.

    Completeness5/5

    The toolset covers the full read-only analytics surface for vfat positions: portfolio-level summary, position listing, detail lookup, transaction actions, value history, performance metrics, and CSV export. No obvious gaps for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Self-custodial crypto portfolio and DeFi MCP server. Read balances and positions (Aave, Compound, Morpho, Uniswap V3, Lido, EigenLayer) across Ethereum, Arbitrum, Polygon, and Base, and prepare transactions for approval on a Ledger via WalletConnect.
      100
      145 npm
      4
      Business Source 1.1
    • A
      license
      A
      quality
      D
      maintenance
      A read-only MCP server connecting AI agents to MTRKR wallet intelligence on MegaETH, enabling wallet portfolio, DeFi positions, security scanning, and transaction analytics.
      14
      25 npm
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only access to Hyperliquid's public market, user, vault, and staking data via 61 MCP tools, covering perpetuals, spot, and borrow-lend information.
      MIT