Metadata-Version: 2.4
Name: dataeyes-mcp-server
Version: 1.1.0
Summary: MCP server for DataEyes web search and reader API
Project-URL: homepage, https://dataeyes.ai
Project-URL: repository, https://github.com/dataeyesai/dataeyes-mcp-server
Author-email: Lysander <mgician3@gmail.com>
License: MIT License
        
        Copyright (c) 2025 DataEyes AI
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: httpx>=0.28.1
Requires-Dist: mcp[cli]>=1.26.0
Description-Content-Type: text/markdown

# DataEyes MCP Server

[![PyPI version](https://img.shields.io/pypi/v/dataeyes-mcp-server.svg)](https://pypi.org/project/dataeyes-mcp-server/)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

[中文版说明](README_zh.md)

An MCP server that provides web search and page reading capabilities through the [DataEyes](https://dataeyes.ai) API.

## Tools

- **search** — Search the web and get structured results.
- **read** — Fetch a web page and extract its content.

## Getting Your API Key

Register at [shuyanai.com](https://shuyanai.com) (中国站) or [dataeyes.ai](https://dataeyes.ai) (Global) to obtain your API key.

## Usage

### stdio

For local MCP clients (Cursor, Claude Desktop, etc.) using [uvx](https://docs.astral.sh/uv/guides/tools/):

#### Global

```json
{
  "mcpServers": {
    "dataeyes": {
      "command": "uvx",
      "args": ["dataeyes-mcp-server"],
      "env": {
        "DATAEYES_API_KEY": "your-api-key"
      }
    }
  }
}
```

#### 中国站

```json
{
  "mcpServers": {
    "dataeyes": {
      "command": "uvx",
      "args": ["dataeyes-mcp-server"],
      "env": {
        "DATAEYES_API_KEY": "your-api-key",
        "DATAEYES_API_BASE_URL": "https://api.shuyanai.com"
      }
    }
  }
}
```

| Environment Variable | Default | Description |
|---------------------|---------|-------------|
| `DATAEYES_API_KEY` | — | API key (required) |
| `DATAEYES_API_BASE_URL` | `https://api.dataeyes.ai` | API base URL |

### Streamable HTTP

No installation required. Connect directly to the hosted MCP endpoint:

#### Global

```json
{
  "mcpServers": {
    "dataeyes": {
      "url": "https://mcp.dataeyes.ai/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key"
      }
    }
  }
}
```

#### 中国站

```json
{
  "mcpServers": {
    "dataeyes": {
      "url": "https://mcp.shuyanai.com/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key"
      }
    }
  }
}
```

## License

This project is licensed under the [MIT License](LICENSE).
