# Defi Fundamentals

> Defi Fundamentals is a paid MCP server for finance and payments. Pay-per-call MCP server for DeFi protocol TVL, top yields and stablecoin pegs. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Repository:** https://github.com/abangdwie/calmlet-mcp-servers
- **MCP Registry name:** io.github.abangdwie/defi-fundamentals
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [crypto and web3](https://ai-powered.com/categories/crypto-and-web3)
- **Listing updated:** 2026-11-28

## About

Exposes DeFi market data to AI agents over MCP, covering protocol total value locked, the highest-yielding pools and how closely stablecoins hold their peg. Each query is priced individually and settled in USDC on Base through the x402 payment protocol, so the calling agent pays inside the tool call without any account or API key.

The server runs as a stateless streamable HTTP endpoint on Cloudflare Workers. Any MCP client with HTTP transport can list its tools for free; paid calls require a client that can sign x402 payments, such as an agent holding its own wallet. The server only verifies payment before running a handler and settles after it succeeds, so a failed request is not charged.

It suits agent builders who want on-chain financial lookups without managing data-provider subscriptions, and developers testing pay-per-use tool economies. The three tools and their prices are listed in the catalog endpoint.

## Features

- **Protocol TVL lookup:** Returns total value locked figures for DeFi protocols.
- **Top yield rankings:** Lists the highest-yielding DeFi pools for an agent to compare.
- **Stablecoin peg monitoring:** Reports how closely stablecoins are trading against their peg.
- **Pay-per-call pricing:** Each tool call is charged in USDC on Base with no subscription.
- **No account required:** Agents connect and pay without signing up or holding an API key.
- **Standard MCP endpoint:** Streamable HTTP transport compatible with MCP clients that support it.

## Good for

- Give a trading or research agent current protocol TVL before recommending a position
- Find the highest-yielding DeFi pools for an automated allocation step
- Check whether a stablecoin is holding its peg before routing funds
- Add paid on-chain data to an agent workflow without a vendor contract

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http defi-fundamentals https://defi-fundamentals.abang-dwie.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "type": "http",
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://defi-fundamentals.abang-dwie.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "type": "http",
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://defi-fundamentals.abang-dwie.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add defi-fundamentals --url https://defi-fundamentals.abang-dwie.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.defi-fundamentals]
url = "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "httpUrl": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http defi-fundamentals https://defi-fundamentals.abang-dwie.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "serverUrl": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "type": "streamableHttp",
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "defi-fundamentals": {
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://defi-fundamentals.abang-dwie.workers.dev/mcp
```

Enter a Name (for example "Defi Fundamentals"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "defi-fundamentals": {
      "type": "http",
      "url": "https://defi-fundamentals.abang-dwie.workers.dev/mcp"
    }
  }
}
```

## FAQ

### How do I pay for calls?

Paid tools return a payment requirement in USDC on Base via x402. The client signs an EIP-3009 authorization and retries the call with the payment attached. The server charges only after the handler succeeds.

### Do I need an API key or account?

No. Payment happens inside each tool call, so no account or key is needed.

### Can standard MCP clients like Claude Desktop pay for calls?

They can discover the tools, but paid calls need an x402-capable client or an agent with its own wallet.

### Is Defi Fundamentals free?

No. Defi Fundamentals is a paid product.

### How do I add Defi Fundamentals to Claude Code?

Run this command in your terminal: claude mcp add --transport http defi-fundamentals https://defi-fundamentals.abang-dwie.workers.dev/mcp

### What are the best alternatives to Defi Fundamentals?

The closest alternatives to Defi Fundamentals are APEX DeFi, DefiLlama, DEX & EVM Audit MCP, DeFi pool yields (x402), DeFi yield minus T-bill rate (x402), DeFAI Intent Solver, Yield Optimizer & Kelly Execution Router MCP and DeFi Protocol Data.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [APEX DeFi, DefiLlama, DEX & EVM Audit MCP](https://ai-powered.com/mcp/apex-defi-defillama-dex-and-evm-audit-mcp): APEX DeFi, DefiLlama, DEX & EVM Audit MCP is a freemium MCP server for finance and payments.
- [DeFi pool yields (x402)](https://ai-powered.com/mcp/defi-pool-yields-x402): DeFi pool yields (x402) is a paid MCP server for finance and payments.
- [DeFi yield minus T-bill rate (x402)](https://ai-powered.com/mcp/defi-yield-minus-t-bill-rate-x402): DeFi yield minus T-bill rate (x402) is a paid MCP server for finance and payments.
- [DeFAI Intent Solver, Yield Optimizer & Kelly Execution Router MCP](https://ai-powered.com/mcp/defai-intent-solver-yield-optimizer-and-kelly-execution-rout): DeFAI Intent Solver, Yield Optimizer & Kelly Execution Router MCP is a free MCP server for finance and payments.
- [DeFi Protocol Data](https://ai-powered.com/mcp/defi-protocol-data): DeFi Protocol Data is an MCP server for finance and payments.
- [Concierge Intel](https://ai-powered.com/mcp/concierge-intel): Concierge Intel is a paid MCP server for finance and payments.
- [Toolfi](https://ai-powered.com/mcp/toolfi): Toolfi is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/defi-fundamentals
