townshipamerica-mcp
MCP server for converting PLSS legal descriptions to GPS coordinates and vice versa, enabling AI agents to work with U.S. Public Land Survey System data.
README
townshipamerica-mcp
Model Context Protocol (MCP) server that exposes Township America's PLSS conversion to AI agents — Claude, ChatGPT, Cursor, GitHub Copilot, Windsurf, or any MCP-compatible client.
Also includes a Python client (TownshipMCPClient) for scripts and notebooks, backed by the townshipamerica SDK.
API Documentation · GitHub · PyPI · npm (Node)
Requires a Pro+ subscription ($99/mo) for bundled API access.
Installation
pip install townshipamerica-mcp
Requires Python 3.10+.
Quick Start
Set your API key (generate at app.townshipamerica.com/settings/api-keys):
export TOWNSHIP_AMERICA_API_KEY="ta_…"
Tools
| Tool | Description |
|---|---|
plss_to_coordinates |
Convert a PLSS legal description to GPS coordinates |
coordinates_to_plss |
Reverse-lookup coordinates to a PLSS description |
plss_to_geojson |
Return the section/quarter/aliquot polygon as GeoJSON |
validate_description |
Validate and normalize locally (no API call) |
batch_convert |
Convert up to 100 descriptions in one request |
autocomplete |
Suggestions for partial PLSS input (max 10) |
land_report |
Federal Land Report — coming Q3 2025 |
Coverage: 30 PLSS states, 37 principal meridians. Powered by BLM CadNSDI V2.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"townshipamerica": {
"command": "townshipamerica-mcp",
"env": {
"TOWNSHIP_AMERICA_API_KEY": "ta_…"
}
}
}
}
Restart Claude Desktop to apply.
Cursor / VS Code / Continue
{
"mcpServers": {
"townshipamerica": {
"command": "townshipamerica-mcp",
"env": { "TOWNSHIP_AMERICA_API_KEY": "ta_…" },
},
},
}
Stdio (any MCP client)
TOWNSHIP_AMERICA_API_KEY=ta_… townshipamerica-mcp
Environment variables
| Variable | Default | Purpose |
|---|---|---|
TOWNSHIP_AMERICA_API_KEY |
(required) | Your Pro+ API key (preferred) |
TA_API_KEY |
— | Legacy alias for TOWNSHIP_AMERICA_API_KEY |
TOWNSHIP_AMERICA_BASE_URL |
https://developer.townshipamerica.com |
Override the API endpoint |
MCP_LOG_LEVEL |
INFO |
Log level for stderr |
Quota
Pro+ bundled API access: 1,000 search calls/month. If exceeded, tools return a clear quota message with upgrade guidance. Visit townshipamerica.com/pricing.
Python client
For programmatic use without an MCP host:
from townshipamerica_mcp import TownshipMCPClient
client = TownshipMCPClient(api_key="ta_…")
result = client.plss_to_coordinates("NW 25 24N 1E 6th Meridian")
print(result.lat, result.lng)
v = client.validate_description("NW 25 24N 1E 6th Meridian")
print(v.valid, v.normalized)
batch = client.batch_convert(["NW 25 24N 1E 6th Meridian", "SE 12 4N 5E Boise Meridian"])
print(batch.converted, batch.failed)
For full SDK features (async, GeoPandas-friendly models), use pip install townshipamerica.
Exceptions
| Exception | Trigger |
|---|---|
AuthenticationError |
Invalid or missing API key |
QuotaExceededError |
Rate limit / quota exceeded |
NotFoundError |
Location not in PLSS database |
ValidationError |
Malformed request |
TownshipMCPError |
Base class / other errors |
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。