EmbedEarth (E2)

io.github.paulwxnter由 GitHub 帳號 paulwxnter 發布v0.1.18更新於 Oct 24, 2026

Open-source Google Maps Platform alternative for agents: search, route, map, geocode, and compute.

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

EmbedEarth(E2)是一個本機 MCP 伺服器,為助理提供地理工具:搜尋地點與要素、計算空間關係、路徑規劃以及管理地圖資料。

可以做什麼
依區域、地區或座標搜尋現實世界中的地點、基礎設施、觀測資料和市政資料,回傳 GeoJSON 要素集合。計算最近、距離、計數、密度、覆蓋率、空白和聚類等空間關係。建立路線、行程時間矩陣、等時圈、地圖匹配、高程查詢以及從座標到要素的路線。以 MapLibre 相容的資料來源形式提供地圖資料,並透過 Stratum 探索、下載、快取、查詢和上傳地理資料集。
適用情境
當助理需要回答位置問題、規劃或測量路線、對地理要素做空間分析,或在本機/離線環境處理地理資料集而不想依賴獨立 GIS 工具鏈時適用。
執行需求
透過 stdio 在本機執行,通常用 npx 啟動該 npm 套件。E2_API_KEY 對基本雲端使用是選用的,但街景影像需要它,且它能提高速率限制;ROUTE_URL 為選用,用於自訂路徑服務。本機和離線模式會一次性下載區域資料集。
安裝前請注意
沒有 API 金鑰時,雲端搜尋、計算和路徑請求限制為每分鐘 60 次。街景影像需要金鑰和有效的付費方案。Stratum 的上傳和快取操作會寫入本機資料,本機/離線模式會把下載的區域資料集存到磁碟。除非使用離線模式,請求會送往 EmbedEarth 雲端服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 EmbedEarth (E2),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@embedearth/mcp

EmbedEarth (E2) is an open, programmable geographic engine for the physical world. This MCP server gives AI agents structured tools for Search, Compute, Route, Map, and Stratum.

E2 is built as an open alternative to Google Maps Platform, bringing together capabilities commonly spread across Maps, Places, Routes, Geocoding, Autocomplete, and Street View — while adding spatial computation, open geographic data, and local execution.

Why E2

Traditional mapping APIs are built primarily around maps, places, and directions. E2 makes the broader physical world programmable.

Give agents the tools to:

  • Search places, infrastructure, observations, nature, civic data, and other real-world features.
  • Compute distance, proximity, counts, density, coverage, gaps, and other spatial relationships.
  • Map basemaps, features, routes, and application data.
  • Route between coordinates or directly to real-world features.
  • Stratum geographic datasets for local, offline, and cloud workflows.
  • Access street-level imagery and visual observations tied to geographic locations.

For agents coming from Google Maps Platform integrations, E2 can replace many common tool workflows built around Maps, Places, Routes, Geocoding, and street-level imagery while giving agents direct access to broader geographic datasets and spatial computation.

Install

bash
npx -y @embedearth/mcp

Modes

E2 can run locally or in the cloud. Local datasets are downloaded once per region and reused for future requests, so the same data does not need to be fetched again.

ModePurpose
autoUse local data when available, otherwise cloud.
offlineDownload once, then reuse locally.
cloudCloud execution with unlimited use using an API key.

API key and limits

An API key is optional for basic cloud use and unlocks full cloud access. Create one at embed.earth and configure it as E2_API_KEY in the MCP host environment; a key is also required for street-level imagery. Without a key, cloud Search, Compute, and Route requests are limited to 60 requests per minute, and e2_stratum query should be treated as one request per second.

Search

e2_search searches the physical world by feature, place, region, or coordinates — places, infrastructure, observations, natural features, civic data, and other geographic datasets through one tool. It returns matching physical-world records as a GeoJSON FeatureCollection.

feature identifies what you want to find; it is a canonical key or numeric ID. Use area for a named region, area_id for an exact region, coordinates for a point lookup, or country_code and state_code for broader geographic selection.

Optional parameters

