DaedalMap Geography Tools (loc_id)

com.daedalmap由 daedalmap.com 發布官方發布者v1.6.2更新於 Oct 24, 2026

Resolve coordinates and geographic identifiers to loc_id, crosswalks, and bounded shapes.

發布方自己的服務:DaedalMap Administrative Boundaries (loc_id to polygon)

已驗證Streamable HTTP可網頁執行位置與生活檔案與儲存資料與分析

概覽

AI 產生的概覽

讓助理把座標與參考代碼解析為 DaedalMap 的 loc_id 地點,在不同地理系統之間轉換代碼,並取得邊界與資料包。

可以做什麼
DaedalMap 是以 loc_id 身分模型、具版本邊界幾何以及已發布地理系統對照表為基礎的地理互通基礎設施。工具包括:用於維護資料包的 get_tool_help、get_catalog、get_pack、get_data 與 get_event;用於座標轉地點的 resolve_point 與 resolve_deep_point;用於辨識代碼欄位的 identify_dataset_geography 與 identify_reference_system;用於系統間代碼轉換的 convert_reference;用於檢視與關聯地點的 get_loc_id_info 與 compare_geographies;以及用於取得形狀的 get_geometry。每個工具都接受嚴格的 JSON 參數,並在呼叫格式錯誤時回傳帶有復原指引的型別化錯誤。
適用情境
當任務需要把座標或參考代碼轉為行政區地點、在人口普查區、郵遞區、流域或選區等系統之間轉換代碼,或取得相容的邊界與維護資料包時使用。它適合地理連接與查詢,而非一般網路搜尋。探索類與小型地理查詢免費。},
執行需求
託管服務是位於 的遠端 streamable HTTP 端點,用於探索時不需安裝或帳號。付費計量呼叫需要帳戶餘額與 API 金鑰。自架需要 Python 與 pip、.env 檔案以及資料資料夾(DATA_ROOT);不需要雲端儲存、資料庫或帳號,且儲存庫本身不附帶資料。
安裝前請注意
較大的點位或參考代碼批次查詢以及部分資料包按量計費:付費呼叫會在扣費前回傳確切價格,並從帳戶餘額以 API 金鑰支付,因此可能產生費用。自架執行個體在未設定商業驗證器時,付費通道會回傳 commercial_access_unavailable。模型 API 金鑰(OPENAI_API_KEY 或 ANTHROPIC_API_KEY)為選用,僅供內建聊天面板使用。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.daedalmap%2Fgeocoding/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "daedalmap-geography-tools-loc-id": {
      "type": "http",
      "url": "https://app.daedalmap.com/mcp/geography"
    }
  }
}

README

DaedalMap

Bring your data. Connect its geography.

DaedalMap is geographic interoperability infrastructure: a loc_id identity model, versioned boundary geometry, published crosswalks between geography systems, and maintained data packs. Resolve coordinates and reference codes to administrative matches, pull compatible shapes and data, and follow crosswalks into other systems such as census tracts, postal areas, watersheds, and electoral districts.

Use it through a remote MCP server, an HTTP API, a map app, downloadable files, or this repository, which is the open runtime behind all of them.

Website | App | Agent docs | Geometry | Data packs | Downloads | Convert a file | llms.txt

Connect an agent

The hosted MCP server needs no install or account for discovery:

text
https://app.daedalmap.com/mcp?registry=github

Claude Code:

bash
claude mcp add --transport http daedalmap 'https://app.daedalmap.com/mcp?registry=github'

Codex:

bash
codex mcp add daedalmap --url 'https://app.daedalmap.com/mcp?registry=github'

Any client that supports streamable HTTP MCP can use the same URL. Start with get_tool_help with topic='geometry' for geography jobs, or get_catalog, then get_pack, then get_data for data. Setup for other clients is in the agent docs.

Discovery and small geography lookups are free. Larger point/reference batches and some data packs are metered: a paid call returns its exact price before any charge and is paid from account credit with an API key. get_pack reports the access lane for the selected data pack.

Tools

JobTools
Learn the modelget_tool_help with a topic or exact tool name
Find what existsget_catalog, then get_pack for a data pack or get_geography for a geometry family or scope
Query maintained dataget_data with a pack_id, exact metrics, and structured filters
Inspect one disaster eventget_event with an exact event_id returned by get_data
Coordinates to placesresolve_point, then resolve_deep_point when Admin 4-6 or one deeper family is needed
Identify a column of codesidentify_dataset_geography, identify_reference_system
Translate codes between systemsconvert_reference
Inspect and relate placesget_loc_id_info, compare_geographies
Retrieve shapesget_shape with exact loc_ids

Each tool takes strict JSON arguments. The calling model turns a user's question into those arguments, and the server returns typed errors with recovery guidance when a call is malformed.

