semvec/pypi-packages huggingface dataset:
minimax-qa-mcp 0.2.0
QA agent service 集合
Requires Python: >=3.10

# QA - agent service 集合

## 项目结构
- `server.py`: MCP接口定义和服务启动入口
- `src/`: 核心功能模块实现
- `conf/`: 配置文件
- `utils/`: 工具函数
- `logs/`: 日志文件夹

## 功能特性
1. 天气服务(demo)：
   - 获取美国各州天气警报信息
   - 基于经纬度获取天气预报

2. 日志检索服务：
   - 从Grafana获取各业务服务的日志
   - 支持按关键字、时间等条件筛选
   - 支持获取服务接口列表

## 环境配置与启动

项目现在使用ux进行构建和打包，提供了多种安装运行方式。

### 1. 从PyPI安装

```shell
# 直接从PyPI安装
pip install minimax-qa-mcp

# 运行服务
minimax-qa-mcp
```

### 2. 开发模式

```shell
# 安装依赖
pip install ux
pip install -r requirements.txt

# 开发模式运行
bash run.sh
# 或
ux run
```

### 3. 构建与发布

```shell
# 构建项目
bash build.sh

# 发布到PyPI
bash publish.sh
```

### 4. 查看启动
```
本地生成 log/agent_log.log文件，且打印 
INFO:     Uvicorn running on http://0.0.0.0:8888 (Press CTRL+C to quit)
```

### 5. 集成到MCP客户端

#### curl
 ```shell
http://0.0.0.0:8888/sse
 ```

#### Python模块方式
```shell
python -m minimax_qa_mcp.server
```

#### Claude Desktop 配置
```json
{
    "agent_name": {
      "command": "minimax-qa-mcp",
      "args": ["--host", "0.0.0.0", "--port", "8888"]
    }
}
```

## API 说明

### 天气服务(demo)
- `get_alerts(state)`: 获取指定州的天气警报
- `get_forecast(latitude, longitude)`: 获取指定位置的天气预报

### 日志服务
- `get_grafana_data(scene, psm, msg, from_time, to_time)`: 获取业务的grafana日志
- `get_top_methods(scene, psm)`: 获取服务存在调用的接口列表
- `get_http_data(scene, psm, api_path, from_time, to_time)`: 获取业务http接口流量日志
- `query_code_segments(query, query_type, limit, exact, advanced, depth, direction, output)`: 查询代码片段
- `gen_case(input_data, pwd)`: 生成link_case
- `get_weaviate_info(input_data)`: 获取业务相关信息
fix-commbank-ofx 0.1.3
Fix Commbank OFX files
Requires Python: >=3.9
Keywords: Commonwealth Bank, commbank, ofx

# Fix CommBank OFX

CommBank produces non-conformant OFX files by omitting the FITID field
for Credit Interest transactions. This prevents the files from being
imported by spec-conformant software such as ofxtools or Zoho Books.

This script fixes the non-conformant CommBank OFX files by replacing the
missing FITID field values with the transaction date and the memo value.
Because credit interest is only paid monthly, this is sufficient to
ensure that the replacement FITID field is a valid unique identifier
which can be used for its intended purpose of identifying duplicate
transactions when importing statements.

## Install

Install from PyPI with pip:

    pip install fix-commbank-ofx

## Usage

After installing the package, run the script as follows:

    fix-commbank-ofx path/to/file.ofx

This will create a fixed file at:

    path/to/file-fixed.ofx
calculator-mcp 0.1.4
MCP server that gives you calculator tools
Requires Python: >=3.10

# Calculator MCP - Learning Project

This project, `calculator-mcp`, was built for learning purposes. It provides an MCP (Multi-Agent Communication Protocol) server that exposes basic calculator tools. These tools can be integrated with other systems, such as LangGraph agents.

The server gives you access to the following calculator tools:
1.  `add(a: float, b: float) -> float`
2.  `subtract(a: float, b: float) -> float`
3.  `multiply(a: float, b: float) -> float`
4.  `divide(a: float, b: float) -> float`

## Installation

You can install the `calculator-mcp` package directly using pip:

```bash
pip install calculator-mcp
```


## Usage with LangGraph

You can use `calculator-mcp` as a tool within a LangGraph agent.

1.  **Create a Python script to run the MCP server (e.g., `cal_mcp.py`):**

    ```python
    # cal_mcp.py
    from calculator_mcp import serve

    if __name__ == "__main__":
        serve()
    ```

2.  **Configure the tool in your LangGraph agent:**

    ```python
    # Example LangGraph tool configuration
    tools_config = {
        "calculator": {
            "command": "python",
            # Replace with the absolute path to your cal_mcp.py file
            "args": ["/path/to/your/cal_mcp.py"],
            "transport": "stdio",
        }
    }
    ```

**Author:** Azam Afridi (azamafridi.ai@gmail.com)
**Version:** 0.1.4
**Python:** >=3.10