# Derivatives_Intelligence_MCP (`integral_magistrate/derivatives-intelligence-mcp`) Actor

Read-only MCP server with derived crypto spot and perpetual-futures analytics from Kraken public data: basis, spreads, slippage, volatility and movers. Informational only, not financial advice.

- **URL**: https://apify.com/integral_magistrate/derivatives-intelligence-mcp.md
- **Developed by:** [Tim Callewaert](https://apify.com/integral_magistrate) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 watch checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Derivatives Intelligence MCP is a read-only [Model Context Protocol](https://modelcontextprotocol.io) server for AI agents and developers. It turns Kraken's public spot and perpetual-futures market data into small, derived answers: perp-versus-spot basis, annualised funding, bid-ask spreads, order-book slippage, realised volatility and the day's biggest movers.

It places no orders, holds no exchange keys and touches no wallets. **Outputs are informational and descriptive, not financial advice, forecasts or recommendations.** Values are point-in-time and can be wrong or unavailable when an exchange API is.

### What you get

This server returns **derived values only**. Kraken told the operator in writing (2026-11-13) that offering third parties only the specific derived values described to it, with the fixed settings below, is permitted without a licence. Annualised funding is included because Kraken said it counts as derived; that it may therefore be offered is the operator's reading of that answer. The permission is limited and revocable, and this Actor is not affiliated with or endorsed by Kraken. Prices, volumes, open interest and the hourly funding rate that Kraken publishes are never returned, and every result that is an object lists the field names it left out.

| Tool | Event charge per successful call | What it returns |
| --- | --- | --- |
| `service_info` | free | Version, data sources and their terms status, each tool's fields and default price |
| `market_regime` | free | For one asset: spot spread (bps), move from the 24h VWAP and the daily open (%), perpetual basis (bps), annualised funding and which side pays |
| `perp_basis_carry` | $0.05 | Kraken perpetual vs Kraken spot: basis (bps), annualised funding (%) and which side pays |
| `slippage_estimate` | $0.01 | Estimated slippage (bps) for one of four order sizes (1,000, 10,000, 100,000 or 1,000,000 in the pair's quote currency) over the top 200 order-book levels, and whether those levels could fill it |
| `volatility_report` | $0.01 | Realised volatility (annualised %) and ATR (%) over the latest 240 candles at the interval you choose |
| `scan_movers` | $0.01 | The pairs you list (or a default set), ranked by their move since the daily open (%), leaving out pairs under 1,000,000 of 24h volume in their quote currency |

Some tools are listed but refuse here: `market_snapshot` and `funding_snapshot` would return Kraken's data as published, and `options_iv_surface` is off because its data source refused this use.

#### Fixed settings

The order sizes, book depth, number of candles and liquidity floor are fixed on purpose. If a caller could move them freely, repeated calls could rebuild the values that are withheld.

### Pricing

- **Event charges** apply only to successful calls of the paid tools, at the prices on this Actor's Pricing tab (the table above shows the defaults). Invalid input, refusals, empty results and exchange outages carry no event charge, and the tools marked free carry none at all.
- **Platform usage is extra.** This Actor runs in your own Apify account (single-tenant), so you also pay your run's platform usage for every call, free tools included, and while it waits for requests until its idle timeout stops it, plus Apify's Actor-start event each time a run starts. A call therefore costs you more than its event charge.
- A run stops after a period without requests and starts again on the next request.

### How to connect

1. Copy this Actor's MCP URL from its **Server** tab. It contains the username of this Actor's owner, not yours, e.g. `https://<owner-username>--derivatives-intelligence-mcp.apify.actor/mcp`.
2. Create an Apify API token in **Settings > API & Integrations**.
3. Add the server to your MCP client, sending the token as a bearer token:

```json
{
  "mcpServers": {
    "derivatives-intelligence": {
      "url": "https://<owner-username>--derivatives-intelligence-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>" }
    }
  }
}
```

The server speaks Streamable HTTP with JSON responses and keeps no session between requests. Pressing **Start** in the Console does nothing useful: the run stops at once, because the server only answers through its server URL.

### Example

Ask your agent: *"What is the BTC perpetual basis on Kraken right now?"* It calls `perp_basis_carry` with `asset: "BTC"` and gets back something like `{"asset": "BTC", "basis_bps": 3.1, "funding_annualised_pct": 10.5, "funding_direction": "longs_pay_shorts", ...}`, plus the list of fields it withheld.

### FAQ

**Is this trading advice?** No. It describes current market data; it does not tell anyone what to do.

**Where does the data come from?** Kraken's public, unauthenticated spot and Kraken Futures endpoints, fetched when you call a tool.

**Why are there no prices?** Kraken does not allow its published data to be passed on. The operator has Kraken's written agreement for the specific derived values listed above, so only those are returned.

#### Known limitations

Some tools refuse here (see above). `volatility_report` needs 240 candles at the chosen interval, so a young pair can be refused. Order sizes, book depth and the liquidity floor are fixed.

#### Support

Report problems or questions in this Actor's **Issues** tab.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("integral_magistrate/derivatives-intelligence-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("integral_magistrate/derivatives-intelligence-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call integral_magistrate/derivatives-intelligence-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,integral_magistrate/derivatives-intelligence-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/syQMai3f6Qfwvinuc/builds/CwW7J1ffFE7vJhsdK/openapi.json
