open-index/open-npm huggingface dataset:
npm package: @hsalameh/gitclone
Description: A command that clones a given branch of an existing git repo and puts the clone next to the existing repo.
Author: hsalameh
Latest version: 1.0.3

# @hsalameh/gitclone

A command that clones a given branch of an existing git repo and puts the clone next to the existing repo.

## Installation

Install the package globally using npm (compatible with Windows, Linux, and macOS):

```bash
npm install -g @hsalameh/gitclone
```

## Usage

### Clone a Branch

```bash
gitclone [branch-name]
```

#### Description

Clone the current repository to a new directory named after the cloned branch. If a directory with that name already exists, a number is appended to make it unique. The new clone is placed in the parent directory of the current repository.

#### Options

- `[branch-name]` - Specify the branch to clone. If omitted, the current branch is cloned.

#### Examples

- `gitclone` - Clone the current branch and append a number if the directory already exists.
- `gitclone feature` - Clone the 'feature' branch and append a number if the directory already exists.

## Features

- Cross-platform support (Windows, Linux, macOS).
- Automatically determines the repository root and parent directory.
- Provides meaningful error messages for common Git issues.

## License

MIT
npm package: @hsb9291/hsb-reverse-string
Description: Reverses a string
Author: hsb9291
Latest version: 1.0.0

# reverse-string
Reverses the string.
## Install
```sh
npm install @hsb9291/reverse-sentence
```
## API
```js
require("reverse-sentence") => Function
reverse(sentence) => String
```
## Example
```js
const reverseString = require("reverse-string");
const string = "Hello World!"; 
const reversed = reverseString(string); 
console.log(reversed) // !dlroW olleH
```
## License
MIT
npm package: @hsbase/dify-knowledge-mcp
Description: MCP Server for Dify Knowledge Base - Query Dify datasets directly from AI assistants like Cursor and Claude
Author: yupeng39678
Latest version: 1.0.1

# @hsbase/dify-knowledge-mcp

MCP Server for Dify Knowledge Base - Query Dify datasets directly from AI assistants like Cursor and Claude.

## Quick Start

```bash
npx @hsbase/dify-knowledge-mcp
```

## Installation

### Global Install (Optional)

```bash
npm install -g @hsbase/dify-knowledge-mcp
```

## Configuration

### Cursor

Add to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "dify-knowledge": {
      "command": "npx",
      "args": ["-y", "@yupeng39678/dify-knowledge-mcp"],
      "env": {
        "DIFY_BASE_URL": "http://your-dify-server",
        "DIFY_DATASET_API_KEY": "dataset-xxxxx",
        "DIFY_DATASET_ID": "your-dataset-id"
      },
      "timeout": 120
    }ƒ
  }
}
```

### Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS):

```json
{
  "mcpServers": {
    "dify-knowledge": {
      "command": "npx",
      "args": ["-y", "@yupeng39678/dify-knowledge-mcp"],
      "env": {
        "DIFY_BASE_URL": "http://your-dify-server",
        "DIFY_DATASET_API_KEY": "dataset-xxxxx",
        "DIFY_DATASET_ID": "your-dataset-id"
      }
    }
  }
}
```

## Environment Variables

| Variable | Description | Required |
|----------|-------------|----------|
| `DIFY_BASE_URL` | Dify server URL (e.g., `http://localhost` or `https://api.dify.ai`) | ✅ |
| `DIFY_DATASET_API_KEY` | Dataset API Key from Dify (starts with `dataset-`) | ✅ |
| `DIFY_DATASET_ID` | Knowledge base Dataset ID (UUID format) | ✅ |

### How to Get These Values

1. **DIFY_BASE_URL**: Your Dify instance URL
2. **DIFY_DATASET_API_KEY**: Go to Dify → Knowledge → Settings → API Access → Copy the Dataset API Key
3. **DIFY_DATASET_ID**: Go to Dify → Knowledge → Select your dataset → Copy the ID from URL

## Available Tools

| Tool | Description |
|------|-------------|
| `search_knowledge` | Search the knowledge base with keywords |
| `ask_knowledge` | Ask questions and get detailed answers from the knowledge base |
| `reset_conversation` | Reset conversation history and start fresh |

## Examples

Once configured, you can use these tools in Cursor or Claude:

