semvec/pypi-packages huggingface dataset:
click-mcp-server 0.1.0
MCP server for any Click command line tool
Requires Python: >=3.10
Keywords: ai, cli, click, mcp

# Click MCP Server

| | |
| --- | --- |
| CI/CD | [![CI - Test](https://github.com/ofek/click-mcp-server/actions/workflows/test.yml/badge.svg)](https://github.com/ofek/click-mcp-server/actions/workflows/test.yml) [![CD - Build](https://github.com/ofek/click-mcp-server/actions/workflows/build.yml/badge.svg)](https://github.com/ofek/click-mcp-server/actions/workflows/build.yml) |
| Docs | [![Docs](https://github.com/ofek/click-mcp-server/actions/workflows/docs.yml/badge.svg)](https://github.com/ofek/click-mcp-server/actions/workflows/docs.yml) |
| Package | [![PyPI - Version](https://img.shields.io/pypi/v/click-mcp-server.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/click-mcp-server/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/click-mcp-server.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/click-mcp-server/) |
| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/ofek/click-mcp-server) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/ofek) |

-----

This provides an extensible [MCP](https://modelcontextprotocol.io) server that is compatible with any command line application that is based on [Click](https://github.com/pallets/click).

## Installation

```console
pip install click-mcp-server
```

## Documentation

The [documentation](https://ofek.dev/click-mcp-server/) is made with [Material for MkDocs](https://github.com/squidfunk/mkdocs-material) and is hosted by [GitHub Pages](https://docs.github.com/en/pages).

## License

`click-mcp-server` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
mcp-stock-calculator 0.1.2
A股技术指标计算器 - 提供MACD, RSI, KDJ, BOLL等常用技术指标计算
Requires Python: >=3.7
Keywords: stock, technical indicator, a-share, chinese stock, finance

# mcp_stock_calculator

A股技术指标计算器，提供MACD, RSI, KDJ, BOLL, OBV, ATR等指标计算，并生成投资建议。

## 功能特性

- 支持多种技术指标计算
- 提供智能投资建议
- 生成适合大模型分析的提示词
- 简单的RESTful API服务

## 安装

```bash
pip install mcp_calculator_kel
debug-agent 0.1.1
Add your description here
Requires Python: >=3.12

# DebugAgent

A barebone MVP of an agent-based python debugger.
The system is built on top of PDB, the official python debugger.

For the moment, two main things happen:

1. The Output of the Pdb debugger becomes the input of the Agent, and viceversa;
2. The Agent's actions are limited by a custom Python Interpreter(kindly borrowed from the smolagents library), that limits the harm of the Agent.


This is not by any mean a finished application, but it seems to be working incredebily good as is.

## How to use it

The user experience is straight forward:

Clone the package and install(a PyPi version is coming in the future)
```
git clone https://github.com/marcoslashpro/DebugAgent && cd DebugAgent
uv pip install -e .
```
That's it for the installation, now you should a `debug_agent` package from where you can import the agent.

The intended use is as a decorator on the risky function, like this:
```
from debug_agent import Agent

@Agent
def some_risky_function():
  return 'hello' / 10
```
Once the function raises an exception, then the decorator will launch the post-mortem analysis of the code.
The Agent will then start interacting with the debugger, using its commands to analyze the error, outputting a summary of the task at the end of the debugging session.

Optionally, you can also provide parameters to the decorator, which allows us to set a `temperature` for the model, the `n_steps` that the agent should take, and the `model_id`, in order to specify a different model.

Keep in mind tho, that for the moment, the only models available are the one that can be used through the ChatHuggingFace Langchain interface.

## Considerations

For the moment, the agent seems to perform pretty well on minor errors, such as ZeroDivisionErrors, TypeError, ValueErrors, while showcasing the ability to dig into the stacktrace in order to find where the error originated from. I think that, as the prompt improves and, if we get to that point, with some debugging-specific fine-tuning, this could become a valuable application for python developers.

# Happy Coding!
And come back to me, if you find any problems while using the debugger.