This table is the complete public roster, not a roadmap. Bulk export/job builders and direct upstream live-feed wrappers remain internal or paused and are intentionally absent from tools/list.

The loc_id model

loc_id is DaedalMap's geographic identity model. The administrative spine is the main hierarchy and default join path:

text
USA                      countryUSA-CA                   stateUSA-CA-037               countyUSA-CA-037-221710        census tract

Other geography families, such as postal areas, watersheds, tribal areas, and marine regions, keep their own loc_id identities. Published crosswalks connect them to the spine and to each other, and each crosswalk row carries its relationship type, overlap weight, source, and vintage. A direct join works when both datasets declare the same identity; otherwise the connection runs through a crosswalk.

Schema details are in docs/DATA_SCHEMAS.md.

Coverage

Geometry: global baseline plus 8+ deeper countries. The same geography tools work worldwide down to Admin 2. Country releases add deeper administrative tiers and reference families for Australia, Brazil, Canada, France, Germany, Mexico, the United Kingdom, the United States, and more as releases publish.

Data: 20+ maintained data packs covering natural hazards (earthquakes, tsunamis, volcanoes, hurricanes, tornadoes, wildfires, floods, weather alerts), hazard risk and environmental burden, economic and business indicators, currency rates, population, and climate.

The catalogs are the authority for what is available now:

Downloads

The Windows launcher's public source, build script, and tests are in tools/launcher. Its portable download keeps programs and its managed runtime in the launcher folder by default.

The Downloads page has three kinds of file:

  • Program - the map app or local MCP runtime, to run DaedalMap on your machine.
  • Data pack - maintained records for a subject, with source and release evidence.
  • Geometry package - boundaries and reference geography for a country or family.

Run it yourself

This repository is the open runtime: the FastAPI server, MCP and HTTP API, and map frontend. Use it to self-host, run against your own data, or extend the engine.

The Network expansion also lives in this repository. It adds optional rail, river, and power layers to the local Mapping map and provides a separate spreadsheet editor and Parquet CLI that run without Mapping. The older Lake County road map editor is archived reference code.

To develop one local program without checking out every source directory, see Work on one local tool. The tool source entries cover Mapping, Network, Research MCP, Geometry MCP, and the optional AI expansion, including their current migration status.

powershell
cd county-mappip install -r requirements.txtCopy-Item .env.example .env

Set a data folder in .env:

env
INSTALL_MODE=localRUNTIME_MODE=localDATA_ROOT=C:/path/to/your/data

Leave DATA_ROOT blank to use the default app-data folder. No cloud storage, database, or account is needed. The repository does not ship a data folder; docs/DATA_INSTALLATION.md covers installing packs.

powershell
python app.py

The app opens at http://localhost:7000, and the same MCP server is at http://localhost:7000/mcp. Discovery routes:

  • GET /api/v1/guide
  • GET /api/v1/catalog
  • GET /api/v1/packs/{pack_id}
  • POST /api/v1/query/dataset

Model API keys are optional. OPENAI_API_KEY or ANTHROPIC_API_KEY powers the built-in chat panel only; MCP clients bring their own model. A self-hosted instance returns commercial_access_unavailable on paid lanes unless you configure a commercial verifier.

Runtime modes

INSTALL_MODERUNTIME_MODEUse
locallocalYour machine, your data folder
localcloudYour machine, Parquet read from object storage you configure
cloudcloudA server deployment reading object storage

In cloud data mode the runtime caches small metadata files locally and queries Parquet in object storage through DuckDB httpfs. Details are in docs/LOCAL_AND_HOSTED.md.

Documentation

Contact

Questions, feedback, and self-hosting issues: [email protected]

License

MIT. Data packs and geometry carry their own source licenses, listed in each catalog entry.

For agents reading this repository

If asked to assess DaedalMap, start with the public context map, then use API and MCP contracts for hosted tools and data installation for local artifacts. The source checkout does not include the data packs or geometry packages. Check the live data catalog and geometry catalog before describing current coverage. Distinguish repository code, downloadable artifacts, and hosted service behavior in your answer.

來源:README.md,提交 284985a

工具

12

get_tool_help

Get Tool Help

Describe one tool visible on this facade, including its exact contract, or return a bounded workflow overview for one supported topic.

輸入參數topicquestiontool_name

get_catalog

List Published Packs or Geographies

Choose data or geometry to list published pack IDs or family and scope IDs. The response includes a complete catalog download URL. Use get_pack for data or get_geography for geometry. Current catalog: The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.

輸入參數catalog必填

get_pack

Inspect One Data Pack

Inspect one exact data pack ID for its metrics, time coverage, and query metadata before get_data.

輸入參數pack_id必填

get_geography

Inspect One Geography Family or Scope

