See something wrong? Email us at support@meyka.com

Meyka MCP Server

Connect Claude, Cursor, or any LLM directly to Meyka's real-time stock market data using the Model Context Protocol (MCP) — no code required.

Protocol: MCP (Model Context Protocol)
Transport: SSE (Server-Sent Events)
Base URL: https://api.meyka.com/mcp

🔌 Zero Setup

Paste one URL and your AI agent gains instant access to 13 stock tools

📈 Real-Time Data

Live quotes, analyst ratings, earnings, dividends, and more

💳 Pay Per Use

Each tool call deducts a small amount from your balance

🤖 Any LLM

Works with Claude, Cursor, or any MCP-compatible agent

How It Works

MCP is an open standard introduced by Anthropic that lets AI agents connect to external data sources without custom glue code. Think of it as a universal plug between your LLM and live data.

When you connect your LLM to Meyka's MCP server, the agent automatically discovers all available stock tools, knows what parameters each tool needs, and can call them on demand while answering your questions — all billed per use against your Meyka balance.

Your API key is passed in the URL. Each request is authenticated and billed automatically. No separate API calls or configuration needed.

Get Started

  1. Sign up at meyka.com and log in to your dashboard.
  2. Go to Billing and add credits to your account.
  3. Go to API Keys, click Create Key, give it a name, and copy your token.
  4. Use your token to build the connection URL below.

Your Connection URL

https://api.meyka.com/mcp?apikey=YOUR_API_KEY
Keep your API key private. Anyone with your key can use your balance. Never share it publicly or commit it to version control.

Connect to Claude Desktop

  1. Open Claude Desktop and go to Settings.
  2. Click Connectors in the left sidebar.
  3. Click Add custom connector.
  4. Paste your connection URL into the Remote MCP Server URL field.
  5. Give it a name like Meyka Stock Data and click Add.
  6. Start a new chat. Meyka's tools are now available.

Try It

Once connected, ask Claude anything like:

"What is the current price and analyst rating for Apple?"
"Show me the top gainers in the US market today."
"What earnings reports are coming up this week?"
"Get me the latest insider trades for Tesla."

Connect via Python

Use the fastmcp library to connect programmatically and call tools directly.

pip install fastmcp
import asyncio
from fastmcp import Client

async def main():
    url = "https://api.meyka.com/mcp?apikey=YOUR_API_KEY"

    async with Client(url) as client:
        # List all available tools
        tools = await client.list_tools()
        for tool in tools:
            print(tool.name, "-", tool.description)

asyncio.run(main())
import asyncio
from fastmcp import Client

async def main():
    url = "https://api.meyka.com/mcp?apikey=YOUR_API_KEY"

    async with Client(url) as client:
        # Get full stock details for Apple
        result = await client.call_tool(
            "get_comprehensive_stock_details",
            {"symbol": "AAPL"}
        )
        print(result)

        # Screen for top gainers
        gainers = await client.call_tool(
            "screen_stocks",
            {"signal": "top_gainers", "country": "USA"}
        )
        print(gainers)

asyncio.run(main())

Available Tools

Your LLM gets instant access to all 13 tools when connected. It discovers them automatically.

Tool Description
search_stocks_by_name_or_symbol Search for a stock by company name or partial symbol
get_comprehensive_stock_details Full analysis — price, targets, financials, Meyka grade
get_stock_grade_info_by_symbol Analyst grades and ratings from rating agencies
get_price_target_info_by_symbol Analyst price targets and predictions
get_upgrade_downgrade_info_by_symbol Recent analyst upgrades and downgrades
get_stock_news_info_by_symbol Latest news for a stock or the broader market
get_earnings_calendar Upcoming and past earnings reports
screen_stocks Screen by signal: top gainers, losers, overbought, unusual volume, and more
get_sector_performance_info Performance data by market sector
get_insider_transactions Insider buying and selling activity
get_dividend_calendar Dividend events, yield, and payment dates
get_economic_calendar Economic events: CPI, GDP, interest rate decisions
get_market_overview Full market snapshot — indices, sentiment, heatmap

Billing

Each tool call deducts a small amount from your Meyka account balance based on token usage. You can top up anytime from your Billing dashboard.

If your balance hits zero, tool calls return an error with a clear message asking you to add credits. No surprise charges — you only pay for what you use.

Check your current balance and transaction history any time at api.meyka.com/me/billing.

Errors

Error Cause Fix
401 Unauthorized Missing or invalid API key Check your key at API Keys
402 Insufficient Balance Account balance is zero Add credits at Billing
500 Server Error Unexpected server issue Retry the request or contact support

Need Help?

Our support team is ready to help you get connected.

Email Support