- "Search the knowledge base for dynamic column configuration"
- "Ask the knowledge base how to set up workflows"
- "Find documentation about element management"

## License

MIT

## Author

yupeng39678
npm package: @hsbase/mysql-mcp
Description: MCP Server for MySQL Database - Query MySQL databases directly from AI assistants like Cursor and Claude
Author: yupeng39678
Latest version: 1.0.0

# MySQL MCP Server

一个强大的 MCP 服务器，提供对 MySQL 数据库的直接访问。该服务器使 AI 助手能够与 MySQL 数据库交互、执行 SQL 查询，并通过简单的接口管理数据库内容。

## 功能特性

### 资源 (Resources)
- 通过 `note:///{id}` URI 访问数据库中存储的笔记
- 每个笔记都有标题和内容
- 纯文本 MIME 类型，便于内容访问

### 工具 (Tools)
- `create_note` - 在数据库中创建新的文本笔记
  - 需要标题和内容作为必需参数
  - 将笔记存储在 MySQL 数据库中
- `list_tables` - 列出连接数据库中的所有表
- `count_tables` - 获取数据库中的表总数
- `search_tables` - 使用 LIKE 模式搜索表
- `describe_table` - 获取特定表的结构
- `execute_sql` - 执行自定义 SQL 查询

## 前置要求

- Node.js 18 或更高版本
- MySQL 服务器已安装并运行
- 具有适当权限的数据库

## 安装

### 通过 npm 安装

```bash
npm install -g @hsbase/mysql-mcp
```

或者使用 npx（推荐）：

```bash
npx -y @hsbase/mysql-mcp
```

## 配置

### 在 Cursor 中使用

在 Cursor 的 MCP 配置文件中添加服务器配置：

**配置文件位置**: `~/.cursor/mcp.json`

```json
{
  "mcpServers": {
    "mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hsbase/mysql-mcp"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_USER": "your_username",
        "MYSQL_PASSWORD": "your_password",
        "MYSQL_DATABASE": "your_database"
      },
      "timeout": 90
    }
  }
}
```

### 在 Claude Desktop 中使用

在 Claude Desktop 配置文件中添加服务器配置：

**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows**: `%APPDATA%/Claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@hsbase/mysql-mcp"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_USER": "your_username",
        "MYSQL_PASSWORD": "your_password",
        "MYSQL_DATABASE": "your_database"
      }
    }
  }
}
```

## 使用示例

安装后，您可以在与 AI 助手的对话中使用 MySQL MCP 服务器：

### 列出数据库中的所有表
```
请列出我的 MySQL 数据库中的所有表。
```

### 执行 SQL 查询
```
运行这个 SQL 查询：SELECT * FROM users LIMIT 5
```

### 创建笔记
```
创建一个标题为"会议记录"的笔记，内容为"讨论了项目时间表并分配了任务。"
```

### 搜索表
```
搜索包含 'user' 的表名
```

### 查看表结构
```
显示 users 表的结构
```

## 环境变量

| 变量名 | 描述 | 必需 |
|--------|------|------|
| `MYSQL_HOST` | MySQL 服务器主机地址 | 是 |
| `MYSQL_USER` | MySQL 用户名 | 是 |
| `MYSQL_PASSWORD` | MySQL 密码 | 是 |
| `MYSQL_DATABASE` | 要连接的数据库名 | 是 |

## 开发

### 本地开发

```bash
git clone <repository-url>
cd mysql-mcp-server-publish
npm install
npm start
```

## 许可证

MIT

## 作者

yupeng39678
npm package: @hsborges/dependencies-analyzer
Description: Dependencies analyzer is a tool for extracting the history evolution of the dependencies described in the package.json and bower.json.
Author: Hudson Silva Borges
Latest version: 1.4.0

# Dependencies Analyzer

Dependencies analyzer is a tool for extracting the history evolution of the dependencies described in the package.json and bower.json.

## Installation

Use the package manager [npm](https://www.npmjs.com/get-npm) to install foobar.

```bash
npm install -g @hsborges/dependencies-analyzer
```

## Usage

To use this tool you need to provide the repository name (e.g., twbs/bootstrap)

```bash
dependencies-analyzer hsborges/dependencies-analyzer
```

Use the help option to more information

```bash
dependencies-analyzer --help
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT](https://choosealicense.com/licenses/mit/)