Try Bifrost Enterprise free for 14 days.
Request access
[ HTTP MCP ]

How to Use Twelve Data MCP Server with Bifrost

Access real-time and historical financial market data from Twelve Data through MCP-compatible AI tools.

[ MCP SERVER SUMMARY ]

Twelve Data MCP server summary

Twelve Data's MCP server exposes real-time and historical market data, technical indicators, fundamentals, and news to AI assistants. The hosted endpoint handles login via browser OAuth; Bifrost keeps market-data tools behind virtual-key policies and audit logging.

PropertyDetails
CompanyTwelve Data
Connection typeHTTP
AuthenticationOAuth (hosted) or API key (local)
Package or endpointhttps://mcp.twelvedata.com/mcp
CapabilitiesRealtime and historical prices, 60+ technical indicators, Fundamentals earnings and news
Official documentationTwelve Data MCP documentation

Before you start

  • A Twelve Data account
  • OAuth for hosted MCP or an API key for local STDIO

What you can do with Twelve Data

  • Power financial research agents without embedding API keys in every client
  • Prefer hosted https://mcp.twelvedata.com/mcp for simplest setup
  • Scope indicator-heavy tools for cost control on metered plans
FinanceMarket Data

[ HOW TO CONNECT ]

Connect Twelve Data to Bifrost in three steps

1

Install Bifrost

Start the gateway locally or deploy in your VPC.

npx -y @maximhq/bifrost
2

Add Twelve Data in MCP Gateway

Open MCP Gateway in the Bifrost dashboard, click New MCP Server, and choose HTTP. Or register via the API below.

• Hosted cloud server is recommended: https://mcp.twelvedata.com/mcp with browser login.

• Local STDIO mode uses your Twelve Data API key — see the GitHub README Option 2.

3

Point clients at Bifrost /mcp

Configure Claude Desktop, Cursor, or Claude Code to use your Bifrost endpoint with a virtual key instead of connecting directly to Twelve Data.

{
  "mcpServers": {
    "bifrost": {
      "url": "http://localhost:8080/mcp",
      "headers": {
        "Authorization": "Bearer vk_your_virtual_key"
      }
    }
  }
}

[ EXAMPLE CONFIG ]

Register Twelve Data via API

Add this MCP client with a POST to /api/mcp/client. See Connecting to MCP Servers for full options.

curl -X POST http://localhost:8080/api/mcp/client \
  -H "Content-Type: application/json" \
  -d '{
    "name": "twelve-data",
    "connection_type": "http",
    "connection_string": "https://mcp.twelvedata.com/mcp",
    "auth_type": "oauth",
    "tools_to_execute": [
      "*"
    ]
  }'

[ WHY BIFROST ]

Run Twelve Data through one governed gateway

Access control

Virtual keys, RBAC, and tool allowlists per team or agent.

Cost governance

Attribute MCP tool spend alongside LLM usage in one view.

Observability

Log every tool call with latency, server, and virtual key metadata.

Credential isolation

Upstream secrets stay in the gateway — not on every laptop.

[ FAQ ]

Common questions

What does the Twelve Data MCP server do?

Twelve Data exposes realtime and historical prices, 60+ technical indicators, fundamentals earnings and news to MCP-compatible AI clients. Bifrost connects to it as an upstream MCP client and exposes approved tools through one governed /mcp endpoint.

How does Twelve Data authenticate when used with Bifrost?

Twelve Data uses OAuth (hosted) or API key (local). Store credentials in Bifrost's environment or credential configuration so they stay at the gateway instead of being copied into every AI client.

Can Claude Desktop, Cursor, or Claude Code use Twelve Data through Bifrost?

Yes. After registering Twelve Data in Bifrost, point any HTTP MCP-compatible client at the Bifrost /mcp endpoint and authenticate with a virtual key. The client sees only the tools allowed for that key.

[ MCP GATEWAY ]

One gateway for Twelve Data and every other MCP server

Bifrost MCP Gateway gives you tool-level access control, audit logs, and up to 92% lower token costs when agents orchestrate multiple tools.