4,500+ servers built on MCP Fusion
Vinkius
HHS Open Payments logo
Vinkius
Mastra AI logo

How to Use the HHS Open Payments MCP in Mastra AI

Build resilient audit workflows for HHS Open Payments in Mastra AI. Automate financial discovery with built-in failure recovery.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

HHS Open Payments MCP on Cursor AI Code Editor MCP Client HHS Open Payments MCP on Claude Desktop App MCP Integration HHS Open Payments MCP on OpenAI Agents SDK MCP Compatible HHS Open Payments MCP on Visual Studio Code MCP Extension Client HHS Open Payments MCP on GitHub Copilot AI Agent MCP Integration HHS Open Payments MCP on Google Gemini AI MCP Integration HHS Open Payments MCP on Lovable AI Development MCP Client HHS Open Payments MCP on Mistral AI Agents MCP Compatible HHS Open Payments MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Mastra AI

Connect HHS Open Payments MCP to Mastra AI

Create your Vinkius account to connect HHS Open Payments to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Automated payment audit chains

Chain multiple tools together to create complex compliance checks. Your agents use `list_datasets` to identify the right file, then `query_dataset` to extract specific payment triggers for review. If the initial query fails due to network jitter, Mastra AI automatically retries the operation. This ensures your audit pipeline completes without manual intervention.

Conditional multi-step verification

Implement branching logic based on payment thresholds. You define conditions where an agent uses `search_physicians` first, and if the profile is flagged, it proceeds to fetch detailed hospital records via `search_hospitals`. This allows you to automate the discovery process. You catch high-risk relationships by routing them through a predefined logic flow that handles standard compliance verification.

Scheduled bulk data synchronization

Trigger `download_dataset` on a schedule to maintain a local mirror of payment records. This keeps your agent's memory updated with the latest federal disclosures without hitting live API limits for every single check. Your workflows remain fast and consistent. By localizing the data, your agents perform deep analysis on large datasets while respecting the constraints of the remote source.

Setup guide

Set up HHS Open Payments MCP in Mastra AI

Prerequisites

  • Node.js 18+ and a TypeScript project
  • @mastra/mcp + @mastra/core packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run npm install @mastra/mcp @mastra/core plus your preferred model provider (e.g. @ai-sdk/openai).

  2. 2

    Configure the MCPClient

    Create an MCPClient with your Vinkius endpoint as a URL object. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Discover and inject tools

    Call mcpClient.listTools() and spread the result into your agent's tools object. All HHS Open Payments tools become native Mastra tools.

  4. 4

    Run with any model

    Swap openai("gpt-4o") for any AI SDK-compatible provider. Call agent.generate() and the agent routes tool calls through MCP automatically.

agent.ts
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";

const mcpClient = new MCPClient({
  id: "hhs-open-payments-mcp-client",
  servers: {
    "hhs-open-payments-mcp": {
      url: new URL(
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
      ),
    },
  },
});

const agent = new Agent({
  name: "HHS Open Payments Agent",
  model: openai("gpt-4o"),
  instructions: "You have access to HHS Open Payments tools.",
  tools: {
    ...(await mcpClient.listTools()),
  },
});

const result = await agent.generate(
  "List recent HHS Open Payments transactions"
);
console.log(result.text);

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by HHS Open Payments. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about HHS Open Payments MCP in Mastra AI

You add the MCP tools to your agent definition. Once configured, your Mastra AI agent can call `search_physicians` or `search_hospitals` as part of any multi-step task.
Yes, you can enable human-in-the-loop for any tool call. This is useful when your agent flags a potential conflict in HHS Open Payments records that requires a human review.
Absolutely. Mastra AI provides built-in exponential backoff, which ensures that transient issues with the server don't stop your compliance monitoring.
You use the `query_dataset` tool within your workflow. You define your filtering criteria in the agent prompt, and Mastra AI executes the specific query against the dataset.
Only public financial data is accessed. Your connection uses secure transport, and no private medical records are ever processed or cached by your agents.

Start using the HHS Open Payments MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for HHS Open Payments. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.