Every US county,
one question away
Summary
txtlab gives your AI agent the US economy as a set of tools: who lives in a place, what they earn, which businesses operate there, how many people work, what public companies report, and the weather a place gets. Every figure comes back with its source and year.
53033 · Washington
King County
- Median household income
- $124,746
- Population
- 2,287,171
- Unemployment rate
- 4.8%
Figure 1
Median household income by county, Census ACS 5-year estimates 2020-2024, 3,222 counties and county equivalents. Connecticut's eight former counties show no value because the 2024 survey reports its new planning regions.
01 · Ask
"Compare Harris, Maricopa and King counties for a new urgent care clinic."
02 · Answer
| County | Population | Median household income | Unemployment |
|---|---|---|---|
| Harris, TX | 4,838,303 | 6.7% | |
| Maricopa, AZ | 4,559,748 | 4.5% | |
| King, WA | 2,287,171 | 4.8% |
Maricopa has nearly Harris's population with a lower unemployment rate. King has the highest household income, at about half the population of either.
Source: Census ACS 2024 5-year (DP05_0001E, DP03_0062E, DP03_0009PE) · via compare
03 · Why one server
Why not connect your agent to the APIs?
Your agent can call the Census Bureau, BEA, BLS, the SEC, FRED and the Weather Service itself. Then it has to speak each one's language, hold a key for each, and catch the same mistakes on every question. txtlab does that work once, on the server.
One county,
five spellings
| Source | How it names Harris County, Texas |
|---|---|
| Census API | for=county:201&in=state:48 |
| BEA | GeoFips=48201 |
| BLS | LAUCN482010000000003 |
| National Weather Service | HGX 62,99 forecast grid, TXC201 alert zone |
| NOAA Storm Events | STATE_FIPS=48 CZ_TYPE=C CZ_FIPS=201 |
| txtlab | Harris County, TX or Houston, TX or a street address |
What comes back
| Question | From the source | From txtlab |
|---|---|---|
| Apple's last six years of financials | SEC company facts: one JSON file of every figure Apple has reported, 3.9 MB | 4 KB |
| Ten years of severe weather in one county | Ten yearly CSV files from NOAA covering every county, 141 MB compressed. NOAA offers no query for them. | One row |
| A county profile | Four requests to three agencies in three formats, plus the NOAA files | One call, 2.4 KB |
Sizes as served in November 2026: SEC company facts for CIK 0000320193, NOAA StormEvents details files 2017-2026, txtlab place for Harris County, TX.
What it has to know
- A city is not a county. Austin, Texas is in Travis County. Austin County is a different county about 90 miles east.
- Fiscal years are not calendar years. The SEC's calendar 2024 figure for Apple's total assets is $344.1 billion, from its December quarter. At its fiscal year end on September 28, 2024, Apple reported $365.0 billion.
- Missing values look like numbers. The Census API writes an estimate it could not compute as -666666666. BEA writes (D) for a figure withheld to protect a business.
- Some months do not exist. BLS has no October 2025 county unemployment rates: the lapse in federal funding stopped data collection that month.
- Names change over the years. Apple has reported revenue under three SEC tags:
SalesRevenueNetthrough fiscal 2017, thenRevenues, nowRevenueFromContractWithCustomerExcludingAssessedTax. Ask for one tag and you miss years. - Not every storm has a county. NOAA records wildfires, winter storms and hurricanes by forecast zone, so county totals leave them out. txtlab says so in every storm answer.
Keys
4
registrations to call the sources directly: Census, BEA (activated by email), BLS and FRED. The BLS key allows 500 queries a day for everything you run, and the SEC turns away requests that do not name a contact.
1
Google sign-in for txtlab, with 5,000 tool calls a day.
Built once
txtlab handles all of this on the server, for every agent that connects. It is one Plexara application: connections to seven sources, a cache, and two scripts, one that answers your agent and one that loads the NOAA files each month.
04 · Tools
place
A profile of any address, city or county: people, income, businesses by industry, jobs, unemployment, and ten years of severe weather and damage.
compare
Puts up to 25 counties side by side and ranks them on the measure you choose, for the industry you name.
company
A public company's recent SEC filings and the financials it reported for its last six fiscal years.
trend
An economic time series for context: rates, prices, employment.
weather
The National Weather Service forecast and any watches, warnings and advisories in effect for a county or address.
05 · Sources
| Source | Covers | Vintage | Refreshed |
|---|---|---|---|
| Census ACS 5-year | Population, income, age and households by county and tract | 2020-2024 | Yearly |
| County Business Patterns | Establishments and employment by industry and county | 2023 | Yearly |
| BEA Regional | Personal income and GDP by county and industry | Last 5 years | Yearly |
| BLS | Monthly unemployment rate by county | Latest month | Monthly |
| SEC EDGAR | Filings and reported financials of public companies | Current | Daily |
| FRED | Economic time series from the Federal Reserve Bank of St. Louis | Current | As published |
| NOAA Storm Events | Tornadoes, hail, floods and wind by county, with damage, deaths and injuries | Last 10 years | Monthly |
| National Weather Service | Forecasts and active watches, warnings and advisories | Current | Hourly |
06 · Connect
Connect an agent
Any MCP client that speaks streamable HTTP can connect. Paste your key and copy the setup for your client. No key yet? Get one with Google.
The setup fills in as you paste. Your key stays in this page: it is not sent anywhere and not saved.
Claude Code
claude mcp add --transport http txtlab \ https://txtlab.io/endpoints/research \ --header "X-MCP-Key: <your key>"
Clients that read a JSON config
{
"mcpServers": {
"txtlab": {
"type": "http",
"url": "https://txtlab.io/endpoints/research",
"headers": { "X-MCP-Key": "<your key>" }
}
}
}
Clients that cannot send a header
https://txtlab.io/endpoints/research/<your key>
Claude.ai custom connectors and similar clients take the key at the end of the address. Treat that address as the key itself.
Built on Plexara
The connections to each source, the notes on how to read them, the code that combines them and the server your agent talks to all run on Plexara. Companies use it to connect the AI tools their teams already use to everything they run.