Sponsored by Deepsite.site

Node Api

Created By
eianray16 days ago
Machine-native GIS processing for AI agents. Convert, reproject, validate, repair, buffer, dissolve, clip, merge, spatial join, and tile vector geodata. 25 operations. Pay-per-use USDC on Solana ($0.01/op). No API key required.
Overview

Node API

Version: 0.5.2
Status: Phase 3 — Public
Live at: nodeapi.ai | API Docs | MCP

Machine-native spatial data processing for AI agents and developers. 25 endpoints. Pay $0.01 USDC per operation on Solana. No accounts, no API keys, no subscriptions.


Quick Start

# 1. Send a request — get a 402 with payment details
curl -X POST https://nodeapi.ai/v1/validate \
  -F "file=@parcels.geojson"

# → 402: { "recipient": "D8m8C9amSawdqSgEdXWkMZ3M86qsVQuDJswG1wZYkezP", "amount_usd": "0.01", ... }

# 2. Send 0.01 USDC to the recipient on Solana Mainnet
#    Get the transaction signature from your wallet

# 3. Retry with the transaction signature
curl -X POST https://nodeapi.ai/v1/validate \
  -F "file=@parcels.geojson" \
  -H "X-PAYMENT: <your_solana_tx_signature>"

# → 200: { "total_features": 1204, "valid_count": 1204, ... }

Payment

Every paid endpoint uses Solana Pay with USDC on Solana Mainnet.

ProtocolSolana Pay
NetworkSolana Mainnet
AssetUSDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)
Price$0.01 flat per operation
RecipientD8m8C9amSawdqSgEdXWkMZ3M86qsVQuDJswG1wZYkezP

Flow:

  1. Call any endpoint → receive 402 with Solana Pay URL + recipient
  2. Send 0.01 USDC on Solana Mainnet (include memo: nodeapi:<operation>)
  3. Retry with X-PAYMENT: <transaction_signature>
  4. Receive processed data

Endpoints

All endpoints available at /v1/<path> (recommended) and /<path> (legacy, still supported).

Info (free)

MethodPathDescription
GET/v1/healthService health
GET/v1/pricingFull pricing list

Format & Inspection

MethodPathDescription
POST/v1/convertConvert between GeoJSON, Shapefile, GeoPackage, KML
POST/v1/reprojectProject or reproject to any EPSG (auto-detects assign vs transform)
POST/v1/validateValidate geometry — returns JSON report
POST/v1/repairRepair invalid geometry (make_valid)
POST/v1/schemaExtract field schema, CRS, bbox, feature count
POST/v1/dxfExtract geometry from DXF/CAD files

Geoprocessing (single input)

MethodPathDescription
POST/v1/clipClip to bounding box or polygon mask
POST/v1/bufferBuffer features by distance in meters
POST/v1/eraseDelete all features, preserve empty schema
POST/v1/dissolveDissolve features by attribute field
POST/v1/feature-to-pointConvert geometries to centroid points
POST/v1/feature-to-lineExtract polygon boundaries as lines
POST/v1/feature-to-polygonConvert closed lines to polygons
POST/v1/multipart-to-singlepartExplode multipart geometries
POST/v1/add-fieldAdd a new attribute column

Geoprocessing (two inputs)

MethodPathDescription
POST/v1/unionCombine all features from two layers
POST/v1/intersectSpatial intersection of two layers
POST/v1/differenceLayer A minus overlap with layer B
POST/v1/appendAppend features from layer B into layer A's schema
POST/v1/mergeMerge two layers, preserving all fields
POST/v1/spatial-joinJoin attributes by spatial relationship

Tiles

MethodPathDescription
POST/v1/vectorizeGenerate .mbtiles vector tile package (tippecanoe)

Jobs

MethodPathDescription
GET/v1/jobs/{id}Poll async job status
GET/v1/jobs/{id}/downloadDownload completed job result

Supported input formats: GeoJSON, Shapefile (.zip), GeoPackage (.gpkg), KML, GDB (read), DXF


MCP Integration

Node API exposes all 25 endpoints as MCP tools — compatible with Claude, GPT-4o, and any MCP-enabled agent.

Remote (no install required)

https://nodeapi.ai/mcp/sse

Connect any MCP client to this SSE endpoint. No authentication needed.

Claude Desktop (local)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "node-api": {
      "command": "/path/to/venv/bin/python",
      "args": ["-m", "app.mcp_server"],
      "cwd": "/path/to/node-api"
    }
  }
}

22 MCP tools: convert, reproject, validate, repair, schema, clip, dxf, buffer, union, intersect, difference, erase, dissolve, feature-to-point, feature-to-line, feature-to-polygon, multipart-to-singlepart, add-field, append, merge, spatial-join, pricing


Webhooks

For async jobs (DXF conversion, any large file), pass a webhook_url to receive a POST on completion instead of polling.

curl -X POST https://nodeapi.ai/v1/dxf \
  -F "file=@site-plan.dxf" \
  -F "output_format=geojson" \
  -F "webhook_url=https://your-agent.com/callback" \
  -H "X-PAYMENT: <tx_signature>"

Webhook payload:

{
  "job_id": "abc-123",
  "operation": "dxf",
  "status": "done",
  "result_url": "https://nodeapi.ai/v1/jobs/abc-123/download",
  "result_filename": "output.geojson",
  "size_bytes": 48291
}

Signed with X-Webhook-Signature: sha256=<HMAC> for verification.


Architecture

  • FastAPI — async, OpenAPI spec at /docs
  • GeoPandas + GDAL — 200+ vector format support
  • Shapely 2.x — geometry operations
  • pyproj — CRS reprojection
  • tippecanoe 2.79 — vector tile generation
  • PostgreSQL — operations log + job queue
  • Solana Pay — USDC micropayments on Solana Mainnet
  • MCP SDK — stdio (local) + SSE (remote) transport
  • Cloudflare Tunnelnodeapi.ai → API server

Dev Setup

git clone https://github.com/eianray/node-api
cd node-api
python3 -m venv venv
venv/bin/pip install -r requirements.txt
cp .env.example .env
# Leave SOLANA_WALLET_ADDRESS=YOUR_SOLANA_WALLET_ADDRESS for dev mode (bypasses payment)
venv/bin/uvicorn app.main:app --reload --port 8100

Roadmap

  • Phase 1 ✅ — Convert, reproject, validate, repair, schema, clip
  • Phase 2 ✅ — DXF/CAD, buffer, topology (union/intersect/difference), remote MCP SSE
  • Phase 3 ✅ (Mar 4 2026) — 11 new geoprocessing endpoints, Solana Pay, webhooks, vector tiles, API versioning, 22 MCP tools
  • Phase 4 — Hetzner migration, CDN caching, batch API, agent directory listings

nodeapi.ai — spatial processing infrastructure for the agent economy.

Server Config

{
  "mcpServers": {
    "node-api": {
      "url": "https://nodeapi.ai/mcp/sse"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
WindsurfThe new purpose-built IDE to harness magic
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.