PinSharing Maps

com.pinsharing由 pinsharing.com 發布官方發布者v1.0.2更新於 Nov 5, 2026

Geocoding, static maps and privacy-safe area maps from OpenStreetMap data. Hard caps, no overage.

已驗證Streamable HTTP可網頁執行位置與生活媒體與設計

概覽

AI 產生的概覽

PinSharing Maps 是建構於 OpenStreetMap 資料的託管 MCP 伺服器,讓助理進行地理編碼並產生靜態地圖或隱私區域地圖圖片。

可以做什麼
  • 把地址或地名轉換為座標,也可把座標反查為地址或地點
  • 產生含標記或路線的靜態地圖圖片
  • 產生隱私區域地圖,只顯示大致範圍而不揭露精確位置
  • 取得 MapLibre GL JS、Leaflet 或 OpenLayers 互動式地圖的程式碼與網址
適用情境
適合需要把地址轉成座標、在地圖圖片上標示地點或路線,或只呈現大致位置而不揭露精確點的場合。也適合在對話或文件流程中直接取得地圖影像,而不必自行建置地圖服務。
執行需求
需要可連線的遠端 MCP 端點 api.pinsharing.com(HTTPS)。需要 PinSharing API 金鑰(ps_...),以 bearer 形式放在 Authorization 標頭中,可從儀表板取得免費金鑰。只能啟動本機 stdio 伺服器的用戶端需使用隨附的橋接程式,需具備 Git 與 Node.js 18 以上。
安裝前請注意
API 金鑰屬於憑證,請勿寫入共用設定或日誌。工具呼叫會依地理編碼次數與靜態圖片張數計入每月額度,額度用完不會自動超額計費。地圖結果與圖片出現處須標示 OpenStreetMap 署名。請求會傳送至第三方服務 api.pinsharing.com。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 PinSharing Maps,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "pinsharing-maps": {
      "type": "http",
      "url": "https://api.pinsharing.com/v1/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

PinSharing MCP

PinSharing (https://pinsharing.com) is a map API built on OpenStreetMap data, with a free plan and flat paid plans. It provides static map images, including a privacy-area mode, geocoding, and tiles. This repository provides a small stdio-to-HTTP bridge for MCP clients that can only launch local servers.

MCP Registry: com.pinsharing/maps

Most clients: use the hosted server directly

The hosted MCP server is available at:

https://api.pinsharing.com/v1/mcp

See https://pinsharing.com/docs/mcp for setup. With Claude Code:

bash
claude mcp add --transport http pinsharing https://api.pinsharing.com/v1/mcp --header "Authorization: Bearer YOUR_KEY"

Clients that only run local servers (stdio)

Some clients, such as Claude Desktop with claude_desktop_config.json, can only launch local stdio MCP servers. For those, use this bridge.

json
{  "mcpServers": {    "pinsharing": {      "command": "npx",      "args": ["-y", "github:Software-Consulting/pinsharing-mcp"],      "env": { "PINSHARING_API_KEY": "ps_your_key" }    }  }}

Git and Node.js 18+ are required. An npm package (@pinsharing/mcp) is coming.

Tools

ToolWhat it doesWhat it counts
geocodeConvert addresses or place names to coordinates1 geocode
reverse_geocodeConvert coordinates to an address or place1 geocode
static_mapRender a map image with markers or a route1 static image
privacy_area_mapShow roughly where a place is (a shaded area, no pin); never reveals the exact point1 static image
map_setupCode and URLs for an interactive map (MapLibre GL JS, Leaflet, OpenLayers)free

Configuration

VariableRequiredDefaultDescription
PINSHARING_API_KEYRecommendednonePinSharing API key (ps_...). Without it, discovery works and tool calls return the server's missing_key error.
PINSHARING_MCP_URLNohttps://api.pinsharing.com/v1/mcpHosted MCP server URL. Must be https: unless the host is localhost or 127.0.0.1.
PINSHARING_MCP_TIMEOUT_MSNo60000HTTP timeout in milliseconds.
PINSHARING_MCP_DEBUGNounsetSet to 1 to write debug logs to stderr.

How it works

The bridge reads JSON-RPC messages from stdin, one per line, and forwards each one to the hosted MCP server over HTTPS. Responses are written to stdout, one JSON object per line. Nothing is stored locally. The API key is only sent to api.pinsharing.com in the Authorization header, and never printed in logs or errors.

Plans and caps

PinSharing has hard monthly caps and no overage billing. A free plan is available without a card:

Attribution

Map data © OpenStreetMap contributors. Show attribution wherever map results or images appear.

Development

bash
npm test

The project has zero runtime or development dependencies.

License

MIT. PinSharing is a service of Wells Software Consulting LLC.

來源:README.md,提交 d5e94d1

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

2
  1. v1.0.2最新Nov 5, 2026
  2. v1.0.0Nov 5, 2026

評分

已滿足適用檢查項的 60%

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

  • 近 30 天內可連通必需25 分

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

  • 已宣告認證方式必需10 分
  • 已列出工具15 分

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

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