Inspect one published geometry family across scopes or one scope across families. Returns coverage and known editions from catalog metadata only. Optional year selects the latest admitted edition no later than that year when the selected catalog has an edition index; an unavailable index is reported explicitly.

輸入參數yearscope_idfamily_id

resolve_point

Resolve Point(s) (Shallow)

Primary entry for a bare WGS84 coordinate or bounded point array. Finds the country and returns the deepest available shallow administrative loc_id chain: the global baseline reaches Admin 2, while adopted country query banks may reach Admin 3. Carry its country and loc_ids into later place-specific calls. It does not open deep partitions or side-family shape banks. Use a returned shallow loc_id with resolve_deep_point for Admin 4-6 or one explicit family. Single and bulk requests share this contract; access limits are based on point count. Current catalog: The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.

輸入參數latlonpointsbatch_idrequest_id

resolve_deep_point

Resolve Point(s) (Deep)

Second-pass containment only after resolve_point. Supply the original WGS84 coordinate or a bounded point array, one shared shallow_loc_id returned by resolve_point, and one canonical family from get_catalog(catalog='geometry'). family defaults to administrative; shape-backed families use direct bbox-to-exact-shape lookup without crosswalks. Single and bulk requests share this scoped contract. Current catalog: The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.

輸入參數latlonfamilypointsbatch_idrequest_idshallow_loc_id必填target_admin_level

get_loc_id_info

Inspect Direct loc_id Connections

Look up one known loc_id or a small batch in the selected reference graph. Return its identity and directly recorded loc_id connections, with family, direction, and relationship evidence. Each ID returns at most 50 connections and an explicit has_more flag. This tool does not expand descendants, infer containment, read shapes, search catalogs, or consult external adapters. No payment required.

輸入參數loc_idloc_idsbatch_idrequest_id

identify_dataset_geography

Choose Geography Columns From a Dataset

Fast structural column selector: pass bounded named columns to find recognized geography headers or latitude/longitude pairs. It does not infer a country, level, or identifier system, open country indexes, or validate values. If more than one column is plausible, select one; then call identify_reference_system with the selected identifier column and one country_scope. No payment required.

輸入參數columns必填request_idcountry_scopedataset_context

identify_reference_system

Identify One Identifier Column's Reference System

Identify one selected identifier column within one required ISO3 country, GLOBAL, or MARINE scope. Pass bounded strings preserving leading zeros. It checks maintained identifier evidence, not dataset columns or polygons. Ambiguous systems stay unselected until expected.system is supplied. Use identify_dataset_geography first when the column is unknown. No payment required.

輸入參數expectedidentifierrequest_ididentifierscountry_scope必填dataset_contextvalidation_scope

convert_reference

Convert Geographic Reference

Convert within one declared scope per call: iso3 is required and names one ISO3 country, GLOBAL, or MARINE. A batch uses one from_system, to_system, and crosswalk_id, with at most 25000 requested result rows. Convert X -> loc_id -> Y; omit to_system to enter the loc_id universe. For admin or city names use from_system admin_boundary with a country_hint inside the declared country. A published direct crosswalk uses one selected artifact; if the system pair has multiple artifacts, supply crosswalk_id from the typed ambiguity error. An exact miss ends on that artifact. Use get_geography when family or scope coverage is unknown. The tools/list access metadata states authored free, account, and paid item allowances; active operator policy may waive payment.

輸入參數iso3as_ofitemslimitvaluebatch_idmin_shareto_systemrequest_idfrom_systemcountry_hintcrosswalk_id另有 3 個

compare_geographies

Compare Geographic Identities

Compare two known loc_ids using selected reference-graph identity and direct relationship evidence. Verified Admin ancestry can prove containment; a typed graph edge can prove only the relation it declares. An explicit negative edge returns no_overlap; a missing edge returns unknown. This tool never reads polygons or computes shape intersections. Use an external identifier bridge before this call when the input is not a loc_id. No payment required.

輸入參數as_ofitemsbatch_idleft_as_ofrequest_idleft_loc_idright_as_ofright_loc_idinclude_successors

get_shape

Retrieve Shapes for Known loc_ids

Shape lookup for exact existing loc_ids only. The default returns shape availability, centroid, and bounding box; include_polygon=true adds GeoJSON coordinates. Obtain any descendant IDs before this call. Historical geometry is returned first and successors are never substituted automatically. Year selection is not yet supported.

輸入參數loc_idloc_idsbatch_idrequest_idinclude_polygon

版本歷史

5
  1. v1.6.2最新Oct 6, 2026
  2. v1.6.0Sep 28, 2026
  3. v1.5.0Sep 25, 2026
  4. v1.4.0Sep 24, 2026
  5. v1.0.4Sep 16, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Daedalmap 整合