4,500+ servers built on MCP Fusion
Vinkius
Twelve Data logo
Vinkius
OpenAI Agents SDK logo

How to Use the Twelve Data MCP in OpenAI Agents SDK

Build production financial agents with OpenAI Agents SDK. Get real data actions without config hassle.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect Twelve Data MCP to OpenAI Agents SDK

Create your Vinkius account to connect Twelve Data to OpenAI Agents SDK 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

Get Real-Time Pricing Data

Use `get_quote` to pull the current stock price instantly. This tool gives you live quotes, so your agents always work with fresh data. Want something faster? Try `get_real_time_price`. It’s lighter than a full quote and perfect for high-frequency operations in your deployed agent system.

Analyze Market Trends

You can calculate key indicators to spot market shifts. For example, `get_rsi` tells you if something is overbought (above 70) or oversold (below 30). This helps your agent make smarter trade decisions. Need a longer view? Use `get_macd`. It tracks momentum and trend following, which is crucial for complex financial workflows run by the MCP Server.

Find Financial Instruments

Don't know what symbol you need? Run `search_symbols` to filter by instrument type or exchange. This helps your agents locate specific assets before fetching data. Need a list of options first? Call `get_stock_list`. You can even narrow it down by an exchange, making the whole process much tighter for your AI client.

Setup guide

Set up Twelve Data MCP in OpenAI Agents SDK

Prerequisites

  • Python 3.10+ installed
  • openai-agents package (pip install openai-agents)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install the SDK

    Run pip install openai-agents to install the OpenAI Agents SDK. The MCP integration is built-in — no extra dependencies needed.

  2. 2

    Connect via SSE transport

    Use MCPServerSse with your Vinkius endpoint URL. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. The SDK auto-discovers all Twelve Data tools at runtime.

  3. 3

    Create your Agent

    Pass the MCP to Agent(mcp_servers=[server]). The agent receives Twelve Data tools as native definitions — JSON schemas resolve automatically.

  4. 4

    Run the agent

    Call Runner.run(agent, prompt) to execute. The agent invokes the appropriate Twelve Data tools and returns structured results. Copy the full example on the right to get started.

agent.py
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerSse

async def main():
    async with MCPServerSse(
        url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ) as server:
        agent = Agent(
            name="Twelve Data Agent",
            instructions="You have access to Twelve Data tools.",
            mcp_servers=[server],
        )
        result = await Runner.run(agent, "List recent transactions")
        print(result.final_output)

asyncio.run(main())

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Twelve Data. 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 Twelve Data MCP in OpenAI Agents SDK

You pass the MCP Server instance directly to the Agent constructor. Since agents auto-discover tools, you just need to point it at the server endpoint. Your guardrails will then validate all actions before they run.
Yes. You can use `get_crypto_list` to find available pairs, and then other pricing tools handle the data. The entire flow runs through the MCP Server, which is designed for production deployment.
The server handles real-time stock quotes, historical OHLCV candle data via `get_time_series`, and currency exchange rates. You're working with live pricing information.
Just use the `convert_currency` tool. It takes an amount and converts it between two specified currencies, keeping your agent's data consistent globally.
Absolutely. You can list available pairs using `get_forex_list`, and then fetch current rates with `get_exchange_rate`. This keeps your foreign exchange calculations clean.

Start using the Twelve Data MCP today

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

Built & Managed by Vinkius 30s setup 16 tools

We've already built the connector for Twelve Data. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 16 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.