🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

animica-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animica-mcp

Animica MCP server — lets AI agents (Claude, Cursor, Windsurf, custom) discover and use Animica's OpenAI-compatible AI inference, code generation, embeddings, and agent tools.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
35
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

Animica MCP server

Give your AI agent an affordable brain — and let it earn by powering the network.

animica-mcp exposes Animica's OpenAI‑compatible AI services as Model Context Protocol tools, so any MCP‑aware agent (Claude Desktop, Cursor, Windsurf, custom bots) can discover and use Animica for cheap inference — and discover how to mine/provide Animica for ANM rewards.

It's two‑sided on purpose: the same network your agent buys cheap inference from also pays it to supply inference. Demand and supply through one tool server.

Tools

Use (demand side)

ToolWhat it does
animica_chatChat completion (OpenAI‑compatible). Cheap general inference.
animica_codeCode generation/fix with anm-code-7b.
animica_summarizeSummarize text (bullets / paragraph / tl;dr).
animica_embedEmbedding vectors for RAG/search.
animica_agent_runRun an autonomous agent task.
animica_generate_appScaffold a small runnable app.
animica_search_docsAnswer questions about Animica with links.
animica_price_quoteEstimate USD cost before running a request.
animica_create_api_keyMint a new Animica API key for your account.
animica_check_usageUsage + remaining credits for your key.

Mine / provide (supply side)

ToolWhat it does
animica_mining_infoHow to start earning ANM: stratum endpoint, downloads, pool config.
animica_pool_statsLive pool health + miner count (is it worth it?).
animica_mining_statusLook up a miner/worker by anim1… address.
animica_become_providerJoin as an AICF/ENA inference provider — get paid per request.

Quick start (local — Claude Desktop / Cursor / Windsurf)

  • Get an API key at https://pool.animica.org.
  • Add to your MCP config (claude_desktop_config.json, or Cursor/Windsurf MCP settings):
{
  "mcpServers": {
    "animica": {
      "command": "npx",
      "args": ["-y", "animica-mcp"],
      "env": { "ANIMICA_API_KEY": "anm_live_your_key_here" }
    }
  }
}

That's it — restart the app and your agent can call animica_chat, animica_code, animica_mining_info, etc. (Cursor: Settings → MCP; Windsurf: ~/.codeium/windsurf/mcp_config.json — same mcpServers block.)

Hosted remote MCP

Run it as an HTTP MCP endpoint others can point at:

MCP_TRANSPORT=http PORT=8765 ANIMICA_API_KEY=anm_live_... npx animica-mcp
# → POST http://host:8765/mcp   (health: GET /healthz)

Or Docker:

docker build -t animica-mcp .
docker run -p 8765:8765 -e ANIMICA_API_KEY=anm_live_... animica-mcp

Build from source

npm install && npm run build && ANIMICA_API_KEY=anm_live_... node dist/server.js

Config

EnvDefault
ANIMICA_API_KEYBearer key (https://pool.animica.org)
ANIMICA_BASE_URLhttps://pool.animica.org/v1OpenAI‑compatible inference API
ANIMICA_MODEL / ANIMICA_CODE_MODELanm-fast-8b / anm-code-7bdefaults
ANIMICA_POOL_URL / ANIMICA_STRATUM_URLhttps://pool.animica.org / stratum+tcp://pool.animica.org:3333mining side
MCP_TRANSPORT / PORTstdio / 8765transport

Errors are explicit (bad key, out of credits, rate limit) so agents can react. MIT licensed.

Keywords

mcp

FAQs

Package last updated on 21 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts