New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@embed-earth/mcp-test

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embed-earth/mcp-test

Model Context Protocol server for E2 — expose Earth's open spacetime index to AI agents.

latest
Source
npmnpm
Version
0.1.11
Version published
Weekly downloads
59
-94.61%
Maintainers
1
Weekly downloads
 
Created
Source

@embed-earth/mcp-test

The EmbedEarth MCP server gives agents Search, Compute, Routing, Maps, and Stratum tools for the physical world.

npx -y @embed-earth/mcp-test

Modes

ModePurpose
autoUse verified local Stratum data first, then Cloud.
offlineUse verified local Stratum data only.
cloudUse EmbedEarth Cloud; requires an API key.

Pass mode to e2_search, e2_compute, or the query operation of e2_stratum.

API key

Get an API key at embed.earth, then configure it as E2_API_KEY in the MCP host environment. Cloud mode and Street View image URLs require it.

e2_search returns GeoJSON records.

{ "feature": "restaurant", "area": "New York", "mode": "auto", "limit": 25 }
{ "feature": ["restaurant", "hospital"], "area_id": "4915", "mode": "cloud", "limit": 100 }

Compute

PrimitivePurpose
NEARESTFind closest selected features.
DISTANCEMeasure distances between features.
WITHINFind features inside a relation distance.
COUNTCount features that meet a relation.
DENSITYMeasure feature concentration.
COVERAGEMeasure reached area.
GAPSFind uncovered places.
CLUSTERGroup nearby features.

Routing

Set ROUTE_URL only when the MCP host needs a custom compatible router.

e2_route_to_feature accepts from: [lat, lng] and a feature such as restaurant. It selects the coordinate’s area, narrows candidates through H3, and routes to the directly closest result.

{ "feature": "restaurant", "from": [40.74, -73.99], "mode": "walking" }

e2_route provides route, matrix, isochrone, mapMatch, locate, and height.

Maps

e2_map_sources returns MapLibre-ready Planet and feature source descriptors.

Stratum

e2_stratum combines geographic lookup, verified local data, server pulls, and local storage.

OperationRequired inputsPurpose
cacheList, cacheSet, cacheDelete, cacheClearsize or key when applicableManage verified local data.
featureList, featureSearch, featureInfoquery or feature when applicableLook up built-in geographical features.
areaList, areaSearch, areaInfoquery or id when applicableLook up built-in geographical areas.
dataList, dataInfofeature for infoInspect published data.
downloadfeature, optional area_id, optional outputPull a stratum.
queryfeature, optional area_id, modeQuery Cloud or verified local data.
uploadpath, databaseAdd local GeoJSON, CSV, or Parquet.
{
  "operation": "upload",
  "path": "./stores.geojson",
  "database": "./stores.db",
  "feature": "stores",
  "namespace": "my-app"
}

This creates local:my-app:stores, separate from built-in feature keys.

Geographical Features

View geographical features.

Geographical Areas

View geographical areas.

Other EmbedEarth interfaces

  • SDK package — typed application code.
  • CLI package — terminal workflows.

Keywords

e2

FAQs

Package last updated on 14 Sep 2026

Related posts