ParameterTypePurpose
areastring | string[]Search named areas. Mutually exclusive with area_id.
area_idstring | string[]Search exact area IDs. Mutually exclusive with area.
country_codestringSelect a country, for example US.
state_codestringSelect a state or province, for example NY.
latitude, longitudenumberSearch around a coordinate. Provide both.
modecloud | offline | autoSelect the execution mode. Defaults to auto.
limitnumberMaximum number of returned features. Defaults to 1000.
json
{ "feature": "restaurant", "area": "New York", "mode": "auto", "limit": 25 }
json
{ "feature": "restaurant", "area_id": "4915", "mode": "cloud", "limit": 25 }
json
{ "feature": "restaurant", "latitude": 40.7128, "longitude": -74.006, "mode": "cloud", "limit": 25 }
json
{ "feature": "restaurant", "country_code": "US", "state_code": "NY", "mode": "cloud", "limit": 25 }

Compute

e2_compute runs spatial analysis directly against geographic features — find what is nearest, measure distance, count features, calculate density and coverage, detect gaps, or cluster nearby objects — turning geographic data into answers without a separate GIS stack.

feature defines what is being measured, while area or area_id defines the geographic scope. Relationship parameters such as near connect one feature set to another.

PrimitivePurpose
NEARESTFind the closest features.
DISTANCEMeasure distance between feature sets.
WITHINSelect features inside a relation distance.
COUNTCount related features.
DENSITYMeasure feature concentration.
COVERAGEMeasure reached area.
GAPSFind unreached areas.
CLUSTERGroup nearby features.
json
{ "primitive": "COUNT", "feature": ["restaurant"], "area_id": "4915", "near": "park", "distanceMeters": 500, "mode": "cloud" }
json
{ "primitive": "DENSITY", "feature": ["restaurant"], "area": "New York", "near": "park", "distanceMeters": 500, "mode": "auto" }

Routing

Calculate movement through the physical world. Build routes, travel-time matrices, isochrones, map matches, elevation queries, and network-aware searches from coordinates or E2 features — so agents can route to things rather than only fixed coordinates. Use e2_route_to_feature for a coordinate-to-feature route and e2_route for direct routes, matrices, isochrones, map matching, locate, and height.

Set ROUTE_URL only when using your own compatible routing service.

Tool or operationPurpose
e2_route_to_featureRoute from a coordinate to a matching feature, such as the closest restaurant.
e2_route with routeBuild a route between one or more coordinates.
e2_route with matrixReturn travel costs between multiple sources and targets.
e2_route with isochroneCalculate the area reachable within one or more time limits.
e2_route with mapMatchMatch a recorded coordinate trace to the road network.
e2_route with locateResolve a coordinate to the routable network.
e2_route with heightReturn elevation data for one or more locations.
json
{ "feature": "restaurant", "from": [40.7128, -74.006], "mode": "walking" }
json
{ "operation": "matrix", "body": { "sources": [{ "lat": 40.7128, "lon": -74.006 }], "targets": [{ "lat": 40.7306, "lon": -73.9352 }], "mode": "driving" } }

Maps

e2_map_sources renders E2 data as MapLibre-compatible map sources — the global Planet basemap and PMTiles feature layers. It returns map data metadata rather than rendering a map in the agent conversation, keeping styling and interaction in the client application.

Stratum

e2_stratum is E2's portable data layer for geographic datasets. Discover, download, cache, query, and upload geographic data for local or cloud workflows without maintaining a traditional spatial database. It supports GeoJSON, CSV, Parquet, and SQLite and lets datasets be downloaded once and reused across applications and regions.

OperationPurpose
cacheList, cacheSet, cacheDelete, cacheClearManage verified local data.
featureList, featureSearch, featureInfoLook up built-in features.
areaList, areaSearch, areaInfoLook up built-in areas.
dataList, dataInfoInspect published data.
download, queryPull and query Cloud or local data.
uploadAdd namespaced local data.
json
{ "operation": "upload", "path": "./stores.geojson", "database": "./stores.db", "feature": "stores", "namespace": "my-app" }

Geographic Catalog

E2 organizes the physical world into features and areas.

Features describe what exists — places, infrastructure, observations, natural features, imagery-linked records, and other physical-world objects.

Areas describe where — countries, states, cities, and other geographic regions with stable IDs.

Browse the Feature and Area catalogs to discover available inputs across Search, Compute, Route, and Stratum: Catalog Features · Catalog Areas.

Street-level Imagery

EmbedEarth processes billions of street-level images to connect visual observations with geographic features and places. Imagery adds visual context to locations and can surface physical-world features that may not appear in conventional place databases.

Street-level imagery is currently cloud-based and requires an API key and active plan.

Other interfaces

SDK package · CLI package · Full MCP docs

來源:packages/mcp/README.md,提交 7e4049c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.18最新Sep 17, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分