
US Places, Then
io.github.iandersov0.2.0更新於 Oct 6, 2026
US places then: county on a date, PLSS land, GNIS names, old topo maps, post offices.
概覽
回答美國歷史地名問題:某日期某地屬於哪個郡、土地描述的位置、已消失的 GNIS 地名、郵局以及舊地形圖。
- 功能
- 提供十二個唯讀工具處理美國歷史地理。county_at 和 county_history 給出某日期某點所屬的郡,並附法令與變更脈絡。parse_legal_description、plss_locate 和 plss_from_point 在公共土地測量描述與座標之間互轉。find_place_name 檢索 GNIS 及 2021 年 8 月的凍結檔案,post_offices 涵蓋 1639 至 2000 年的美國郵局,historical_topo_maps 列出涵蓋某點的 USGS 地圖,find_land_entry_file 和 glo_links 指向國家檔案館與 BLM 的紀錄。
- 適用情境
- 適合族譜、土地產權與歷史研究,尤其是地名、郡界或地圖隨時間變動的情況。可協助判斷某日期某地的紀錄應由哪個機關或檔案館保存。
- 執行需求
- 以 stdio 在本機執行,需要 Python 3.11 或更新版本及 uv,例如用 uvx us-places-mcp 啟動。不需要 API 金鑰或帳號。線上工具需要連線到所設定的 USGS、BLM、OpenHistoricalMap、National Map 和 Harvard Dataverse 主機;有五個工具可離線使用。選用環境變數可設定快取目錄、聯絡資訊、服務網址和逾時。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 US Places, Then,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
us-places-mcp
An MCP server for where things were, then. Records follow the jurisdiction that held a place on the date of the event, not today's: a 1795 deed for a farm now in Greene County, Pennsylvania, is in Washington County's books, because Greene was carved out the next year. This server answers the questions that decide which office to write to:
- Which county held this spot on that date? From the Newberry Library's Atlas of Historical County Boundaries, which records every creation and boundary change of every US county from 1629 to 2000, dated to the day, with the act behind it. OpenHistoricalMap imported the atlas and serves it free (CC0); this server asks it.
- Where is this land description on the ground? "E½NE Sec. 18, T84N R39W, 5th P.M." becomes a centroid, a bounding box and BLM's ids, from the Bureau of Land Management's national Public Land Survey data. A map pin becomes a land description the other way.
- Where is the case file behind this land patent? The patent is the end of a process. The file at the National Archives holds the application and, for a homestead, years of residence, witnesses and citizenship papers. The server says which file and which series, and builds the search.
- Where was Mount Hope Cemetery, or Hines Corners? USGS's Geographic Names Information System (GNIS) names and places every feature it knows, including vanished towns marked "(historical)". In 2021 it dropped cemeteries, churches, schools, post offices and other built features; the server also searches the archive USGS kept from August 2021, and says which answered.
- Which post offices were there, and when? Richard Helbock's list of every US post office from 1639 to 2000, geocoded by Cameron Blevins: 166,140 offices with the years they opened and closed. A post office is often the only trace of a hamlet.
- Which old maps show the spot? Every USGS topographic map since 1884 that covers a point, oldest first, with links to the scans.
Nothing here writes anywhere, and nothing here keeps a family tree. It sits well beside nara-catalog-mcp, which can run the archive searches this server builds, familysearch-mcp and snac-archives-mcp.
This is an independent project. It is not affiliated with, endorsed by, or supported by the Newberry Library, OpenHistoricalMap, the Bureau of Land Management, the US Geological Survey, Harvard Dataverse, the dataset's authors or the National Archives.
Tools
The server publishes twelve tools, all read-only and annotated so for the client. Five make no network call at all.
Jurisdiction at a date
Federal land
Vanished places and old maps
From patent to case file
Setup
You need Python 3.11 or later and uv. There is no key to request.
or from a clone:
Claude Desktop
If the server fails to start because uvx cannot be found, give the full path
that which uvx prints as the command.
Claude Code
Configuration
Nothing is required. A .env file in the directory the server starts in
supplies anything the environment does not; only that directory is read.
Every URL must be https. Their hosts, and Dataverse's file store
(dvn-cloud-iqss.s3.amazonaws.com, where it redirects downloads), are the
only ones the server will contact.
Being a good guest
OpenHistoricalMap's Overpass server runs on donated capacity and publishes no
rate limit. The server sends one request at a time to each service, two
seconds apart for OpenHistoricalMap, half a second for BLM and a second for
USGS and Dataverse, joins identical calls in flight, and caches answers on
disk: county answers for 90 days, GNIS and map answers for 30, survey answers
until you pass refresh=true. A 429 or a 5xx is retried three times with
back-off, then reported as rate_limited or upstream_error, which is never
the same as "nothing here".
Downloaded data
Two sources are files rather than services, so the server downloads them once and reads them locally. Nothing is downloaded until a tool needs it, and the result that triggered a download says so: what, how big, how it was checked and where it was saved.
Both are stored as SQLite files in data under the cache directory
(~/.cache/us-places-mcp/data by default), never in the repository. A file
that fails its check is deleted and the tool reports download_failed.
cache_status lists what is there; delete the folder to start again.
How to read what comes back
- The county then, not now. A record was made by the county that held the place on the day. A new county does not take its parent's earlier records, so a deed from before Greene County existed is in Washington County's books still.
- Check dates near a change.
boundary_change_within_a_yearlists changes close to your date. Laws took effect on stated days, but offices took time to organise; records from those months can be in either county. - "Attached to". Before an area was organised as a county it was often
attached to a neighbour for administration, and that neighbour kept its
records.
county_atreads this from the atlas's event text. - Contested ground. Pennsylvania and Virginia both governed the
Waynesburg area in the 1770s, and similar disputes ran elsewhere.
"status": "contested"means look in both governments' records. - The atlas files counties under today's state. Monongalia County was created by Virginia but is filed under West Virginia; the event text says which government acted.
- The atlas ends in 2000 and holds counties only: not towns, townships or parishes as church units.
- A located tract is not a house. A section's centre is up to half a mile from any point in it, and BLM's data is a modern compilation that can differ from the original plat near correction lines and water. Lotted sections (along a township's north and west edges, or by water) have lots where a regular section has quarter-quarters.
- A parse is a reading of a reading.
parse_legal_descriptionkeeps the original text and says what it guessed: a section number with no "Sec.", a meridian taken from the state. - A patent proves a conveyance, on its signature date. The entry was years earlier: homesteaders lived on the land five years before final proof, and mid-century backlogs put years between purchase and signature. The Homestead Act took effect in 1863, so an "1856 homestead" in a family story is a cash, credit, preemption or warrant entry.
- The patentee may never have seen the land. Military bounty-land warrants were bought and sold; the veteran is in the warrant file, the patentee may be a speculator.
- No federal patents in state-land states. The thirteen colonies, Maine,
Vermont, Kentucky, Tennessee, West Virginia, Texas and Hawaii granted their
own land. A nil search there means nothing;
public_land_statesays where first title was recorded. - Old GLO links are dead. BLM rebuilt glorecords.blm.gov in July 2026, and older record links now land on the home page. Cite a patent by its accession number, document number, state and signature date.
- GNIS names are today's official names, not the spellings in old
records. GNIS writes out Mount, Fort and Saint and drops possessive
apostrophes (Pikes Peak); the server does the same to what you type. A place
that is gone is often listed as "Name (historical)". A GNIS county is
today's county: pass the point to
county_at. - The 2021 archive is frozen. Cemeteries, churches, schools, post offices
and buildings are as GNIS held them on 25 August 2021, and USGS no longer
maintains them.
topo_quadnames the 1:24,000 map each was read from. - A map's date is the date of its survey or edit, not of the ground on the day you care about, and a reprint keeps the old date. Several scans often share a quadrangle and a date: later printings or other copies of one edition. Compare them. At 1:62,500 and larger, maps show roads, churches, schools and cemeteries, and often houses; a house symbol names no one.
- A post office's years are Helbock's. A renaming, or a change to a
branch, ends one record and may start another, so "discontinued" can mean
renamed. An office closed for under ten years stays one record, marked
continuous: false. Moves within a town are not recorded. - A post office's county is today's. Helbock listed the county in which
the site lies now. For the county that kept the records then, pass the
office's point and year to
county_at. - A third of the post offices have no point. Blevins placed an office by
matching its name to a GNIS feature; offices that matched nothing have no
coordinates, so a search around a point misses them. Search the county too.
gnis_matchshows what each was matched to and how closely. - Postmasters' names are in the Records of Appointment of Postmasters at the National Archives (microfilm M1131 for 1789-1832, M841 for 1832-1971).
Deliberately not here
- Searching GLO itself. The rebuilt site has no public API. The server builds links for you to open; it does not fetch the site.
- Townships and church parishes as jurisdictions. The atlas is counties only; GNIS names places but says nothing of who governed them.
- Writing anywhere.
Security
- A fixed set of hosts. A request hook refuses any request not for a configured service or Dataverse's file store, so a value a model passes in cannot make the server fetch another site. A download follows a redirect only to one of those hosts.
- Downloads are checked before they are kept, against the checksum the publisher states, and are capped in size.
- Inputs are validated before they reach a query: coordinates as finite
numbers in range, states and GNIS classes against tables, survey numbers as
digits, and a county name escaped character by character into the Overpass
query. A place name reaches GNIS only as
find's search text, never inside a where clause, and local searches use bound parameters. - Event, statute and place-name text is data. It comes from the sources and reaches the model verbatim; the server's instructions tell the model to treat it as data, never as instructions.
To report a vulnerability, see SECURITY.md.
Development
See CONTRIBUTING.md, docs/API-NOTES.md for what was observed of each service and when, and docs/DESIGN.md for why the server is shaped this way.
Credits
County boundaries: the Newberry Library's Atlas of Historical County Boundaries (John H. Long, editor), as imported into OpenHistoricalMap and released under CC0. Survey data: the Bureau of Land Management's National PLSS (CadNSDI), a US government work. Place names: the US Geological Survey's Geographic Names Information System, a US government work. Maps: USGS's Historical Topographic Map Collection, through The National Map. Post offices: Cameron Blevins and Richard W. Helbock, US Post Offices, Harvard Dataverse, doi:10.7910/DVN/NUKCNA, released under CC0.
License
MIT.
來源:README.md,提交 2768438
工具
0版本歷史
1- v0.2.0最新Oct 6, 2026


