Using Daloopa's MCP Server

Get started with the Daloopa's MCP server

Introduction

What is MCP?

Model Context Protocol (MCP) is an open standard that creates a unified way for large language models to connect with external applications and data sources. Rather than having each AI system use different methods to access tools and information, MCP establishes a common framework for these interactions. This protocol enables bidirectional communication, allowing AI models not only to retrieve data from various sources but also to perform actions within connected applications. Essentially, MCP serves as a standardized interface that streamlines how AI agents work with external resources and tools.

Daloopa's MCP

Daloopa’s MCP allows our best-in-class data to be flexibly and securely accessed by LLMs, for use in various AI applications. Our MCP enables LLMs to communicate effectively with our database and gives systematic instructions to our client’s LLM on how to query and pull our data into their systems. This means that LLM’s can efficiently digest Daloopa’s vast and deep fundamental database, without overloading their system, saving our clients significant time and resources. AI agents won’t spend time generating inaccurate data, and can focus on generating actionable insights instead.

Highlights

  • Remote MCP using Streamable HTTP Protocol with a URL that integrates into your LLM
  • Compatible with all LLMs that follow MCP Standard Protocol (Claude 4 and OpenAI LLM APIs)
  • Source location mapped to every output derived from a Daloopa data point.
  • Three tools that enable your AI agent to:
    • Find all companies covered by Daloopa;
    • Search for specific series, metrics and line items for target companies;
    • Fetch values of identified series.

Server

Remote Daloopa's MCP Server URL: https://mcp.daloopa.com/server/mcp

To integrate the Daloopa MCP server with compatible applications, configure your MCP client using the provided server URL. This remote server connection enables direct access to Daloopa's comprehensive financial database through the standardized MCP protocol.

Available Tools

discover_companies: Locates companies within the Daloopa financial database by searching with either stock ticker symbols or company names. This function returns essential company information including the ticker symbol, complete corporate name, and unique company identifier required for accessing detailed financial data.

discover_company_series: Retrieves the complete catalog of available financial metrics and data series for a specified company. Using the company's unique identifier and relevant search terms, this tool displays all accessible financial series along with their corresponding metric IDs, enabling targeted data extraction to streamline the data processing.

get_fundamentals_data: Extracts comprehensive financial fundamentals for a company across selected time periods and specific metrics. This function delivers detailed financial information and values spanning Income Statements, Balance Sheets, Cash Flow Statements, and additional financial metrics, allowing for thorough financial analysis and trend evaluation.

Authentication

OAuth

The Daloopa MCP server implements MCP OAuth Specification. When configuring the server connection, users will be redirected to a Daloopa authentication page where they can enter their username and password credentials.

MCP OAuth Login Page

Upon successful authentication, the system generates a bearer token that must be included in the request headers for all subsequent tool calls and redirects to the provided redirect URL. This OAuth flow ensures secure access to financial data while maintaining compliance with MCP authorization standards.

For more details on the OAuth flow to Authenticate at Daloopa MCP, please check Daloopa OAuth API

API Key and Bearer Token

For users who possess a Daloopa API Key, an alternative authentication method is available through direct token generation. By making a POST request to Generate Token with their existing API Key, users can obtain a bearer token without going through the OAuth flow.

These generated tokens remain valid for 24 hours, after which a new token must be requested.

Integrations

Claude

Step 1: Manage Integrations

Go to https://claude.ai/settings/integrations to manage your Claude integrations.

If you are part of an organization, you may need your administrators to set up the integration before you can use it.

Step 2: Add Integration

Click on "Add Integration" and add our remote MCP server details. Please use https://mcp.daloopa.com/server/mcp as the server URL. Integration name can be according to user's preference.

Step 3: Enable Daloopa MCP

Go to New Chat in Claude and click Connect in the Search and Tools menu.

Step 4: Login at Daloopa

When connecting to the Daloopa MCP server, Claude will automatically redirect you to the Daloopa MCP Login Page. Simply enter your registered Daloopa email address and password on this authentication page. Upon successful login verification, you'll be redirected back to Claude with full authentication established for the Daloopa MCP connection.

Step 5: Verify Enabled Tools

Back to Claude, you can verify if all Daloopa MCP tools are correctly available.

You are ready to use Daloopa MCP with Claude!

OpenAI LLM API

To integrate the Daloopa MCP server with OpenAI LLM API, you'll need both an OpenAI API Key and a Daloopa Bearer Token. The Daloopa token can be obtained through either the OAuth authentication flow or by generating one using your existing Daloopa API key.

This integration allows OpenAI LLM to access Daloopa's financial database through the standardized MCP protocol.

Example using Python:

from openai import OpenAI

# Your Open AI APIKey
OPEN_AI_APIKEY = ""

# Daloopa Generated MCP Token
DALOOPA_MCP_TOKEN = ""

client = OpenAI(api_key=OPEN_AI_APIKEY)

response = client.responses.create(
  model="gpt-4.1",
  input=[],
  text={
    "format": {
      "type": "text"
    }
  },
  reasoning={},
  tools=[
    {
      "type": "mcp",
      "server_label": "Daloopa",
      "server_url": "https://mcp.daloopa.com/server/mcp",
      "headers": {
        "Authorization": f"Bearer {DALOOPA_MCP_TOKEN}"
      },
      "allowed_tools": [
        "discover_companies",
        "discover_company_series",
        "get_company_fundamentals"
      ],
      "require_approval": "never"
    }
  ],
  temperature=1,
  max_output_tokens=2048,
  top_p=1,
  store=True
)

Feedback and Support

If you have any feedback, suggestions or questions, please contact us.