natural-dynamics-mcp

Natural Dynamics MCP Server

A healthy heartbeat, a walk or a breath is never perfectly regular and never random. Ask your AI assistant how natural a series of numbers is, or ask it for numbers that vary the way natural systems do.

What it is

Natural variation is fractal: the same balance of stability and change at every time scale, also called 1/f. The server measures it with the DFA scaling exponent α and reads the result on one scale:

α Verdict What it means
below 0.6 static No memory: each value is independent of the last, like white noise.
0.6 to 0.85 predictable Short memory around a fixed mean: regular, over-controlled.
0.85 to 1.15 natural Fractal, 1/f: self-similar across time scales.
above 1.15 too driven Trends overpower short-term variation: pushed by a force, drifting.

The natural band is ±0.15 by default; strictness widens it to ±0.2 (relaxed) or narrows it to ±0.1 (strict). Every result also has a naturalness score, 1 − |α − 1|, from 0 to 1.

It runs on dfa-variability and generate-fractal-signal, the same libraries as the Fractality MCP server. Use that one for the full DFA and multifractal toolkit, and this one for a plain verdict and natural-looking numbers.

Connect

The server runs at https://natural.fractality.app/mcp. When your assistant connects, it opens fractality.app and asks you to sign in with your Fractality account and allow it. Accounts are by invitation: request access if you don't have one.

Claude (claude.ai and Claude Desktop)

Open Settings → Connectors → Add custom connector, name it Natural Dynamics, paste https://natural.fractality.app/mcp as the URL, then click Connect and sign in.

Claude Code

claude mcp add --transport http natural-dynamics https://natural.fractality.app/mcp

Then type /mcp inside Claude Code, choose natural-dynamics and sign in.

Cursor and other clients

{
	"mcpServers": {
		"natural-dynamics": {
			"url": "https://natural.fractality.app/mcp"
		}
	}
}

With an API token instead of signing in

Create a token on your account page and send it as a header. It has a higher monthly limit:

claude mcp add --transport http natural-dynamics https://natural.fractality.app/mcp \
  --header "Authorization: Bearer fr_..."

Monthly limits

Signed in, you get 20 free tool calls a month; with an API token, 1000. Each server keeps its own count, which starts again on the first of the month. Your account page shows what you have used.

Run it locally

With Node.js 18 or later the server also runs on your machine over stdio, with no account and no limit on calls, and it can read and write files.

Claude Code

claude mcp add natural-dynamics -- npx -y natural-dynamics-mcp

Claude Desktop, Cursor and other clients

{
	"mcpServers": {
		"natural-dynamics": {
			"command": "npx",
			"args": ["-y", "natural-dynamics-mcp"]
		}
	}
}

Tools

Tool What it does
analyze_natural_dynamics Gives a verdict on any series of numbers (heart rate, steps, prices, sensor readings, traffic): the naturalness score, a one-line summary, advice on how to move toward natural, and separate verdicts for short (α₁) and long (α₂) time scales.
generate_natural_dynamics Makes a sequence that varies the way natural systems do, with a length and a range of values, or a predictable, static or driven one for comparison. Each series is measured before it is returned.

On natural.fractality.app series go in and out inline, up to 16,384 points. The local server also takes filePath and writes long series to outputFile.

Things to ask

  • Generate 120 natural breathing durations between 3 and 6 seconds.
  • Here are my daily step counts for the last year: how natural is that rhythm?
  • Make a predictable and a natural version of 500 values between 0 and 1 and show me how they differ.
  • Give me natural delays between 200 and 800 ms for this animation.