> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bigdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen Code MCP Integration

## Overview

[Qwen Code](https://qwen.ai/qwencode) is Alibaba's open coding agent that runs in your terminal and supports MCP servers natively. This guide walks you through setting up the Bigdata.com connector in Qwen Code using API Key authentication, so you can search financial news, resolve securities, and generate research reports directly from your terminal.

## Requirements

* An [Alibaba Cloud Model Studio](https://modelstudio.console.alibabacloud.com/ap-southeast-1) account and an API Key for a region (for instance, Singapore: `ap-southeast-1`).
* Qwen Code installed on your machine. You can download it from the [Qwen Code website](https://qwen.ai/qwencode) and follow the installation instructions for your operating system.

## Configuration Steps

<Steps>
  <Step title="Create a Bigdata API key">
    You can create your API Key in the [Developer Platform > API Keys](https://platform.bigdata.com/api-keys).

    <img src="https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=cf16d5701fa628a8ec548137caa2fa18" alt="Developer Platform > API Keys" data-og-width="1536" width="1536" data-og-height="689" height="689" data-path="images/authentication/api_key_settings.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=280&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=8cc7a63e03af48aaa3cb5d1f4d697128 280w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=560&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=1c74493718b528caf178749e536dc404 560w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=840&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=53a485901a8d4ea94b9d1c689d9255c4 840w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=1100&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=62c0768c1fbdcf18d17f9331b381ad4c 1100w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=1650&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=ef7be32d0790f9e1a1a9b2f03a8fe709 1650w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=2500&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=1311b4ec9fe05b5d341614768ceed10f 2500w" />

    <Tip>
      Ideally, store the API Key in your password manager, so you can access it in the future.
    </Tip>
  </Step>

  <Step title="Add the Bigdata.com MCP connector">
    The following command will register the Bigdata.com Remote MCP server in Qwen Code at the user scope, so it is available in every project. Replace `YOUR_API_KEY` with the key you created in the previous step.

    ```bash theme={null}
    qwen mcp add --scope user --transport http bigdata-com https://mcp.bigdata.com/ \
      --header "x-api-key: YOUR_API_KEY"
    ```
  </Step>

  <Step title="Verify the connection">
    Confirm the connector is registered and reachable by running:

    ```bash theme={null}
    qwen mcp list
    ```

    You should see `bigdata-com` listed with a `Connected` status.

    <img src="https://mintcdn.com/ravenpackinternational/H2A1cupf1inhnB9Y/images/mcp/api-integrations/qwen/verify-bigdata-mcp-connected.png?fit=max&auto=format&n=H2A1cupf1inhnB9Y&q=85&s=09c9a66d582564e34e728efa8d043777" alt="Bigdata.com MCP successfully connected in Qwen Code" width="500" data-path="images/mcp/api-integrations/qwen/verify-bigdata-mcp-connected.png" />
  </Step>

  <Step title="Try it out">
    Start a new Qwen Code session in your terminal:

    ```bash theme={null}
    qwen
    ```

    Then ask Qwen Code to use Bigdata to prepare research on any topic. For example:

    ```text theme={null}
    Using Bigdata, can you help me prepare for the earnings call of Broadcom?
    ```

    <img src="https://mintcdn.com/ravenpackinternational/H2A1cupf1inhnB9Y/images/mcp/api-integrations/qwen/qwen-prompt.png?fit=max&auto=format&n=H2A1cupf1inhnB9Y&q=85&s=50bc7fa61d93b9553064fede3692d23f" alt="Asking Qwen Code to prepare for the Broadcom earnings call" width="1444" height="484" data-path="images/mcp/api-integrations/qwen/qwen-prompt.png" />

    Qwen Code will call the Bigdata MCP tools during its reasoning loop, retrieve grounded financial content, and produce a structured briefing with analyst consensus, institutional activity, key risks, and suggested questions for the call.

    <img src="https://mintcdn.com/ravenpackinternational/H2A1cupf1inhnB9Y/images/mcp/api-integrations/qwen/qwen-prompt-output-1.png?fit=max&auto=format&n=H2A1cupf1inhnB9Y&q=85&s=ec6a0e430575054f6bee175776fbc47b" alt="Qwen Code earnings call briefing output" width="1732" height="1350" data-path="images/mcp/api-integrations/qwen/qwen-prompt-output-1.png" />

    You can then ask Qwen Code to turn the briefing into a PDF report:

    ```text theme={null}
    Can you create a pdf report?
    ```

    <img src="https://mintcdn.com/ravenpackinternational/H2A1cupf1inhnB9Y/images/mcp/api-integrations/qwen/qwen-prompt-pdf.png?fit=max&auto=format&n=H2A1cupf1inhnB9Y&q=85&s=3b12be5ab9ff8348dbb0e73434a11dcb" alt="Requesting a PDF report in Qwen Code" width="1768" height="1154" data-path="images/mcp/api-integrations/qwen/qwen-prompt-pdf.png" />

    Qwen Code will write and run a short script to generate the PDF and save it to your working directory.

    <img src="https://mintcdn.com/ravenpackinternational/H2A1cupf1inhnB9Y/images/mcp/api-integrations/qwen/qwen-prompt-pdf-output.png?fit=max&auto=format&n=H2A1cupf1inhnB9Y&q=85&s=4a397cc3c5880cfa57b4d420a767b313" alt="PDF report generated by Qwen Code" width="1840" height="666" data-path="images/mcp/api-integrations/qwen/qwen-prompt-pdf-output.png" />
  </Step>
</Steps>
