UniCourt MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 27 tools to Delete Pacer Credential, Generate Token, Get Case, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect UniCourt through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The UniCourt MCP Server for Vercel AI SDK is a standout in the Data Management category — giving your AI agent 27 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using UniCourt, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About UniCourt MCP Server
Connect your UniCourt account to any AI agent to streamline legal research and litigation tracking through natural language.
The Vercel AI SDK gives every UniCourt tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 27 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Case Search — Search across millions of court cases using keyword expressions and filters
- Automated Tracking — Use
track_caseto monitor specific litigation and receive updates on a schedule - Normalized Data — Access structured profiles for attorneys, law firms, judges, and parties to perform deep background checks
- Document Management — Order court documents and export case data directly into your workflow
- Legal Analytics — Retrieve case counts and analytics to understand litigation trends
The UniCourt MCP Server exposes 27 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 27 UniCourt tools available for Vercel AI SDK
When Vercel AI SDK connects to UniCourt through Vinkius, your AI agent gets direct access to every tool listed below — spanning court-records, legal-research, litigation-tracking, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Delete pacer credential on UniCourt
Delete PACER account credentials
Generate token on UniCourt
Generate a new UniCourt access token
Get case on UniCourt
Get details for a specific case
Get case count analytics on UniCourt
Get case count analytics by case type
Get case export callback on UniCourt
Get the file URL for a completed case export
Get case update status on UniCourt
Check the status of a requested case update
Get document order callback on UniCourt
Get the file URL for a completed document order
Get norm attorney on UniCourt
Get analytics and details for a normalized attorney
Get norm judge on UniCourt
Get analytics and details for a normalized judge
Get norm law firm on UniCourt
Get analytics and details for a normalized law firm
Get norm party on UniCourt
Get analytics and details for a normalized party
Get pacer credential on UniCourt
Retrieve current PACER account credentials status
Import case on UniCourt
High-priority case import
Import pacer case on UniCourt
Import a case not in UniCourt via PACER
Order case document on UniCourt
Order a court document
Request case export on UniCourt
Request an export of case data as a ZIP file
Request case update on UniCourt
Request an asynchronous update for a case
Search cases on UniCourt
g., caseName:pfizer). Search for court cases
Search norm attorney on UniCourt
Search for normalized attorneys
Search norm judge on UniCourt
Search for normalized judges
Search norm law firm on UniCourt
Search for normalized law firms
Search norm party on UniCourt
Search for normalized parties
Search pacer case locator on UniCourt
Search PACER directly via Case Locator
Track case on UniCourt
Automatically update cases on a schedule
Track norm attorney on UniCourt
Schedule recurring bar source refreshes for an attorney
Track norm law firm on UniCourt
Schedule recurring source refreshes for a law firm
Update pacer credential on UniCourt
Manage PACER account credentials
Connect UniCourt to Vercel AI SDK via MCP
Follow these steps to wire UniCourt into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the UniCourt MCP Server
Vercel AI SDK provides unique advantages when paired with UniCourt through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same UniCourt integration everywhere
Built-in streaming UI primitives let you display UniCourt tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
UniCourt + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the UniCourt MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query UniCourt in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate UniCourt tools and return structured JSON responses to any frontend
Chatbots with tool use: embed UniCourt capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with UniCourt through natural language queries
Example Prompts for UniCourt in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with UniCourt immediately.
"Search for court cases with the keyword 'Apple Inc' and sort by filing date."
"Set up automated tracking for case ID 1205934 with a daily refresh."
"Get the professional analytics for attorney ID ATTY-98765."
Troubleshooting UniCourt MCP Server with Vercel AI SDK
Common issues when connecting UniCourt to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpUniCourt + Vercel AI SDK FAQ
Common questions about integrating UniCourt MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
NAICS/SIC Classification API
4 toolsSearch industry codes — audit NAICS and SIC via AI.

Dynamic (Web3 Auth)
8 toolsManage Web3 authentication and user data via Dynamic — fetch user profiles, check wallet sanctions, and manage sessions directly from any AI agent.

ConnectWise
9 toolsEquip your AI to seamlessly manage ConnectWise PSA tickets, clients, and technical documentation via text.

HubSpot Lead Creator
1 toolsThis MCP does exactly one thing: it extracts customer data from conversations and creates a new Contact in your HubSpot CRM. That's its only function. Incredible for turning your AI into an automated sales assistant.
