Docs/Sources/ZIP Demographics Grounding Data for AI Agents

ZIP Demographics Grounding Data for AI Agents

Demographics by ZIP Code

OperationalCredits 10 per callp50 467msData Lookup

Overview

ZIP Demographics uses 5-year American Community Survey (ACS) estimates from the US Census Bureau, providing reliable demographic data for all 33,000+ ZIP Code Tabulation Areas (ZCTAs) in the United States.

Live Test ZIP Demographics Grounding Data for AI Agents Source →

The tool

Once your client is connected to the VerveContext server, this appears in its tool list as ZIPDemographicsGroundingDataforAIAgents. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "ZIPDemographicsGroundingDataforAIAgents",
  "arguments": {
    "zip": "90210"
  }
}

You do not name the tool yourself; the model picks it. Asking about 90210 in the terms this source covers is enough for it to reach for ZIPDemographicsGroundingDataforAIAgents on its own — naming it explicitly also works, and is the way to force the call.

Connecting

One server URL covers every source in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervecontext": {
      "url": "https://api.vervecontext.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
zipRequiredstring5-digit US ZIP code
length 5–5

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "zip": "90210",
    "name": "ZCTA5 90210",
    "acsYear": 2024,
    "population": {
      "total": 19004,
      "male": 9417,
      "female": 9587,
      "medianAge": 51
    },
    "income": {
      "medianHousehold": 187801,
      "perCapita": 147098
    },
    "housing": {
      "medianHomeValue": 2000001,
      "medianRent": 3251,
      "totalUnits": 9531,
      "occupiedUnits": 8029,
      "vacantUnits": 1502,
      "ownerOccupied": 5679,
      "renterOccupied": 2350,
      "homeOwnershipRate": 70.7
    },
    "education": {
      "collegeEducatedPct": 68.1,
      "bachelors": 4837,
      "masters": 2389,
      "professional": 1962,
      "doctorate": 929
    },
    "employment": {
      "laborForce": 9017,
      "unemployed": 468,
      "unemploymentRate": 5.2
    },
    "race": {
      "white": {
        "count": 15147,
        "percent": 79.7
      },
      "black": {
        "count": 403,
        "percent": 2.1
      },
      "asian": {
        "count": 1628,
        "percent": 8.6
      },
      "hispanic": {
        "count": 1138,
        "percent": 6
      }
    },
    "formatted": {
      "medianHouseholdIncome": "$187,801",
      "perCapitaIncome": "$147,098",
      "medianHomeValue": "$2,000,001",
      "medianRent": "$3,251"
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
zipstring90210ZIP Code Tabulation Area identifier
namestringZCTA5 90210ZCTA descriptive name
acsYearnumber2024American Community Survey year used for data
populationobject{…}
population.totalnumber19004Total population count in ZIP code
population.malePremiumnumber9417Male population count
population.femalePremiumnumber9587Female population count
population.medianAgePremiumnumber51Median age of population in years
incomeobject{…}
income.medianHouseholdnumber187801Median household income in dollars
income.perCapitaPremiumnumber147098Per capita income in dollars
housingobject{…}
housing.medianHomeValuePremiumnumber2000001Median home value in dollars
housing.medianRentPremiumnumber3251Median rent price in dollars
housing.totalUnitsPremiumnumber9531Total housing units in area
housing.occupiedUnitsPremiumnumber8029Number of occupied housing units
housing.vacantUnitsPremiumnumber1502Number of vacant housing units
housing.ownerOccupiedPremiumnumber5679Count of owner-occupied housing units
housing.renterOccupiedPremiumnumber2350Count of renter-occupied housing units
housing.homeOwnershipRatePremiumnumber70.7Percentage of homes owner-occupied
educationobject{…}
education.collegeEducatedPctPremiumnumber68.1Percentage with college degree or higher
education.bachelorsPremiumnumber4837Count of people with bachelor's degree
education.mastersPremiumnumber2389Count of people with master's degree
education.professionalPremiumnumber1962Count of people with professional degree
education.doctoratePremiumnumber929Count of people with doctorate degree
employmentobject{…}
employment.laborForcePremiumnumber9017Total labor force population count
employment.unemployedPremiumnumber468Number of unemployed persons
employment.unemploymentRatePremiumnumber5.2Unemployment rate as percentage
raceobject{…}
race.whiteobject{…}
race.white.countPremiumnumber15147White population count
race.white.percentPremiumnumber79.7White population percentage
race.blackobject{…}
race.black.countPremiumnumber403Black or African American population count
race.black.percentPremiumnumber2.1Black or African American population percentage
race.asianobject{…}
race.asian.countPremiumnumber1628Asian population count
race.asian.percentPremiumnumber8.6Asian population percentage
race.hispanicobject{…}
race.hispanic.countPremiumnumber1138Hispanic or Latino population count
race.hispanic.percentPremiumnumber6Hispanic or Latino population percentage
formattedPremiumobject{…}Human-readable formatted currency values
formatted.medianHouseholdIncomePremiumstring$187,801
formatted.perCapitaIncomePremiumstring$147,098
formatted.medianHomeValuePremiumstring$2,000,001
formatted.medianRentPremiumstring$3,251

Why ground on it

A model can produce something that looks like this answer from its training data, and be confidently out of date or simply wrong. This source returns the current value in a shape you can check, which is the difference between an answer you can cite and one you have to hedge.

Point an evaluation at name: it is the field most worth pinning a claim to, and it is either present and current or absent — never plausibly invented.

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This source is not part of VerveContext. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 10 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Market Research
Analyze demographics for market segmentation and targeting
Real Estate
Evaluate neighborhoods for real estate investment and valuation
Site Selection
Choose business locations based on demographic profiles
Ad Targeting
Build demographic profiles for advertising and personalization

Other ways to use ZIP Demographics Grounding Data for AI Agents

Set up ZIP Demographics Grounding Data for AI Agents on VerveContext, or reach the same source a different way. Your VerveContext account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →

More in Data Lookup:

Was this page helpful?