Metadata-Version: 2.5
Name: hpyzs-mcp
Version: 0.4.0
Summary: 环评云助手 MCP 服务 - 提供环保法规标准检索、排放查询等 MCP 工具
Project-URL: Homepage, https://mcp.eiacloud.com
Author-email: eiacloud <wulang@eiacloud.com>
License-Expression: MIT
Keywords: eia,environmental,mcp
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: fastmcp>=2.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: python-dotenv>=1.0.0
Description-Content-Type: text/markdown

# 环评云助手 MCP 服务 (hpyzs-mcp)

本项目作为 MCP 工具定义层，通过请求头携带 `Authorization` 获取结果。

## 服务架构

| Server 名称 | 说明 | 工具 |
|---|---|---|
| `search-lawstandard-keyword` | 法规导则-关键词检索 | `search_keyword_policy`、`search_keyword_standard` |
| `search-lawstandard-semantic` | 法规导则-语义检索 | `search_nationwide_semantic_policy`、`search_nationwide_semantic_standard`、`search_semantic_province_sta_pol` |
| `search-qa` | 问答检索 | `search_keyword_qa`、`search_semantic_qa` |
| `query-emission` | 排放限值查询 | `query_emission_water_place`、`query_emission_water_country`、`query_emission_gas_place`、`query_emission_gas_country` |

部署后统一域名：`https://mcp.eiacloud.com`，每个 server 对应一个路径。

## MCP 客户端配置

```json
{
  "mcpServers": {
    "hpyzs-search-lawstandard-keyword": {
      "url": "https://mcp.eiacloud.com/search-lawstandard-keyword",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    },
    "hpyzs-search-lawstandard-semantic": {
      "url": "https://mcp.eiacloud.com/search-lawstandard-semantic",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    },
    "hpyzs-search-qa": {
      "url": "https://mcp.eiacloud.com/search-qa",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    },
    "hpyzs-query-emission": {
      "url": "https://mcp.eiacloud.com/query-emission",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    }
  }
}
```