Sbir
v0.1.5SBIR MCP — wraps the SBIR.gov public API (free, no auth)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ask_pipeworx Ask Pipeworx
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 7,898 tools across 2073 verified sources, fills arguments, returns the structured answer with stable pipeworx:// citation URIs. U…
| Parameter | Type | Description |
|---|---|---|
question * | string | Your question or request in natural language. Accepts query, q, prompt, text, input, ask, message as aliases. |
ask | string | Alias for question. |
input | string | Alias for question. |
message | string | Alias for question. |
packs | array | OPTIONAL. Restrict routing to these pack slugs (e.g. ["sec-form-d","sec-13f"]), the router then picks only from tools in those packs. Omit for the default full-catalog routing. Slugs come from list_pa… |
prompt | string | Alias for question. |
q | string | Alias for question. |
query | string | Alias for question. |
text | string | Alias for question. |
ask_pipeworx_beta Ask Pipeworx Beta
Beta version of ask_pipeworx: identical universal router (same 7,898 tools, same arguments, same response shape) with candidate routing improvements enabled live whenever one is under test. No candidate is active right now (the last was retired on outcome evidence 2026-07-26), so this currently matches ask_pipeworx exactly. Use it exactly like ask_pipeworx when you want the newest routing; results are compared against the stable router to decide what merges. Falls back to nothing, this IS a full working router, just the experimental edge.
| Parameter | Type | Description |
|---|---|---|
question * | string | Your question or request in natural language. Accepts query, q, prompt, text, input, ask, message as aliases. |
ask | string | Alias for question. |
input | string | Alias for question. |
message | string | Alias for question. |
packs | array | OPTIONAL. Restrict routing to these pack slugs (e.g. ["sec-form-d","sec-13f"]), the router then picks only from tools in those packs. Omit for the default full-catalog routing. Slugs come from list_pa… |
prompt | string | Alias for question. |
q | string | Alias for question. |
query | string | Alias for question. |
text | string | Alias for question. |
ask_pipeworx_grounded Ask Pipeworx — Grounded
Hallucination-resistant answer mode for high-stakes reads. Same routing as ask_pipeworx, picks the right tool from 7,898 across 2073 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…
| Parameter | Type | Description |
|---|---|---|
question * | string | Your question in natural language. Accepts query, q, prompt, text, input, ask, message as aliases. |
ask | string | Alias for question. |
input | string | Alias for question. |
message | string | Alias for question. |
prefer_tool | string | Run this exact tool instead of letting the router choose, use a name from a previous answer's alternatives[]. Arguments are still filled from your question. Unknown names are refused, never guessed. |
prompt | string | Alias for question. |
q | string | Alias for question. |
query | string | Alias for question. |
text | string | Alias for question. |
search_within Search Within a Source
Semantic search INSIDE a fetched record. Pass the text you already pulled (e.g. a SEC 10-K body, an article, a long tool result) plus a natural-language query; get back the top-N passages with character offsets and similarity scores. Use when the record is too big to cram into the prompt, search_within saves context, returns only the passages that matter, and every passage carries an offset so the agent can verify a verbatim quote. Pairs with ask_pipeworx_grounded: fetch with the gateway, ground over the relevant passages instead of the whole document. BGE-base-en embeddings + cosine over 500-…
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural-language query, what passages do you want? E.g. "supply-chain risk", "fiscal year 2024 revenue", "drug interactions with warfarin". |
limit | number | Max passages to return (1-20, default 5). |
result_id | string | Search a result saved with _handle:true instead of passing text (offsets refer to the stored text). Pass text or result_id. |
text | string | The document text to search inside (max ~200K chars). Omit when you pass result_id. |
deep_research Deep Research
ACCOUNT REQUIRED (free, sign in via GitHub at https://pipeworx.io/signup; depth:"thorough" needs a paid plan). If you are not signed in, use ask_pipeworx instead, it works on every tier. Grounded multi-source research across Pipeworx's 2073 STRUCTURED data sources (SEC filings, FRED/BLS economics, FDA, USPTO patents, markets, science, government records, etc.) in ONE call, this is NOT open-web search. Decomposes your question into focused facets, routes each to the right one of 7,898 tools IN PARALLEL, and returns a findings packet: verbatim evidence + confidence + source + fetched_at + a stab…
| Parameter | Type | Description |
|---|---|---|
question * | string | The research question, in natural language. Broad/multi-part is fine, decomposition is the point. Accepts query, q, prompt, text, input, ask, message as aliases. |
ask | string | Alias for question. |
depth | string | How many facets to research in parallel: quick=3 (single hop), standard=3 (default; adds a gap-recovery hop that re-angles unanswered facets + a contradictions[] scan across findings), thorough=6 (pai… |
input | string | Alias for question. |
message | string | Alias for question. |
prompt | string | Alias for question. |
q | string | Alias for question. |
query | string | Alias for question. |
text | string | Alias for question. |
discover_tools Discover Tools
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…
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language description of what you want to do (e.g., "analyze housing market trends", "look up FDA drug approvals", "find trade data between countries"). Accepts task, q, description, search as… |
description | string | Alias for query. |
limit | number | Maximum number of tools to return (default 20, max 50) |
q | string | Alias for query. |
search | string | Alias for query. |
task | string | Alias for query. |
resolve_entity Resolve Entity
"What's the ticker for..." / "find the CIK for..." / "what's the LEI for..." / "what's the RxCUI for..." / "look up the ID for..." / "what is X's official identifier" / "who owns X" / "is X a subsidiary of Y", resolve a user-spoken NAME to the canonical/official identifiers other tools require as input. Use FIRST whenever you have a name but need an ID. SUPPORTED TYPES: "company" (cross-source identity spine: 10-digit CIK + ticker + company_name from SEC EDGAR, legal-entity LEI from GLEIF with parent/ultimate-parent/children ownership when the LEI resolves, and security FIGI from OpenFIGI, by…
| Parameter | Type | Description |
|---|---|---|
type * | string | Entity type: "company", "drug" or "lei" (a 20-character LEI; "company" also recognises an LEI by its check digits). |
value * | string | For company: ticker (AAPL), CIK (0000320193 or 320193), LEI (HWUPKR0MPOU8FGXBT394), or name. A bare number is read as an SEC CIK only as 320193 or 0000320193; with a non-US `country`, or with 8-9 digi… |
country | string | OPTIONAL ISO 3166-1 alpha-2 of the country whose business register you mean ("NO", "FI", "JP", "GB", "FR", "EE", "BR"). Narrows the national-register fan-out and is often the difference between the ri… |
compare_entities Compare Entities
"Compare X and Y" / "X vs Y" / "X versus Y" / "which is bigger / better / larger / more profitable" / "rank these companies" / "head to head", side-by-side comparison of 2-5 companies or drugs in ONE parallel call. ALWAYS PREFER over sequential single-pack lookups when comparing entities. type="company" pulls LATEST 10-K revenue + operating income + net income + cash + long-term debt from SEC EDGAR/XBRL (off-calendar fiscal years handled correctly, AAPL Sep, NVDA Jan, etc.). type="drug" pulls FAERS adverse-event counts, FDA approval counts, active trial counts. Results sorted by primary metric…
| Parameter | Type | Description |
|---|---|---|
type * | string | Entity type: "company" or "drug". |
values * | array | For company: 2-5 tickers/CIKs (e.g., ["AAPL","MSFT"]). For drug: 2-5 names (e.g., ["ozempic","mounjaro"]). |
list_subscriptions List Subscriptions
List the caller's active subscriptions (requires a free Pipeworx account; an empty list means none created yet, see subscribe). Returns id, type, params, created_at, last_fired_at, fire_count for each. Use this to review what you're monitoring before adding more or to find an id to cancel.
| Parameter | Type | Description |
|---|---|---|
include_inactive | boolean | Include cancelled subscriptions in the response (default false). |
recent_alerts Recent Alerts
Pull fired events from your subscription feed. Returns the most recent alerts the evaluator has written to your persisted feed, each carries source, citation_uri (pipeworx:// when available), and the raw event payload. Filter by type (e.g. "sec_8k") and/or since (ISO timestamp). Set mark_read:true to flag returned events read so the next call only shows newer ones. Polls work fine; the same feed is also at GET registry.pipeworx.io/alerts.json for scripts and dashboards.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max events to return (1-200, default 50). |
mark_read | boolean | Flag the returned events read in the same call (default false). |
since | string | Optional ISO timestamp, return events fired_at >= this time. |
type | string | Optional, filter to one subscription type. |
unread_only | boolean | Return only events where read_at is null (default false). |
entity_profile Entity Profile
"Tell me about X" / "research Acme" / "brief me on Tesla" / "what does Apple do" / "company profile for Microsoft" / "give me the rundown on NVDA" / "everything you know about $TICKER", full cross-source profile of a US public company in ONE parallel call. ALWAYS PREFER over chaining single-pack SEC/XBRL/news lookups when the user asks for a holistic view. Fans out across SEC EDGAR, XBRL, USPTO patents, federal contracts (USAspending), FDA-licensed biologics (Purple Book), H-1B hiring (DOL LCA), news and GLEIF, and returns: cik + company_name (+ resolved_from/resolved_to when `value` was a nam…
| Parameter | Type | Description |
|---|---|---|
type * | string | "company" or "ticker", both are accepted and behave identically; `value` can be a ticker, CIK, or company name either way. person/place coming soon. |
value * | string | Ticker (e.g., "AAPL"), zero-padded CIK (e.g., "0000320193"), or company name (e.g., "Moderna"). A NAME now resolves through the national business registers as well as SEC EDGAR, so a non-US company re… |
country | string | OPTIONAL ISO 3166-1 alpha-2 of the business register you mean ("NO", "FI", "GB", "JP", "FR", "EE", "BR"). Only affects a NAME lookup, and is often what separates the company you mean from a US namesak… |
recent_changes Recent Changes
"What's new with X" / "latest on Y" / "what happened to Z this week / month / quarter" / "updates on Acme" / "news on Tesla recently" / "what's happening with Apple", change feed for a company in the last N days/weeks/months in ONE parallel call. Fans out to SEC EDGAR (filings since `since`), GDELT -> GNews fallback (news mentions in window, GDELT preferred, GNews when rate-limited or 5xx), USPTO (patents granted; PatentsView API sunset May 2025 so this soft-fails until reactivated). `since` accepts ISO date ("2026-04-01") or relative shorthand ("7d", "30d", "3m", "1y"). Returns structured cha…
| Parameter | Type | Description |
|---|---|---|
since * | string | Window start, ISO date ("2026-04-01") or relative ("7d", "30d", "3m", "1y"). Use "30d" or "1m" for typical monitoring. |
type * | string | Entity type. Only "company" supported today. |
value * | string | Ticker (e.g., "AAPL") or zero-padded CIK (e.g., "0000320193"). |
validate_claim Validate Claim
"Is it true that..." / "fact check" / "verify the claim that..." / "did X really..." / "was Y actually..." / "confirm or refute" / "true or false", natural-language claim verification against authoritative sources. Use whenever the agent needs to check whether something a user said is factually correct. Company-financial claims (revenue, net income, cash for public US companies) verify via the structured SEC EDGAR + XBRL fast path with exact percent-delta math; ANY OTHER factual claim (macro statistics, rates, prices, drug data, records) automatically falls through to the grounded pipeline, ro…
| Parameter | Type | Description |
|---|---|---|
claim * | string | Natural-language factual claim, e.g., "Apple's FY2024 revenue was $400 billion" or "Microsoft made about $100B in profit last year". |
tolerance_pct | number | Max percent deviation still graded approximately_correct (0.5-50). Overrides the tolerance implied by the claim wording, set 1-2 for hallucination detection where any material error must be refuted. D… |
company_facts Company Facts
TYPED, DETERMINISTIC financial facts for a US public company for an EXPLICITLY NAMED reporting period, "Apple revenue for fiscal 2023", "Walmart net income FY2026 Q3", "Microsoft cash at the end of fiscal 2024". 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…
| Parameter | Type | Description |
|---|---|---|
attribute * | string | Which figure. "revenue" = total consolidated revenue; "net_income" = net income (loss); "cash" = cash and cash equivalents at the period end; "gross_profit"; "operating_income"; "eps_diluted" (diluted… |
company * | string | Ticker ("AAPL"), 10-digit CIK ("0000320193"), or company name. A name that matches two filers equally well returns status "ambiguous" with both named rather than guessing, pass a ticker or CIK to be c… |
period * | object | The reporting period, stated explicitly. There is no default and no "latest", that is the point of this tool. |
as_of | string | Past ISO timestamp with timezone. Replay the latest answer actually recorded by that instant; no invented history or live fallback. |
basis | string | Only "consolidated" in v1. Segment and product-level figures are XBRL-dimensioned and are not reachable through this contract at any concept. |
exclude_publishers | array | Publisher ids forbidden for fact retrieval: sec, fmp, alphavantage. Case and surrounding whitespace are normalized; unknown ids are refused. Excluding sec currently leaves no eligible fact source and… |
freshness | string | cached (default) permits an eligible stored answer; fresh requires an upstream refresh and never silently falls back to stale data. |
max_age | number | Maximum age in seconds of the upstream publication, not our fetch. Older or undated facts are withheld. |
restatement | string | Default "as_amended", the latest filed figure for the period, with everything it superseded listed. "as_originally_reported" takes the first filing instead. |
company_register_search Company Register Search
Search the NATIONAL BUSINESS REGISTERS by company name and get the register's own id back, a Companies House number, a Norwegian organisasjonsnummer, a Finnish business id, a SIREN, a Japanese corporate number, an Estonian registry code, a CRO number, a CNPJ, a US state entity number, or an LEI. Use this when you want the OFFICIAL REGISTERED ENTITY. Registers searched: Companies House (GB), Enhetsregisteret (NO), PRH/YTJ (FI), Sirene (FR), 法人番号公表サイト (JP), RIK e-Business Register (EE), the Companies Registration Office (IE), the US STATE business registers (one per state the s…
| Parameter | Type | Description |
|---|---|---|
name * | string | The company name as you have it, in its own script. Pass it VERBATIM, do not strip the legal form ("Oyj", "AS", "株式会社", "Ltd"): in Japanese the form is a PREFIX as often as a suffix and 株式… |
country | string | OPTIONAL ISO 3166-1 alpha-2 of the register you mean ("GB", "NO", "FI", "FR", "JP", "EE", "IE", "US", "BR"). Narrows the fan-out, and is frequently the difference between an answer and `ambiguous` on… |
limit | number | Maximum candidates to return, 1-50 (default 10). Does not change which registers are asked, only how many rivals come back. |
state | string | OPTIONAL two-letter US state ("FL", "NY", "CO"...), with country "US" (implied when country is absent). It means the state where the company is registered or was formed, not where it is headquartered:… |
scan_dependency Scan Dependency
Composite "should I add this npm package to my project" check in ONE call, fans out across deps.dev (license + advisories + version history) and bundlephobia (gzipped/minified bundle size, dependency count, ESM/tree-shake support). Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me". Returns a summary block (is_latest, license, published_at, advisory_count, bundle_kb_min, bundle_kb_gz, dependency_count, has_esm, tree_shakeable), per-advisory detail, links, and a list of recent alternative versions. NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fa…
| Parameter | Type | Description |
|---|---|---|
package * | string | npm package name. Scoped packages (e.g. "@types/node") are accepted. |
version | string | Specific version to check (e.g., "18.3.1"). Defaults to the latest published version when omitted. |
bet_research Bet Research
Research a Polymarket bet by pulling the relevant Pipeworx data for it in one call. Pass a market slug ("will-kristi-noem-win-the-2028-republican-presidential-nomination"), a polymarket.com URL, or a question text. A dated slug ("...-by-june-30-2026") still resolves after it settles, the resolver retries a closed-market lookup rather than giving up on the bare one, so either dated or undated works; prefer whichever slug you actually have. The tool resolves the market, classifies the bet, fans out to category-specific data packs in parallel, and returns an evidence packet + simple market-vs-mod…
| Parameter | Type | Description |
|---|---|---|
market * | string | Polymarket slug ("will-kristi-noem-win-the-2028-republican-presidential-nomination"), full URL ("https://polymarket.com/event/..."), or question text ("Will Bitcoin hit $150k?"). Dated slugs still res… |
depth | string | quick = 2-3 evidence sources, thorough = full fan-out. Default thorough. |
include_raw | boolean | Default false. When false (recommended), FRED/FDA/GDELT/Federal-Register evidence is summarized to the few fields agents actually use, keeps responses under ~20KB. Pass true to get full upstream paylo… |
polymarket_arbitrage Polymarket Arbitrage
Find arbitrage opportunities on Polymarket via monotonicity violations + partition-sum checks. Call with NO args for a `trending_scan` of the top ~200 markets by weekly volume; pass `event` for the strongest per-event partition_check, or `topic` for a themed cross-event scan. `event` (recommended for a specific market): pass a Polymarket event slug like "fed-decision-may-2026" or "when-will-bitcoin-hit-150k"; walks child markets, checks date-axis / threshold-axis ordering AND computes the partition_check (sum of YES prices across mutually-exclusive legs, should ≈1; deviations >3pp emit a BUY…
| Parameter | Type | Description |
|---|---|---|
event | string | Single-event mode (use this if you know the specific Polymarket event): event slug like "fed-decision-may-2026" or "when-will-bitcoin-hit-150k". Full Polymarket URLs also accepted. |
topic | string | Cross-event mode (use this if you want to scan related events across the platform): a topic or seed question like "Fed rate decision" or "Strait of Hormuz traffic returns to normal". Tool searches Pol… |
polymarket_edges Polymarket Edges
Scan top Polymarket markets and return opportunities where Pipeworx data disagrees with market price. Built for "what should I bet on today", agents discover opportunities without paging hundreds of markets. FIVE MODEL FAMILIES grouped into three response segments under by_segment: (1) MODEL_DRIVEN, crypto_price (lognormal barrier from 90d FRED log-returns) and news_momentum (GDELT 7d/21d article-volume ratio, soft signal w/ halved Kelly). (2) STRUCTURAL_ARBITRAGE, partition_overround on mutually-exclusive events; per-leg favorite-longshot bias correction with per-sport α (tennis 1.02, soccer…
| Parameter | Type | Description |
|---|---|---|
category_filter | string | Comma-separated list to restrict the output: "model_driven" (crypto_price + news_momentum), "structural_arbitrage" (partition_overround), "concentrated_longshot". Combine like "model_driven,structural… |
limit | number | Top N edges to return after ranking. Default 10, max 25. |
max_spread_pp | number | Tradeable-edge filter. Maximum bid/ask spread in percentage points on the representative market. Default null (no filter). Set to 2 to require tight books, anything wider eats most plausible edges. |
min_edge_pp | number | Minimum |edge| in percentage points to include (default 0.5). Edge is evaluated NET of slippage and Polymarket's own taker fee. |
min_kelly | number | Minimum half-Kelly fraction (as decimal, e.g. 0.005 = 0.5% of bankroll) to include single-leg opportunities. Default 0 (no filter). Skips opportunities that are too small to bet sensibly even if the e… |
min_liquidity | number | Tradeable-edge filter. Minimum $ liquidity on the representative market (or for partition_overround, on at least one top_leg). Default 0 (no filter). Set to 5000 to drop thin-book opportunities where… |
min_partition_leg_kelly | number | Minimum BEST per-leg half-Kelly fraction across a partition_overround opportunity's top_legs (or longshot_basket legs). Default 0 (no filter). Partition arbs always return kelly_fraction_half=0 at the… |
slippage_pp | number | Assumed execution slippage in percentage points per leg (default 0.3), for bid/ask + thin depth cost that a last-trade price does not show. Subtracted from raw |edge| before ranking and Kelly sizing,… |
window | string | Polymarket volume window to filter markets. Default 1wk. |
polymarket_kalshi_spread Polymarket–Kalshi Spread
Cross-venue spread between Kalshi and Polymarket for the same resolving question. The two venues sometimes price the same outcome 2-25pp apart because their participant pools differ, when the bet shapes are equivalent that delta is a real signal, when they aren't the tool says so. TWO MODES: (1) `topic`, 11 pre-mapped macro subjects ("fed", "btc", "eth", "cpi", "gdp", "sp500", "recession", "next_pope", "next_uk_pm", "next_israel_pm", "2028_president") auto-fetch the matching event on each venue. You do NOT have to use those exact keys: the topic is resolved through aliases and keywords, so "bi…
| Parameter | Type | Description |
|---|---|---|
kalshi_event_ticker | string | Explicit Kalshi event ticker, e.g. "KXFED-26OCT". Overrides the topic-mapped Kalshi side. |
polymarket_event_slug | string | Explicit Polymarket event slug, e.g. "fed-decision-in-june-825". Overrides the topic-mapped Polymarket side. |
topic | string | Subject to compare. Canonical keys: fed | btc | eth | cpi | gdp | sp500 | recession | next_pope | next_uk_pm | next_israel_pm | 2028_president, plus the 15-minute crypto up/down windows btc_15m | eth_… |
polymarket_fill_risk Polymarket Fill Risk
Realizable-vs-theoretical edge check against live CLOB order-book depth, AND Polymarket's own taker fee, which is never zero and is folded in rather than left for you to add (fleet #3446: r/PredictionsMarkets flagged a "clean" fill that quietly omitted it as optimistic in the direction that loses money). REQUIRES one of `market` (single-market mode) or `event` (basket/partition mode). SINGLE-MARKET: pass a market slug/URL + side (buy_yes|sell_yes|buy_no|sell_no, default buy_yes) + size_usd (default 1000, max spend on buys, target proceeds on sells); walks the ladder and returns top_of_book, vw…
| Parameter | Type | Description |
|---|---|---|
event | string | Basket mode: event slug or full polymarket.com URL, checks every leg of the partition. |
market | string | Single-market mode: market slug or full polymarket.com URL. |
side | string | Single-market: buy_yes | sell_yes | buy_no | sell_no (default buy_yes). Basket: sell_yes | buy_yes (default auto, sell if partition sum > 1, buy if < 1). |
size_usd | number | Single-market: USD to spend (buys) or target proceeds (sells). Basket: settlement notional, shares per leg, each paying $1 at resolution. Default 1000, clamp 10-1,000,000. |
polymarket_edge_tracker Polymarket Edge Tracker
Edge persistence and decay telemetry built from daily polymarket_edges snapshots. Answers "how long has this edge existed and is it shrinking?", a fresh wide edge and a 3-week-old wide edge are different trades (the latter is wide for a reason nobody is willing to take). Args: days (lookback, default 14, max 30), window (snapshot family, default "1wk"). RESPONSE: tracked[] = every opportunity in the LATEST snapshot with its full edge_pp_net time-series across prior snapshots, first_seen, trend (new | widening | stable | decaying) and decay_pp_per_day (both computed on |edge_pp_net|, the value…
| Parameter | Type | Description |
|---|---|---|
days | number | Lookback in days (default 14, clamp 2-30). |
window | string | Which polymarket_edges window family to read snapshots for: 24hr | 1wk | 1mo (default 1wk). |
kalshi_weather_edge Kalshi Weather Edge
Prices Kalshi daily high-temperature markets against the NWS forecast for the market's OWN settlement station, and measures whether that forecast actually beats the market. Two modes. LIVE (default): returns the full strike ladder for one city and settlement date with market_prob (mid), forecast_prob, and edge_pp per strike, plus the settlement clause verbatim. BACKTEST (`backtest_days: N`): scores an archived gridded forecast against the market on settled days and returns brier_market vs brier_forecast with a plain-English `verdict`, so the edge is MEASURED rather than asserted. READ THE WARN…
| Parameter | Type | Description |
|---|---|---|
backtest_days | number | Run measurement mode over the last N settled days (max 60) instead of pricing today. Returns brier_market vs brier_forecast, the settlement-vs-forecast basis, and per-day detail. Both sides are scored… |
city | string | City to price, e.g. "nyc", "chicago", "los angeles", "miami", "austin", "houston", "denver", "philadelphia". Defaults to nyc. Unmapped cities return known_cities[] rather than a wrong series. |
date | string | Settlement date as YYYY-MM-DD. Defaults to the soonest open event. Daily weather markets open ~1-2 days ahead and close 05:00Z the next day. |
market_type | string | "high_temp" (default) | "precip". Precipitation markets return prices but no forecast_prob yet. |
series_ticker | string | Explicit Kalshi series, e.g. "KXHIGHNY" or "KXHIGHTBOS" (Boston). Overrides `city`; use it for any of the 121 daily weather series not in the city list. |
resolution_audit Resolution Audit
Extract the settlement clause of a single Polymarket (.com or .us) or Kalshi market: who publishes the settling number (source), the clock time + timezone it is taken at (falling back to the market TITLE when the clause itself says "the time range specified in the title", e.g. Polymarket's 15-minute Chainlink TWAP family), the precision of the computation (e.g. "1-minute candle close" vs "60-second trailing average" vs "twap_60s_lookback"/"twap_30s_lookback" vs "election outcome"), comparison_basis, what is compared to what (end_average_vs_start_average | close_vs_open; orthogonal to precision…
| Parameter | Type | Description |
|---|---|---|
market * | string | Polymarket (.com or .us) market slug or URL, OR a Kalshi market ticker (preferred) or event ticker (falls back to a representative market under that event). |
venue * | string | Which venue to fetch the market from. "polymarket" is the offshore venue (polymarket.com); "polymarket-us" is the separate, CFTC-regulated polymarket.us venue, matched by slug via its own search (no e… |
resolution_diff Resolution Diff
Field-by-field diff of TWO markets' settlement clauses (one from each of `a` and `b`; either can be Polymarket .com, Polymarket US, or Kalshi), runs resolution_audit on both sides and compares source, settle time, precision, comparison_basis, and evidence standard. Returns `equivalent`: "true" only when both sides parsed with enough confidence to compare AND no field conflicts; "false" when a specific conflict was found (differing_fields names which, e.g. ["source","settle_time"] for a Polymarket Bitcoin market settling on Binance's 1-minute candle at noon ET versus a Kalshi KXBTCD market sett…
| Parameter | Type | Description |
|---|---|---|
a * | object | First market to compare. |
b * | object | Second market to compare. |
release_calendar_markets Release Calendar Markets
JOIN of the official release calendar (econ data, the FOMC, FDA decisions, SEC rules) against LIVE Polymarket/Kalshi markets, which scheduled releases land in the next N hours, and which live markets resolve on them. This is a POSITIONING tool, not a speed product: results are cached like every other pack (≤ 60s TTL) and there is no push/webhook, do not use this to try to beat a release, use it to see what is coming and what is already priced. CATEGORIES: econ (CPI, Employment Situation/jobs report, GDP, PCE, PPI, retail sales, housing starts, jobless claims, via fred_release_dates per known…
| Parameter | Type | Description |
|---|---|---|
categories | string | Comma or space separated subset of econ|fed|fda|sec|court, or "all" (default). E.g. "econ,fed" or "fda". |
hours | number | Look-ahead window in hours from now. Default 48. Capped at 720 (30 days), econ/fed releases are dated weeks apart, so a short window is often empty; widen rather than assume nothing is scheduled. |
prediction_calibration Prediction Calibration
REALIZED win rate by shown price and minutes elapsed for short-horizon crypto up/down markets, net of taker fee, read from our own settled-outcomes archive, not from live prices. Answers the one question no venue will: "a side shown at 82 with five minutes left, how often did it ACTUALLY win?" Returns a grid of (price bucket x minute elapsed) -> n, realized_win_rate_pp, mean_shown_price_pp, calibration_gap_pp (realized minus shown, zero means the book is calibrated), breakeven_win_rate_pp (the shown price plus the taker fee that was actually in force for that market), and net_edge_pp (realized…
| Parameter | Type | Description |
|---|---|---|
asset | string | btc (default) | eth | sol | xrp | bnb. Coverage differs by venue: polymarket and polymarket-us carry btc/eth/sol/xrp, Kalshi carries btc/eth/bnb. |
bucket_pp | number | Price-bucket width in percentage points: 5 | 10 (default) | 20 | 25 | 50. Must divide 100, so the last bucket is never narrower than the rest. |
horizon | string | 15m (default). 5m | 1h | 1d are accepted but only 15m is collected today, so another value returns coverage.windows_total 0 rather than an error. |
minute | number | Minutes elapsed since window open, 0-based. Omit for the full grid; pass 5 for the "five minutes in" row only, which is also the cheapest query. |
side_convention | string | "favorite" (default) folds each window onto whichever side was the favorite, the frame published claims about early favorites use. "yes" keeps the venue own YES/Up side. |
venue | string | polymarket | polymarket-us | kalshi | all (default polymarket). "all" returns one grid per venue, never a merged one. |
updown_venue_compare Updown Venue Compare
The same 15-minute crypto "up or down" window priced on polymarket.com, Polymarket US and Kalshi, side by side, with whether each pair is actually the same contract. Pass asset (btc | eth | sol | xrp | bnb) and window ("current" default, "next", "previous", or the window START as ISO such as 2026-10-27T14:15:00Z, on a 15-minute boundary). Per venue: question, Up bid / ask / mid / last, spread_pp, quote_state, volume WITH ITS UNIT, open interest, liquidity, settlement source, comparison basis, when it settles. THE VENUES ARE NOT ONE CONTRACT. Kalshi and Polymarket US settle on CF Benchmarks' BR…
| Parameter | Type | Description |
|---|---|---|
asset | string | btc (default) | eth | sol | xrp | bnb. Coverage differs by venue; a venue that does not list the asset answers not_listed. |
horizon | string | 15m (default and the only value offered). |
window | string | "current" (default), "next", "previous", or the window START as an ISO-8601 timestamp on a 15-minute boundary, e.g. 2026-10-27T14:15:00Z. An unaligned timestamp is refused, not rounded. |
updown_divergence_rate Updown Divergence Rate
How often two venues settled the SAME 15-minute crypto window differently, over every settled window on record. Compares polymarket.com (Chainlink TWAP) with Kalshi and with Polymarket US (both CF Benchmarks BRTI), and Kalshi with Polymarket US as the same-feed control. Per pair: windows both venues settled, divergent count, the rate with its 95% Wilson interval (withheld under 30 paired windows), which direction they split, and what was excluded (unsettled on a side, 50-50). A HEADLINE RATE IS A CONCENTRATION QUESTION, so every pair also carries `concentration` (UTC days and hours the diverge…
| Parameter | Type | Description |
|---|---|---|
asset | string | btc (default) | eth | sol | xrp | bnb. The archive holds btc/eth on all three venues, sol/xrp on polymarket.com and Polymarket US, bnb on Kalshi only (no pair). |
days | number | Look-back in days, 1-90 (default 30). The archive starts 2026-09-22 (polymarket.com, Kalshi) and 2026-10-07 (Polymarket US, btc), so a longer span is capped by what is held; coverage is reported per p… |
archive_evidence Archive Evidence
What did a web page say on a given date? Finds the archived capture of a URL nearest that date across the Internet Archive Wayback Machine, Common Crawl and Arquivo.pt, reads it, and returns the readable text (HTML stripped) with the capture timestamp, a link to the archived copy, and the GAP between the date asked for and the capture actually used (e.g. "Captured 1.5 day(s) before the requested date"). One call replaces the find-capture, fetch-record, parse-HTML chain. If no archive holds a capture within max_gap_days (default 30) it answers status "no_capture" and names the nearest capture b…
| Parameter | Type | Description |
|---|---|---|
date * | string | The date to look up, as YYYY-MM-DD (e.g. "2023-06-01"), YYYYMMDD, or a full ISO timestamp. |
url * | string | The page address, e.g. "https://www.sec.gov" or "https://www.ftc.gov/policy-notices/privacy-policy". |
max_chars | number | Characters of page text to return. Default 12000, max 60000. |
max_gap_days | number | Furthest a capture may be from the date and still be used, in days. Default 30, max 3650. |
archive_compare Archive Compare
What changed on a web page between two dates? Resolves the archived capture nearest each date (Internet Archive Wayback Machine, Common Crawl, Arquivo.pt), extracts the readable text of both, and returns a text-level diff: the segments removed and added, a similarity score, and both capture timestamps with their gaps from the requested dates. It diffs readable text, not markup, so a restyled page with the same words reads changed:false. Identical captures answer changed:false with the reason (same capture, identical content digest, or identical text), never an empty diff. A date with no captur…
| Parameter | Type | Description |
|---|---|---|
date_a * | string | The earlier date, as YYYY-MM-DD (e.g. "2021-06-01"). |
date_b * | string | The later date, as YYYY-MM-DD (e.g. "2024-06-01"). |
url * | string | The page address, e.g. "https://www.ftc.gov/policy-notices/privacy-policy". |
max_gap_days | number | Furthest a capture may be from each date and still be used, in days. Default 30, max 3650. |
research_row Research Row
Claygent-style per-row research: answer ONE question about ONE company and return a JSON object matching your output_schema, with every field wrapped in its own evidence, {value, evidence_url, quote, status}. status is NEVER self-reported by the model: "found" means this code independently verified the model's quote is a VERBATIM substring of text actually fetched; "inferred" means a value was given but the quote could not be verified; "not_established" means no source answered the field, and its value is always null, never guessed, never a blended score. Sources: "web" fetches the company's o…
| Parameter | Type | Description |
|---|---|---|
entity * | object | The row/company to research. At least one of name/domain required. |
output_schema * | object | JSON Schema object naming the fields to extract, e.g. {"properties":{"sells_to_healthcare":{"type":"boolean"},"head_of_sales":{"type":"string"}}}. Up to 20 fields. |
question * | string | The question to answer about this company, in natural language, e.g. "Does this company sell to healthcare, and who is the head of sales?" |
max_cost | number | Cost ceiling in US dollars for this one row. Default 0.02, max 0.50, minimum viable 0.002 (below that the call is refused rather than silently exceeding it). |
sources | string | Where to look: "web" (company site only), "catalog" (entity_profile only), "both" (default). |
classify_row Classify Row
Cheap categorization: given a company and a list of candidate labels, decide which labels apply, the most common GTM/AI usage shape (tagging a list by industry, ICP fit, etc.), one small model call. Same evidence contract as research_row: each label comes back {label, applies, evidence_url, quote, status: found|inferred|not_established}, "found" only when the model's quote is independently verified as a verbatim substring of the text used. Pass text directly (cheapest, no fetch) or entity.domain to fetch the homepage once as a fallback. No text and no domain means every label is not_establishe…
| Parameter | Type | Description |
|---|---|---|
entity * | object | The row/company to classify. At least one of name/domain required. |
labels * | array | Candidate labels to test, 2-30 strings, e.g. ["healthcare","fintech","logistics"]. |
text | string | Text to classify directly (a description, a page you already fetched, etc.), cheapest path, skips any fetch. |
pipeworx_trending Pipeworx Trending
What other AI agents are calling on Pipeworx right now. Returns the top tools, top packs, and total call volume over a recent window (24h, 7d, or 30d). Useful for: (1) discovering what data sources are hot for current events, (2) confirming a popular tool is the canonical choice before asking your own question, (3) seeing whether your use case aligns with what most agents need. Self-aggregating signal, derived from CF analytics-engine, no PII, just (pack, tool, count). Cached 5min-1h depending on window.
| Parameter | Type | Description |
|---|---|---|
window | string | 24h (default) | 7d | 30d. Shorter windows surface what's hot right now; longer windows show steady-state demand. |
suggest_questions What Can I Ask Pipeworx?
What can I ask Pipeworx? / what is Pipeworx good for? / what can you do? / give me ideas / show me examples / getting started / what data do you have?, the onboarding entry point for an agent that just connected and wants to know what is worth asking. Returns category-bucketed example questions (company financials, drugs & clinical trials, economics, real estate, prediction markets, weather, government & patents, science & academia, news), each with the exact tool + argument shape that answers it, drawn from the live catalog of thousands of tools. Call with no arguments for the full spread, or…
| Parameter | Type | Description |
|---|---|---|
topic | string | Optional focus area: finance | pharma | economics | real-estate | betting | weather | government | science | news. Omit for a cross-category spread. |
generate_llms_txt Generate llms.txt
Generate a production-ready llms.txt file for any URL so AI crawlers (ChatGPT, Claude, Perplexity) can index the site cleanly. Fetches the page, extracts title/description/key links, and emits the standard llms.txt markdown format. Output is a single text blob ready to drop at site-root/llms.txt. Useful for: getting a client's site indexed by AI, drafting llms.txt for your own project, or auditing how an AI crawler would see a competitor.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full URL of the site to summarize, e.g. "https://example.com" or a specific landing page. |
max_links | number | Maximum number of link entries to include (default 25, max 50). |
ai_visibility_check AI Visibility Check
Probe one or more LLMs for what they know about a business / brand / product / topic and score visibility (0-100) per model. Default model is Workers AI Llama-3.3-70b (free); pass `_apiKey` to also probe Anthropic (BYO key, you pay Anthropic directly for those calls). Returns per-model {score, confidence, signals, raw_response} + a combined view. Useful for AI-marketing audits, pre-launch brand checks, competitive monitoring.
| Parameter | Type | Description |
|---|---|---|
entity * | string | The thing to ask about. Brand/business name, product name, person, or topic. E.g. "Pipeworx", "OpenInvoice", "Acme Corp pricing". |
_apiKey | string | Optional Anthropic API key (sk-ant-...), only needed if "anthropic" is in models. Passed straight through to api.anthropic.com. |
context | string | Optional: a phrase locating the entity (e.g. "Boston restaurant", "B2B SaaS"). Helps disambiguate common names. |
models | array | Which models to probe. Supported: "workers-ai" (free default), "anthropic" (requires _apiKey). Omit for just workers-ai. |
scan_competitor_ai_presence Scan Competitor AI Presence
Compare AI visibility across multiple entities side-by-side. Probes each entity (your brand + N competitors) with ai_visibility_check, ranks by score, surfaces which is most/least recognized. Useful for competitive AI-marketing audits: "does Claude know about us as well as our competitors?". Returns ranked list with score, confidence, signal density per entity.
| Parameter | Type | Description |
|---|---|---|
entities * | array | Array of 2-8 entities to compare (brand/business/product names). First entry treated as the "subject" for narrative; rest are competitors. |
_apiKey | string | Optional Anthropic API key, only if "anthropic" is in models. Passed to api.anthropic.com per probe. |
context | string | Optional shared context applied to every probe (e.g. "B2B SaaS", "Boston restaurant"). Disambiguates common names. |
models | array | Which models to probe. Supported: "workers-ai" (free default), "anthropic" (requires _apiKey). Omit for just workers-ai. |
pipeworx_feedback Send Pipeworx Feedback
Tell the Pipeworx team something is broken, missing, or needs to exist. Use when a tool returns wrong/stale data (bug), when a tool you wish existed isn't in the catalog (feature/data_gap), or when something worked surprisingly well (praise). ONLY for tools served by this Pipeworx connection, if the tool came from a different MCP server in your client (another vendor's Gmail, Splunk, Slack, etc. connector), we cannot fix it and reporting it here only delays you; file it with that server instead. Not sure? Pipeworx tool names are the ones this connection lists. Describe the issue in terms of Pi…
| Parameter | Type | Description |
|---|---|---|
claim_token | string | Read the reply to a report you filed earlier: pass the `pwfb_...` token that filing returned, with no other arguments. Returns the status and, once resolved, what actually changed. |
context | object | Optional structured context: which tool, pack, or vertical this relates to. |
message | string | Your feedback in plain text. Be specific (which tool, what error, what data was missing). 1-2 sentences typical, 2000 chars max. |
type | string | bug = something broke or returned wrong data. feature = a new tool or capability you wish existed. data_gap = data Pipeworx does not currently expose. praise = positive note. other = anything else. |
recall Recall
Retrieve a value previously saved via remember, or list all saved keys (omit the key argument). Use to look up context the agent stored earlier, the user's target ticker, an address, prior research notes, without re-deriving it from scratch. Scoped to your identifier (account ID or BYO key hash); anonymous connections cannot save memory. Pair with remember to save, forget to delete.
| Parameter | Type | Description |
|---|---|---|
k | string | Alias for key. |
key | string | Memory key to retrieve (omit to list all keys). Accepts name, k, label as aliases. |
label | string | Alias for key. |
name | string | Alias for key. |
result_get Result Get
Read a saved result by result_id and pull only what you need. A result is saved when you call a data tool with _handle:true (needs an account and a retention setting, see result_settings). fields: dot paths to keep ("name", "address.city"). rows: how many rows (25), a range ("10-34"), or {"offset":0,"limit":25}. filter: keep rows matching every condition, e.g. {"state":"CA","amount":{"gt":1000}} (operators: eq, ne, gt, gte, lt, lte, contains, in, exists, startswith). With no arguments you get the whole result if it is small, otherwise its shape. Replies are capped by max_chars (default 60000)…
| Parameter | Type | Description |
|---|---|---|
result_id * | string | The result_id a handle-mode call returned (r?_ followed by 20 characters). |
fields | array | Dot paths to keep. With rows/filter they project each row; otherwise they project the result itself. |
filter | object | Conditions on row fields, all must match. Value = equality; or {"gt":1000}, {"contains":"acme"}, {"in":["CA","NY"]}, {"exists":true}. |
max_chars | number | Cap on the reply size, default 60000, max 400000. |
rows | Row count (25), range ("10-34"), or {"offset":0,"limit":25}. Applies to the array of rows in the result. | |
rows_path | string | Dot path to the array of rows when the result has several (the summary names the one detected). |
result_list Result List
List your saved results (newest by key order), with tool, size, created and expiry. Expired results are not listed. Pass cursor from the previous page for more.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page. |
limit | number | Results per page, 1-200, default 50. |
sbir_search_awards Sbir Search Awards
"Which companies won NASA SBIR Phase II awards for autonomy?" / "SBIR awards for [topic]" / "who received DoD SBIR funding" / "Phase I and Phase II awards at [agency]", AWARDED federal Small Business Innovation Research (SBIR) and STTR grants: the small-business R&D contracts an agency has already funded. Search by keyword, agency ("DOD", "NASA", "DARPA", "NSF", "DOE", "HHS"), year, company, or state. Returns the winning company, award amount, agency and branch, topic code, abstract, fiscal year, and Phase (I/II/III), live from www.sbir.gov/awards (219,000+ awards, 1983-present). This is the t…
| Parameter | Type | Description |
|---|---|---|
agency | string | Filter by funding agency: DOD, HHS, NASA, NSF, DOE, USDA, EPA, DOC, ED, DOT, DHS, NIH, DARPA, ARMY, NAVY, USAF, and others sbir.gov itself lists. "DOW" is also accepted and translated to "DOD", sbir.g… |
company | string | Filter by company name (substring match against sbir.gov's own company_name filter, a partial name like "Rydberg" matches "RYDBERG TECHNOLOGIES INC"). |
keyword | string | Search term to match against award titles and abstracts. |
limit | number | Number of results to return (default 20, max 100). Award amounts and other detail-page fields are only fetched for the first 25 rows (a bounded number of extra HTTP calls); rows beyond that carry list… |
state | string | Filter by 2-letter US state code (e.g., "CA", "MA"), sent as sbir.gov's own state filter. |
year | number | Filter by award year (e.g., 2024) |
sbir_get_award Sbir Get Award
Get full details for one SBIR/STTR award, identified by its contract number or agency tracking number (the `contract`/`agency_tracking_number` fields returned by sbir_search_awards). sbir.gov has no lookup-by-id endpoint, so this searches www.sbir.gov/awards by that identifier as a keyword and verifies a candidate's own contract/tracking number matches before returning it, start from sbir_search_awards rather than guessing an id.
| Parameter | Type | Description |
|---|---|---|
award_id * | string | Contract number or agency tracking number, exactly as returned in `contract` or `agency_tracking_number` by sbir_search_awards. |
sbir_search_solicitations Sbir Search Solicitations
"Which SBIR or STTR solicitations are open at [agency]?" / "current SBIR topics" / "open DoD SBIR solicitations" / "SBIR proposal deadlines" / "SBIR opportunities for [research area]", active SBIR/STTR funding opportunities merged from three live sources: www.sbir.gov/topics (multi-agency topic listing), the DoD/DARPA topics-app JSON API (Pre-Release and Open DoD topics sbir.gov itself does not yet carry), and Grants.gov (NIH/HHS SBIR & STTR Notices of Funding Opportunity, which never appear as sbir.gov "topics" at all, e.g. the NIH parent SBIR/STTR announcements and NCI omnibus solicitations)…
| Parameter | Type | Description |
|---|---|---|
agency | string | Filter by agency: DOD, HHS, NASA, NSF, DOE, USDA, EPA, DOC, ED, DOT, DHS, NIH, DARPA, ARMY, NAVY, USAF, and others sbir.gov itself lists. "DOW" is also accepted and translated to "DOD". |
keyword | string | Search term to match against solicitation/topic titles and descriptions. |
limit | number | Number of results to return across all sources combined (default 20, max 100). |
open_only | boolean | Only return currently open (or pre-release) solicitations (default true). false also includes recently closed sbir.gov/topics results, the DoD app and Grants.gov legs are open-opportunities-only sourc… |
sbir_company_awards Sbir Company Awards
Get complete SBIR/STTR award history for a company from www.sbir.gov/awards. Returns all awards with amounts, agencies, topics, and funding phases.
| Parameter | Type | Description |
|---|---|---|
company * | string | Company name to search for (substring match). |
limit | number | Number of results to return (default 50, max 100). |
sbir_agency_stats Sbir Agency Stats
"How many SBIR awards did DOE make last year, and how much total funding?" / "SBIR award count and dollar total for NASA in 2024", per-agency SBIR/STTR TOTALS, live from www.sbir.gov/awards (the same source sbir_search_awards uses). Specify `agency` (e.g. "DOD", "NASA", "DOE") and, optionally, `year` to scope the count, `year` is the CALENDAR year sbir.gov's own "Award Year" field assigns to the award (verified against sbir.gov/awards' own year[YYYY] filter and each award's detail page, not a federal fiscal year). `award_count` is always exact: sbir.gov/awards states a precise "Showing X-Y of…
| Parameter | Type | Description |
|---|---|---|
agency | string | Specific agency to count, e.g. "DOD", "NASA", "NSF". Omit to cover all major agencies (count-only, no funding_total). |
year | number | Filter by award year (e.g., 2025), sbir.gov's own calendar-year "Award Year" field, same as sbir_search_awards' `year` filter. Omit for an all-time total. |