
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


