Bring Statutes
to Mastra AI
Create your Vinkius account to connect BCLaws API to Mastra AI and start using all 6 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the BCLaws API MCP Server?
Empower your AI agent to orchestrate your entire legal research and legislative auditing workflow with BCLaws API, the authoritative source for British Columbia statutes and regulations. By connecting BCLaws to your agent, you transform complex legal lookups into a natural conversation. Your agent can instantly search for specific laws, audit statute details, and retrieve consolidated regulations without you ever touching a manual database. Whether you are conducting legal due diligence or monitoring regulatory changes, your agent acts as a real-time legislative assistant, ensuring your data is always grounded in official, government-verified records.
What you can do
- Legal Auditing — Search for British Columbia statutes and regulations by keyword and retrieve detailed metadata, including official identifiers.
- Statute Oversight — Retrieve full details for specific statutes to maintain a clear view of legislative language and history.
- Regulation Discovery — Query provincial regulations to understand the legal constraints and requirements for any activity instantly.
- Act Monitoring — List all available Acts in the BCLaws database to identify relevant legislative frameworks for your research.
- Consolidation Intelligence — Retrieve consolidated statutes and regulations to maintain strict control over current legal versions.
How it works
- Subscribe to this server
- No API Key required (BCLaws is a public and free service)
- Start managing your legal intelligence through Claude, Cursor, or any MCP-compatible client
Who is this for?
- Legal Professionals — monitor statutes and retrieve regulatory metadata straight from your workflow.
- Policy Analysts — verify legislative changes and audit provincial laws without manual database searches.
- Researchers — perform rapid audits of BC regulations and identify key legal markers through natural language.
- Operations Leads — automate legal data querying to orchestrate cross-functional compliance teams smoothly.
Built-in capabilities (6)
Check if the BCLaws API is operational
Get details for a specific British Columbia regulation
Get details for a specific British Columbia statute
List all available Acts in the BCLaws database
List consolidated statutes and regulations
Search for British Columbia statutes and regulations
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and BCLaws API tool infrastructure. Connect 6 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add BCLaws API without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every BCLaws API tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
BCLaws API in Mastra AI
Why run BCLaws API with Vinkius?
The BCLaws API connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 6 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect BCLaws API using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
BCLaws API and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect BCLaws API to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
BCLaws API for Mastra AI
Every request between Mastra AI and BCLaws API is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Is an API Key required for BCLaws API?
No. BCLaws API is a public and free service provided by the Queen's Printer for British Columbia. This server works without static credentials.
What types of laws are included?
The database includes public statutes, regulations, and private acts for the province of British Columbia, Canada.
Is consolidated legislation available?
Yes. Use the list_consolidated_laws tool to access the current consolidated versions of statutes and regulations.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
OpenTHC
12 toolsAutomate cannabis compliance via OpenTHC — track plants, manage inventory, query lab results, and handle B2B/B2C transactions directly from any AI agent.

Superblocks
7 toolsBuild and manage internal tools and workflows — list applications, manage configurations, and generate secure embed tokens directly from your AI agent.

ThoughtSpot
7 toolsSearch and analyze business data by interacting directly with your ThoughtSpot metadata and Liveboards via your AI agent.

Increase
12 toolsYour very own programmatic commercial bank. Construct completely new bank accounts, fetch balance ledgers, map Routing numbers and fire wire limits.
