@afferens/mcp-server
Provides AI agents with real-time physical perception data including object detections, positions, sounds, and environmental readings via MCP tools.
README
@afferens/mcp-server
MCP server for Afferens - real-time physical perception for AI agents.
Use it from local MCP clients over stdio or remote/hosted clients over streamable HTTP. It gives any MCP-compatible AI assistant live sensor data: object detections, positions, sounds, environmental readings, chemical traces, and node health.
Tools
| Tool | Auth | Description |
|---|---|---|
afferens_demo |
None | Live perception data across all 6 modalities. Free, no key needed. |
afferens_perceive |
API key | Query live events by modality with filtering and limits. |
afferens_verify |
API key | Fetch the feed twice and return a proof bundle with headers, age, and a freshness verdict. |
Modalities: VISION / SPATIAL / ACOUSTIC / ENVIRONMENTAL / MOLECULAR / INTEROCEPTION
Quick Start
Free tier: 10,000 tokens, no card required. Get your key at afferens.com.
Local MCP Clients
claude mcp add afferens -- npx -y @afferens/mcp-server
Then set your key:
claude mcp add afferens -e AFFERENS_API_KEY=YOUR_KEY -- npx -y @afferens/mcp-server
This stdio setup works for Claude Code, Claude Desktop, Cursor, and Windsurf.
Remote MCP Clients
For hosted or browser-based clients, run Afferens in HTTP mode and point the client at the /mcp endpoint:
AFFERENS_TRANSPORT=http AFFERENS_PORT=8790 AFFERENS_API_KEY=YOUR_KEY node dist/index.js
Then register the endpoint:
{
"afferens": {
"url": "http://127.0.0.1:8790/mcp",
"bearer_token_env_var": "AFFERENS_API_KEY"
}
}
Claude Desktop / Cursor / Windsurf
Add to your MCP config file:
{
"mcpServers": {
"afferens": {
"command": "npx",
"args": ["-y", "@afferens/mcp-server"],
"env": {
"AFFERENS_API_KEY": "YOUR_KEY"
}
}
}
}
Config file locations:
- Claude Desktop (Mac):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json - Cursor:
.cursor/mcp.jsonin your project root - Windsurf:
~/.codeium/windsurf/mcp_config.json
Try it without a key
{
"mcpServers": {
"afferens": {
"command": "npx",
"args": ["-y", "@afferens/mcp-server"]
}
}
}
Call afferens_demo - no API key needed.
Usage
Once connected, your AI agent can call:
afferens_perceive({ modality: "VISION", limit: 5 })
Returns structured perception events your agent can reason over and act on.
For demo verification:
afferens_verify({ modality: "VISION", limit: 3, wait_ms: 2000 })
Returns two raw snapshots plus headers, age, and a hash check so you can show whether the feed is live, stale, or unchanged.
Links
- afferens.com - sign up, dashboard, API docs
- npm
- Smithery
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.