Skip to main content
Glama

Server Details

us-elections -- U.S. election results by state, district, county and precinct (fleet #2952…

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
60.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
pipeworx-io/mcp-us-elections
GitHub Stars
0
Server Listing
us-elections
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation2/5

The three election tools (list_elections, election_results, election_race_summary) are reasonably distinct, but the remaining five are generic Pipeworx routing tools that heavily overlap: ask_pipeworx, ask_pipeworx_grounded and discover_tools all resolve a question to a source tool, and ask_pipeworx can also answer the financial questions company_facts targets. On a server branded 'Us Elections', an agent has no clear signal why company_facts or company_register_search belong here, creating real misselection risk.

Naming Consistency3/5

All names are snake_case, which is good, but the conventions diverge: some are verb-first (list_elections, discover_tools, ask_pipeworx) while others are noun-first entity labels (company_facts, election_results, election_race_summary, company_register_search). It stays readable but there is no single predictable pattern to extrapolate from.

Tool Count4/5

Eight tools is a well-scoped count that is easy to scan and does not overwhelm the agent. The only concern is that five of the eight are generic catalog tools rather than election-specific capability, so the count is fine but the allocation is not.

Completeness3/5

The election surface covers coverage discovery, candidate-level results at state/county/precinct, and race aggregation, which is a coherent core. However there are notable gaps: no candidate/office lookup, no election calendar or turnout data, and county-level results are limited to a handful of states with FEC House data only for 2020/2022. The unrelated Pipeworx tools also dilute the sense of a complete elections-specific surface.

Available Tools

8 tools
ask_pipeworxAsk PipeworxA
Read-onlyIdempotent
Inspect

The first call for any question whose answer needs an authoritative source: official statistics (FRED, BLS, national statistics offices), SEC and other company filings, company and property registers, regulatory and government records, FDA drug data, USPTO patents, clinical-trial registries, court records, and similar primary-source data. It also answers live weather, markets, crypto, sports, news and academic-paper questions. Routes the question to the right one of 8,013 tools across 2102 verified sources, fills arguments, returns the structured answer with stable pipeworx:// citation URIs. Use it when the user asks "what is", "look up", "find", "get the latest", "how much" or "current" about a figure, filing or record that a publisher of record holds. Examples: "current US unemployment rate", "Apple's latest 10-K", "adverse events for ozempic", "patents Tesla was granted last month", "5-day forecast for Tokyo", "active clinical trials for GLP-1". START HERE among the Pipeworx tools, this is the default entry point, works on every tier, one fast call. Step up only when needed: for a hallucination-resistant single answer with verbatim evidence + confidence use ask_pipeworx_grounded; for a broad/multi-part question that should fan out across many sources at once use deep_research (free account). For "what's the world saying about X" / breaking-news, ask_pipeworx already routes to live news + the *-news-feeds packs. Optionally pass packs:["slug","slug"] to restrict routing to specific sources ("answer this using THESE packs"); omit it for full-catalog routing.

Inputs: question (required), q, ask, text, +5 more.

ask_pipeworx_groundedAsk Pipeworx — GroundedA
Read-onlyIdempotent
Inspect

Hallucination-resistant answer mode for high-stakes reads. Same routing as ask_pipeworx, picks the right tool from 8,013 across 2102 sources, fills arguments, fetches the data, then EXTRACTS the answer using ONLY what the tool result contains. Returns {answer, evidence (verbatim quote), confidence, source, fetched_at, refusal_reason:null} on success, OR an explicit refusal {answer:null, refusal_reason:"not_in_source"|"no_tool_match"|"tool_error"|"data_truncated"|"llm_error"} when the data doesn't directly answer. An "llm_error" also carries refusal_cause ("wall" = our time budget ended before any model call was made; "route"|"threw"|"unparseable"|"wall_after_failure" = a model call failed); refusal_reason itself is unchanged. Use whenever an answer will be quoted, cited, or acted on, and the agent must not invent facts (financial verdicts, legal claims, medical lookups, public statements). Costs one extra LLM call vs ask_pipeworx, prefer ask_pipeworx for casual lookups.

Inputs: question (required), q, ask, text, +5 more.

company_factsCompany FactsA
Read-onlyIdempotent
Inspect

TYPED, DETERMINISTIC financial facts for a US public company for a NAMED reporting period, "Apple revenue for fiscal 2023", "Walmart net income FY2026 Q3", "Microsoft cash at the end of fiscal 2024", or for the MOST RECENT reported period when you leave period out ("NVIDIA revenue in its most recent quarter", "Apple's latest net income"): the answer then names the period it resolved to (period_resolution) and says when a newer 8-K earnings release exists than the latest 10-Q/10-K (newer_earnings_release). PREFER OVER entity_profile / get_company_financials whenever the period matters: those answer "the most recent figures" and will happily hand back FY2025 when you asked about FY2019, and neither separates a discrete quarter from a year-to-date figure. This one refuses instead, it NEVER substitutes the latest period for the period requested, NEVER returns 0 for missing data, NEVER lets a 9-month YTD number answer a quarterly question, and NEVER converts a currency. Every answer carries the exact us-gaap concept it came from, what that concept MEASURES (NetIncomeLoss excludes non-controlling interests, ProfitLoss includes them, not synonyms), the accession number and a link to the filing on sec.gov, the restatement trail of any superseded figures, and a contract + derivation version to pin against. Fiscal periods are the FILER'S OWN, anchored on their fiscal-year end, so Walmart's year ending 2026-01-31 is FY2026 and Apple's ending 2025-09-27 is FY2025. Attributes: revenue, net_income, cash, gross_profit, operating_income, eps_diluted, capex, operating_cash_flow, long_term_debt, shares_outstanding (the dei COVER-PAGE share count, so its period end is the cover date, after the quarter closed, that is the most current count the filing carries). Units are not all USD: shares_outstanding is in shares with currency null, eps_diluted in USD/shares. A discrete quarter the filer never filed, every Q4, and Q2/Q3 of cash-flow lines, which are filed year-to-date, is DERIVED as YTD(q) minus YTD(q-1) and comes back with reported: false, the subtraction named in derivation (fy_minus_9m / ytd_9m_minus_6m / ytd_6m_minus_3m) and both legs with their filings in derived_from; test reported if you will only accept a figure lifted from a filing. Per-share and balance-sheet figures are NEVER derived. Every non-answer is a named status, unavailable (the filer did not report it for that period; the periods that DO exist are listed, without values), unsupported (outside what v1 covers, a non-us-gaap filer, an unknown attribute, a non-USD unit), ambiguous (the company name matched two filers equally well; both are named), conflicting (two filings the same day disagree; both are returned and neither is picked), partial (a value with no accession behind it). Source: SEC EDGAR, XBRL financial facts, one publisher read once, see corroboration. Same response is served at POST https://gateway.pipeworx.io/v1/facts for non-MCP callers.

Inputs: company (required), attribute (required), as_of, basis, +5 more.

discover_toolsDiscover ToolsA
Read-onlyIdempotent
Inspect

Find tools by describing the data or task. Use when you need to browse, search, look up, or discover what tools exist for: SEC filings, financials, revenue, profit, FDA drugs, adverse events, FRED economic data, Census demographics, BLS jobs/unemployment/inflation, ATTOM real estate, ClinicalTrials, USPTO patents, weather, news, crypto, stocks. Returns the top-N most relevant tools with names, descriptions, and full input schemas (with curated examples), each result is ready to call directly, no second schema lookup needed. Call this FIRST when you have many tools available and want to see the option set (not just one answer).

Inputs: query (required), q, task, limit, +2 more.

election_race_summaryElection Race SummaryA
Read-onlyIdempotent
Inspect

Aggregated summary of a U.S. election race -- total votes, each candidate's vote share, the winner and the winning margin -- for one state/year/office. Uses the most aggregated level actually available for that race: a statewide/district number when MEDSL or FEC data covers it (President/Senate nationwide 1976-2024; House nationwide for 2020+2022 by FEC), otherwise summed from whatever county/precinct detail exists (OpenElections). For a district office (House) returns one summary per district. Use for "who won the 2024 PA Senate race and by how much" rather than reading every county row yourself.

Inputs: year (required), state (required), office (required).

election_resultsElection ResultsA
Read-onlyIdempotent
Inspect

Candidate-level U.S. election results for one state, year and office, at state, county, or precinct granularity. State-level President and Senate cover every state 1976-2024, including 2020 and 2022 (MIT Election Data + Science Lab / MEDSL, Harvard Dataverse, CC0). Official FEC district-by-district U.S. House results (FEC, "Federal Elections" statistical publication, public domain) cover the 2020 and 2022 general elections nationwide -- FEC has not yet published its compiled 2024 edition, and House is not otherwise available nationwide (MEDSL's own House file is guestbook-gated). County-level President/Senate/House results (OpenElections, county/state election-board certified counts) cover the 2024 general election in Georgia, Mississippi, New Mexico, North Dakota, South Dakota, Tennessee, Utah, West Virginia, Colorado, Missouri, Oregon, South Carolina and Kentucky; Pennsylvania and Michigan additionally keep true precinct-level rows. Pass state as a postal code ("PA") or full name ("Pennsylvania"), office as "president", "senate" or "house". For a House race, pass district (e.g. "09") to scope one district; omit it to get every district returned for that state/year. Use county to scope a county/precinct query (e.g. county="Allegheny"); omit it at level="county" to get every county in the state. Returns candidate, party, votes, the race total and the share of the vote, plus source/licence/data_as_of on every row. A state/year/office/level combination with no data returns a loud not-found (reason + available_levels hint), never an empty success.

Inputs: year (required), state (required), office (required), level, +4 more.

list_electionsList ElectionsA
Read-onlyIdempotent
Inspect

List the state/year/office combinations this pack actually holds data for, and at which levels (state/county/precinct). Pass state to scope the listing to one state; omit it to see full coverage. Use this before election_results or election_race_summary to check whether a given state/year/office exists before querying it, or to discover what is covered.

Inputs: state.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to look up any US House district or Senate race and get the incumbent, every FEC-registered candidate by party with receipts, disbursements and cash on hand, plus inferred primary winners and the primary, runoff and general election dates. A companion tool lists the races in a state so you can find the right district.
      71 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      US election forecasts with a public accuracy record — win probabilities for every 2026 Senate, House and Governor race, congressional voting records and net worth, and difficulty-adjusted accuracy ratings for 61 forecasters, pollsters and prediction markets.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to resolve geographies and candidates, build and compare election scenarios and simulations, apply swings and turnout assumptions, and read tallies, flipped seats, maps, charts, and precinct-level roll-ups through a local bridge to the ElectionsMCP hosted service.
      54 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to look up US and Canadian geographies — finding which cities, ZIP codes, counties, towns, districts, precincts, ridings, or polling divisions contain any address or point, crosswalking between units with population shares, and retrieving GeoJSON boundaries. Every record carries its source, licence, vintage, and update timestamp.
      12
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.