Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

afferens

MCP server giving AI assistants live vision, spatial, sound and sensor feeds

Runs locally

afferens is a freemium MCP server for physical world apis. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
API, CLI, Web
Runs
Locally
Version
0.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-server -- npx -y @afferens/mcp-server

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

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@afferens/mcp-server"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@afferens/mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@afferens/mcp-server"
      ]
    }
  }
}

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@afferens/mcp-server"
      ]
    }
  }
}

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

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-server -- npx -y @afferens/mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@afferens/mcp-server"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@afferens/mcp-server"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user mcp-server npx -- -y @afferens/mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@afferens/mcp-server"
          ]
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About afferens

The README describes this server as a bridge between MCP-compatible assistants and Afferens, a live physical perception service. Once connected, a client can pull recent events across six modalities: vision (object detections), spatial positions, acoustic sounds, environmental readings, molecular or chemical traces, and interoception, which covers node health.

The server runs over stdio for local clients such as Claude Code, Claude Desktop, Cursor and Windsurf, or over streamable HTTP for hosted or browser-based clients. Three tools are listed: a keyless demo tool, a query tool that filters events by modality and limit, and a verification tool that fetches the feed twice and reports headers, age and a freshness verdict.

It suits developers who want an agent to react to real-world sensor input rather than static data. The README says the free tier includes 10,000 tokens with no card required, and the MIT licence applies to the server code.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

afferens_demo
Live perception data across all 6 modalities; free, no key needed.
afferens_perceive
Query live events by modality with filtering and limits.
afferens_verify
Fetch the feed twice and return a proof bundle with headers, age, and a freshness verdict.

What it does

Six sensor modalities
Exposes vision, spatial, acoustic, environmental, molecular and interoception event streams.
Keyless demo tool
The afferens_demo tool returns live sample data without needing an API key.
Filtered event queries
afferens_perceive filters live events by modality and result limit.
Feed freshness verification
afferens_verify returns two snapshots with headers, age and a freshness verdict.
Stdio and HTTP transports
Runs locally over stdio via npx or as a streamable HTTP endpoint for remote clients.

Good for

  • Giving a local coding or chat assistant access to live sensor readings
  • Building an agent that reacts to detected objects or sounds in real time
  • Checking whether a sensor feed is current before acting on it
  • Connecting a hosted browser-based MCP client to a perception feed

Pricing

Freemium

Free tier of 10,000 tokens, no card required; paid plans not described in the README.

afferens FAQ

Do I need an API key to try afferens?

No. The afferens_demo tool works without a key, according to the README. The perceive and verify tools require an API key.

Which clients does the stdio setup support?

The README says the stdio setup works for Claude Code, Claude Desktop, Cursor and Windsurf.

What does the free tier include?

The README states a free tier of 10,000 tokens with no card required.

How do I add afferens to Claude Code?

Run this command in your terminal: claude mcp add mcp-server -- npx -y @afferens/mcp-server

What are the best alternatives to afferens?

The closest alternatives to afferens are Dialect demo, Body for Agents, Japan Hands, Japan Port Vessel Traffic MCP (AIS Position & ETA) and Wheremind.

Where this comes from

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

How AIPoweredBot checks servers