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 and who is moving there, what they earn, which businesses operate there, how many people work and for what wage, the natural hazards a place faces, what public companies report, and the weather. Every figure comes back with its source and period.
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: seventeen connections to public data services, a cache, and three scripts: one answers your agent, two load bulk files on a schedule.
04 · Tools
place
A profile of any address, city or county: people and income, businesses by industry, jobs and wages, population growth and migration, housing permits, natural hazard risk and disaster history, flood insurance, drought, bank deposits, health and federal spending. Ask for the sections you need.
compare
Puts up to 25 counties side by side and ranks them on the measure you choose: income, growth, migration, permits, jobs, wages, hazard risk, or an industry's size and concentration.
company
A public company's recent SEC filings, the financials it reported for its last six fiscal years, where it ranks on revenue in its industry, and its federal contracts.
trend
An economic time series for context, or a county's unemployment, jobs, wages or housing permits over time.
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 |
| Census Population Estimates | Population, births, deaths and migration by county | Vintage 2025 | Yearly |
| Census Building Permits Survey | Housing units permitted by county and structure size | Last 12 months | Monthly |
| BLS QCEW | Employers, jobs and wages by county and industry | Last 8 quarters | Quarterly |
| SEC EDGAR | Filings, reported financials and industry codes 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 |
| FEMA National Risk Index | Risk ratings and expected annual loss for 18 natural hazards by county | December 2025 | Kept by txtlab |
| FEMA disaster declarations | Major disaster, emergency and fire declarations by county | Since 2000 | Weekly |
| FEMA flood insurance | Flood claims paid and homes insured by county | Since 1978 | Monthly |
| US Drought Monitor | Share of each county in drought, week by week | Latest week | Weekly |
| FDIC Summary of Deposits | Bank deposits and branches by county | June 30, 2026 | Yearly |
| CDC PLACES | Health measures such as insurance, diabetes and smoking by county | 2023 survey | Yearly |
| USAspending | Federal obligations by county, agency and recipient | Fiscal 2026 | Weekly |
This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau. The U.S. Drought Monitor is jointly produced by the National Drought Mitigation Center at the University of Nebraska-Lincoln, the U.S. Department of Agriculture, the National Oceanic and Atmospheric Administration and NASA; data courtesy of NDMC, via droughtmonitor.unl.edu.
06 · Built on Plexara
One application on Plexara
Everything behind txtlab is one Plexara application: connections to seventeen public data services, a database, the scripts that answer your agent and load bulk files, their schedules, and this website. The parts are released together, and Deasil runs and monitors the platform under them.
Figure 2
Every call
- Agent
place("Los Angeles")Any MCP client, sending your key - Endpoint
/endpoints/researchChecks the key's hash and today's count - Script
txtlab-researchResolves the county, then builds each section - Database
cache · loaded tablesA cached answer, or what the schedules loaded - Connections
live servicesCensus, BEA, BLS, SEC, FDIC, CDC, USAspending, FRED and the Weather Service
On a schedule
- Schedules
10 schedulesDaily, weekly or monthly, after each source publishes - Bulk files
FEMA · NOAA · BLS · Census · SECFiles too large to fetch for each question - Scripts
txtlab-loads · txtlab-stormsParse each file, or total it with SQL where it is stored - Database
12 loaded tablesThe same database every call reads
How txtlab answers a place call for Los Angeles County. The red path runs on every call. The dashed path runs on a schedule, so much of an answer is already in the database when your agent asks. Every section for Los Angeles County took 11.2 seconds the first time and 0.4 seconds from the cache, measured in November 2026.
What it is made of
17
Connections
One for each public data service, holding its address, its key and a catalog of the 46 calls txtlab makes. The Census, BEA, BLS and FRED keys are stored as platform secrets and added by the connection, so the scripts never hold them.
3
Scripts
One answers every tool call and two load bulk files. Plexara saves a script only after its tests pass and cover at least 80% of it. The script that answers your agent has 21 tests covering 97%.
16
Database tables
People, keys stored only as a SHA-256 hash, daily call counts, a cache, and twelve tables filled on a schedule. Only txtlab's own scripts can read or write them.
10
Schedules
Drought every Friday, disaster declarations every Monday, company tickers every day, and jobs, permits, flood claims, storms and industry codes every month.
2
Lakehouse tables
FEMA's file of 2.7 million flood claims and NOAA's storm files, registered as tables and totaled with SQL where they are stored.
1
Endpoint
/endpoints/research is the MCP server your agent connects to, and the Google sign-in that issues keys.
3
Site environments
This website has dev, stage and production, and Plexara serves the txtlab.io domain over HTTPS. A change reaches txtlab.io only when a person promotes it.
1
Application
All of it is released as one unit. A release pins the version of every script and applies its database changes, and a release can be rolled back.
Who built it
An AI agent built txtlab through Plexara's own MCP server. It registered the connections, wrote the scripts and their tests, created the database and published this site, with a person directing the work and deciding what went live. txtlab.io opened the day after the plan was written.
07 · 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.
08 · Plexara
The platform that runs txtlab
Plexara connects the AI tools your team already uses, Claude, ChatGPT, Gemini and the ones that replace them, to everything your company runs, and builds a knowledge base they learn from. Answers use your data and follow your access rules, and the work turns into things that keep running: automations, forms, websites, web applications and public services like this one.
Plexara is fully managed by Deasil Works. Each company gets its own dedicated deployment, and its people connect their agents to it over MCP.