finstack-mcp-server
v0.11.0-b85443cMCP server for Finstack
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
finstack_get_customer_summary
Fetch a non-PII summary of a B2B customer: portal account status (account.status: active/inactive/blacklisted/locked/obsolete/new_account) and account type (account/channel_partner), onboarding progress, products, sales opportunities (sales_opportunities[] with opportunity_type full/upsell/expand/land and stage closed_won/closed_lost/churned), API credentials, inspection status, and recent billing. Use this when asked for a customer's status or sales opp stage. Does NOT include portal users, contacts or emails — for those call finstack_get_customer_users. Backed by the mware-portal chatbase…
| Parameter | Type | Description |
|---|---|---|
customer_code * | string | Customer code (CID) — e.g. "ABC123" |
environment | string | Target environment: "prod" (default) or "dev" |
finstack_search_customer
Find a B2B customer's code (CID) by fuzzy-matching their name. Use this when the user references a customer by name but hasn't supplied a CID — pass the returned customer_code into finstack_get_customer_summary. Default threshold is 0.6, which matches short names against their legal form ('brainsome' finds 'Brainsome LTD'). If there are no matches, retry once at 0.4; if there are too many, raise it.
| Parameter | Type | Description |
|---|---|---|
q * | string | Search string — customer name or fragment, min 2 chars, case-insensitive |
environment | string | Target environment: "prod" (default) or "dev" |
threshold | number | Similarity threshold 0.0-1.0 (default 0.6). Lower for fuzzier matches, raise to narrow. |
finstack_get_customer_invoices
Paginated list of finalized invoices for a B2B customer with full line-item breakdown. Use when the user asks for billing history, invoice details, what they were charged for, or itemized lines (vs. finstack_get_customer_summary which only shows the 3 most recent invoices without line items). Each invoice includes status, permissible_purpose, and items with quantity / rate_in_cents / amount. Identify the customer with EITHER customer_code OR user_id.
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Customer code (CID) — e.g. "CID18068". Provide this OR user_id. |
environment | string | Target environment: "prod" (default) or "dev" |
page | number | Page number, 1-indexed. Default 1. Invalid values fall back to 1 server-side. |
per_page | number | Page size. Default 50, silently capped at 100. Invalid values fall back to 50 server-side. |
user_id | string | mware-portal user ID. Provide this OR customer_code. |
finstack_get_customer_usage
Billed volume per product per month for a B2B customer: for every accounting month, each product (the invoice product code, e.g. "CRS API : efx-prequal-vantage4") with quantity (units billed, i.e. pulls), amount in USD, the number of invoice lines summed and lines_without_quantity (lines that carry no count; say so when it is not 0). Use it for "monthly volume by product", "how many pulls of X did they do", "usage over their lifetime" or any count-by-product question; with no dates it returns the whole history in one small answer. It is summed from the finalized invoice line items, so it also…
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Customer code (CID), e.g. "CID12345". Provide this OR user_id. |
end_month | string | Last month to include, YYYY-MM. Omit for up to the latest invoice. |
environment | string | Target environment: "prod" (default) or "dev" |
start_month | string | First month to include, YYYY-MM. Omit for the whole history. |
user_id | string | mware-portal user ID. Provide this OR customer_code. |
finstack_get_company_revenue
Company-wide revenue exactly as the portal Company Revenue Dashboard shows it: CRS API (Mware) plus MeridianLink (MCL), from the dashboard's stored snapshot. Use it FIRST for any question about total or company revenue: "what was revenue yesterday", "why was revenue lower than average", "how is this month going", "weekday average". Without arguments it returns, for the current month, the totals (combined, mware, mcl), the weekday and weekend daily averages (holidays and bulk-batch days excluded, listed in excluded_days), one row per day with combined / mware / mcl, and days_without_mcl; for th…
| Parameter | Type | Description |
|---|---|---|
day | string | Optional day of the current month, YYYY-MM-DD, to get that day's rows by account and product. |
environment | string | Target environment: "prod" (default) or "dev" |
finstack_get_customer_pricing_config
Full configured pricing state for a B2B customer: per-product BillingProductCustomer records (tiers, fees, add-ons, override_price), pricing_addendums (id, name, status, quote_id, timestamps, has_pdf flags, pdf URLs), and environment_users with their productPricing config (billingAmount, effectiveDate, pricingTiers, tiered/volume flags; credentials excluded). Use when the user asks what a customer is contracted to pay, to cross-check invoice line-item rates against contracted pricing, or to inspect tier/volume pricing setup. Each pricing addendum's PDF text can be fetched with finstack_get_pri…
| Parameter | Type | Description |
|---|---|---|
customer_code * | string | Customer code (CID) — e.g. "CID18068" |
environment | string | Target environment: "prod" (default) or "dev" |
finstack_get_pricing_addendum_text
Extracted text contents of a pricing addendum PDF. Use after finstack_get_customer_pricing_config to read the full body of an addendum (terms, line items, footnotes) when the structured pricing config doesn't answer the question. Pass the addendum's id from pricing_addendums[]. Returns page_count and the concatenated text. Table layouts may come through with run-together columns — readable for LLM reasoning but not pixel-perfect.
| Parameter | Type | Description |
|---|---|---|
id * | number | Pricing addendum id, from pricing_addendums[].id in finstack_get_customer_pricing_config |
environment | string | Target environment: "prod" (default) or "dev" |
variant | string | Which attachment to read. Default "with_disclaimer". Use "without_disclaimer" only if pricing_addendums[].has_pdf_without_disclaimer is true. |
finstack_get_customer_revenue
Fetch revenue for a B2B customer over a date range, bucketed by period (day/week/month/quarter/year). Use when the user asks how much a customer paid, revenue trends, MRR/ARR-style figures, or billing over time. Returns periods[{period,revenue}] plus a total. Max range: day=92d, week=2y, month/quarter=10y, year=50y; pick the coarsest type that covers the range.
| Parameter | Type | Description |
|---|---|---|
customer_code * | string | Customer code (CID) — e.g. "CID18068" |
end_date * | string | End date (inclusive), format YYYY-MM-DD. Must be >= start_date. |
start_date * | string | Start date (inclusive), format YYYY-MM-DD |
type * | string | Bucketing granularity for the returned periods |
environment | string | Target environment: "prod" (default) or "dev" |
finstack_get_customer_users
The people attached to a B2B customer account — the ONLY tool that returns portal users and contacts with names and emails. Use whenever asked for a customer's users, contacts, contact list, emails, who has portal access, who the admin/owner is, or who to email at an account. Returns users[] (portal logins: id, name, email, phone, title, roles, role_labels matching the portal Users tab — "Admin (owner)", "Admin", "Developer", "Agent", "Billing", "Main billing contact", "Generic" — is_owner, status active/invited/not_invited, locked, mfa_enabled, sign-in and invitation timestamps; owner f…
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Customer code (CID) — e.g. "CID18068". Provide this OR user_id. |
environment | string | Target environment: "prod" (default) or "dev" |
user_id | string | mware-portal user ID. Provide this OR customer_code. |
finstack_get_customer_cohort
Bulk, paginated list of ALL B2B customers with their tracker fields: portal account status (active/inactive/blacklisted/locked/obsolete/new_account), account_type (account/channel_partner), and sales_opportunities[] (opportunity_code, opportunity_type full/upsell/expand/land, stage closed_won/closed_lost/churned, booking_value_mrr, close_date). Use this for cohort/tracker/dashboard refreshes or any question spanning many customers — NEVER call finstack_get_customer_summary once per customer for that. Default 40 customers per page (max 1000; a cohort row is heavy, 40 fit the result cap); read…
| Parameter | Type | Description |
|---|---|---|
environment | string | Target environment: "prod" (default) or "dev" |
page | number | Page number, 1-indexed. Default 1. |
per_page | number | Customers per page. Default 40 (fits the result cap), capped at 1000. |
stage | string | Only customers having at least one sales opportunity in this stage. Omit for all. |
status | string | Only customers with this portal status, e.g. "active", "inactive", "blacklisted", "locked", "obsolete". Omit for all. |
finstack_get_customer_status_changes
History of B2B customer status changes from the portal, newest first: one row per change with customer_code, customer_name, old_status, new_status (portal view names: active, inactive, closed_account, lost, blacklisted, locked, obsolete, approved, ...) and changed_at. Use it for "who churned / went inactive / was closed in <period>", "when did customer X become inactive", or any churn or activation question with a date: finstack_get_customer_cohort only knows the CURRENT status. Filters: since / until (ISO 8601), customer_code, to_status (the status the customer moved TO, e.g. "inactive"). Def…
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Only this customer (CID). Omit for all customers. |
environment | string | Target environment: "prod" (default) or "dev" |
page | number | Page number, 1-indexed. Default 1. |
per_page | number | Rows per page. Default 120, capped at 1000. |
since | string | Only changes at or after this ISO 8601 time, e.g. "2026-10-01T00:00:00Z". Omit for all. |
to_status | string | Only changes INTO this status: "inactive", "closed_account", "lost", "active", "blacklisted", "locked", "obsolete", ... Omit for all. |
until | string | Only changes at or before this ISO 8601 time. Omit for all. |
finstack_get_cop_ai_analytics
Usage of the Credit Order Pro AI summary & chat (early-access feature on the customer portal) for a trailing window. Returns totals (reports on AI-enabled products, summaries generated and how many were precomputed, opened count and opened_pct, chat questions, thumbs up/down, Bedrock cost in USD, active customers), customers[] — every account with activity in the window, most reports first, with the same fields — and enabled_customers[] — who currently has the add-on switched on, with their product codes and when it was enabled. Use for questions like "how is the AI summary beta going" (…
| Parameter | Type | Description |
|---|---|---|
days | number | Trailing window in days ending yesterday, 1-92 (default 7; values outside the range are clamped server-side). Use 30 for "last month". |
environment | string | Target environment: "prod" (default) or "dev" |
finstack_get_leadiq_analytics
System-wide LeadsIQ (lead generation / batch append) analytics for a trailing window. Returns totals and previous-period totals (pulls, records, revenue, leadsiq_revenue, data_append_revenue, active_customers), customers — the COMPLETE list of customers with at least one pull in the window (highest revenue first; customers_truncated is true only if the 50-account safety cap trimmed it), the entitled/active/invited account split, and never_pulled — entitled accounts that have never run a pull, with their sales owner. Revenue is split into the two products under the LeadsIQ umbrella: leadsiq…
| Parameter | Type | Description |
|---|---|---|
days | number | Trailing window in days, 1-366 (default 7; values outside the range are clamped server-side). Use 30 for "last month", 365 for "this past year". |
environment | string | Target environment: "prod" (default) or "dev" |
finstack_get_leadiq_customer
One B2B customer's LeadsIQ usage detail: enrollment state (entitled, production_access, active/invited status), admin and sales contacts, pulls/records/revenue for a trailing window plus year_to_date and lifetime, lifetime match rate and per-field append hit rates (mobile/email/landline/demographic, as percentages), top_filters — the form filters the customer most commonly runs pulls with, each with usage share and most common values — and the 10 most recent pulls. Use for questions like "what LeadsIQ revenue did customer X have this year" (read year_to_date.revenue) or "which filters does…
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Customer code (CID) — e.g. "CID18068". Provide this OR user_id. |
days | number | Trailing window in days for the period block, 1-366 (default 30; values outside the range are clamped server-side). |
environment | string | Target environment: "prod" (default) or "dev" |
user_id | string | mware-portal user ID. Provide this OR customer_code. |
finstack_get_product_catalog
The CRS product catalog — every product CRS sells (not a specific customer's configuration; for what one customer has, use finstack_get_customer_products or finstack_get_customer_pricing_config; for which customers hold a product, finstack_get_product_customers). Use when asked what a product code (e.g. EXP1001, TUC2000) is, what products exist for a bureau/vendor, whether a product is hard or soft pull / FCRA, its base cost or default list price, which platforms it is on (mcl, crs, b2c, liq, bureau_direct), its add-ons (score models etc. with bureau service codes and base costs), its permis…
| Parameter | Type | Description |
|---|---|---|
code | string | Exact product code, or a comma-separated list — e.g. "EXP1001" or "EXP1001,TUC2000". |
environment | string | Target environment: "prod" (default) or "dev" |
query | string | Free-text keywords, all of which must match (case-insensitive) across code, public/private name, description, type/category/vendor labels, add-on names/codes and permissible purposes. e.g. 'credit pro… |
status | string | Only products with this status. Omit for both. |
vendor | string | Only products from this vendor. exp=Experian, tuc=TransUnion, eqf=Equifax, lnr=LexisNexis, fico=FICO, crs=CRS; others as named. |
finstack_get_product_customers
Which B2B customers hold a given product (by billing product code, e.g. TUC1002 = TransUnion Bankruptcy, EXP1001 = Experian Credit Profile). Use for "which customers have / use / are subscribed to product X" — do NOT loop finstack_get_customer_summary over the cohort for that. Requires the exact product code; if the user gives a product name, resolve the code with finstack_get_product_catalog first and pass it here. Paged over customers (default 100, max 1000): read total_pages and fetch the rest with page=2, 3, ... Returns {product:{code,name,private_name,status active|terminated}, page, pe…
| Parameter | Type | Description |
|---|---|---|
code * | string | Billing product code, exact match — e.g. "EXP1001", "TUC1002". |
environment | string | Target environment: "prod" (default) or "dev" |
page | number | Page number, 1-indexed. Default 1. |
per_page | number | Customers per page. Default 100 (fits the result cap), capped at 1000. |
status | string | Only subscriptions in these statuses — one value or a comma list, e.g. "activated" or "activated,in_review". Values: not_categorized, activated, in_review, disabled, terminating, deactivated, quoted… |
finstack_get_add_on_customers
Which B2B customers have a given add-on (by add-on code, e.g. CRS1002 = Credit Order Pro) attached to at least one of their products, and on which products. Use for "which customers have add-on X / feature X enabled". Requires the exact add-on code. Paged over customers (default 100, max 1000): read total_pages and fetch the rest with page=2, 3, ... Returns {add_on:{code,name,private_name,status active|inactive|null (null = active),category,category_label}, page, per_page, total_count, total_pages, customers[{customer_code,name,status,products[]}]} where products[] are only the products carryi…
| Parameter | Type | Description |
|---|---|---|
code * | string | Add-on code, exact match — e.g. "CRS1002". |
environment | string | Target environment: "prod" (default) or "dev" |
page | number | Page number, 1-indexed. Default 1. |
per_page | number | Customers per page. Default 100 (fits the result cap), capped at 1000. |
status | string | Only subscriptions in these statuses — one value or a comma list, e.g. "activated" or "activated,in_review". Values: not_categorized, activated, in_review, disabled, terminating, deactivated, quoted… |
finstack_get_customer_products
The products one B2B customer holds, each with its subscription status and attached add-ons — the lean answer to "what products does customer X have / is X subscribed to Y / when was Y activated". Prefer this over finstack_get_customer_pricing_config when prices are not needed, and over finstack_get_customer_summary when you need codes, statuses beyond activated/not_activated, activation dates, or add-ons. Returns {customer:{customer_code,name,status}, count, products[]} ordered by product code. Each product row has code, name, private_name, vendor, category, status (subscription status), en…
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Customer code (CID) — e.g. "CID18068". Provide this OR user_id. |
environment | string | Target environment: "prod" (default) or "dev" |
status | string | Only subscriptions in these statuses — one value or a comma list, e.g. "activated" or "activated,in_review". Values: not_categorized, activated, in_review, disabled, terminating, deactivated, quoted… |
user_id | string | mware-portal user ID. Provide this OR customer_code. |
finstack_get_customer_add_ons
The add-ons one B2B customer has, each with the products it is attached to — the answer to "which add-ons / features does customer X have" or "does X have add-on Y, on which product". Returns {customer:{customer_code,name,status}, count (distinct add-ons), add_ons[{code,name,private_name,status active|inactive|null (null = active),category,category_label,products[]}]} ordered by add-on code; products[] rows are the product rows without their own add_ons list. status filters on the subscription status of the product the add-on is attached to. Identify the customer with EITHER customer_code OR…
| Parameter | Type | Description |
|---|---|---|
customer_code | string | Customer code (CID) — e.g. "CID18068". Provide this OR user_id. |
environment | string | Target environment: "prod" (default) or "dev" |
status | string | Only subscriptions in these statuses — one value or a comma list, e.g. "activated" or "activated,in_review". Values: not_categorized, activated, in_review, disabled, terminating, deactivated, quoted… |
user_id | string | mware-portal user ID. Provide this OR customer_code. |
finstack_invalidate_cache
Clear MWARE's cached copy of ONE customer's credit report so the customer's next pull returns a fresh report. For Salesforce support tickets classified invalidate_cache (stale report, 'please re-pull', 'the bureau updated the file but we still see the old data'). The portal finds the report inside the given customer only, from the reference the customer quoted (MWARE request id or MISMO credit file number) or the applicant's first and last name; it never clears more than 3 matching reports, repeats for the same case_number replay the first result instead of clearing again, and each customer ge…
| Parameter | Type | Description |
|---|---|---|
case_number * | string | Salesforce case number from the ticket header (e.g. "00085021"). Makes the call idempotent per case. |
customer_code * | string | The customer's CID exactly as in the ticket header, e.g. "CID51534". Never another customer. |
applicant_name | string | Applicant first and last name as the customer wrote it, when no reference was given. |
dry_run | boolean | true = report what would be cleared without clearing anything (outcome would_invalidate). Default false. |
environment | string | MWARE environment whose cache is cleared: "production" (default) or "sandbox". Use sandbox only when the customer says they are testing. |
portal_environment | string | Which portal to call: "prod" (default) or "dev". Leave unset on customer tickets. |
reference | string | MWARE request id or MISMO credit file number quoted by the customer. Preferred over applicant_name when both are present. |
finstack_get_vendors
Look up WHO to contact at an external vendor or partner — the person to email, call, or get introduced to. This is about CRS's OWN vendors/partners (credit bureaus and data vendors like Equifax, TransUnion, Experian, CIC, LexisNexis, FICO, SBFE), NOT CRS customers (use the other finstack_* tools for customer accounts, billing, and pricing). Use whenever the user asks who to speak to / talk to / contact / reach out to / get an intro to, or who the point of contact or relationship owner is — for a vendor, a product or topic area (e.g. ECM), a role, or a specialty. Examples: 'who should I spe…
| Parameter | Type | Description |
|---|---|---|
connection | string | Filter by connection strength. '1st Degree' = direct contacts, '2nd Degree' = warm intros. Default 'all'. |
limit | number | Max contacts to return. Default 25, capped at 100. |
query | string | Keywords to match — company, person, role, product area, or specialty. e.g. 'ECM', 'Equifax pricing', 'compliance'. Tokenized and OR-matched across all contact fields and specialty tags. Omit to ret… |