Token导航 LogoToken导航TokenDH.com
PDP MCP Server logo
搜索检索stdio官方级别未说明来源级核验

PDP MCP Server

MCP Server

一个基于RAG技术的问答服务器,用于回答关于印度尼西亚个人数据保护法(UU PDP)的问题。

工具数

6

提示词数

0

GitHub Stars

0

资源数

0
问答系统PythonClaudeClaude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

VibeCoding4-JC

提供方

VibeCoding4-JC

最后核验

2026/5/17 20:20

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python -m venv venv

详细介绍

PDP MCP Server

MCP Server untuk menjawab pertanyaan seputar UU Nomor 27 Tahun 2022 tentang Perlindungan Data Pribadi (UU PDP) menggunakan RAG (Retrieval-Augmented Generation) dengan Pinecone sebagai vector database.

🚀 Features

  • RAG-powered Q&A: Menjawab pertanyaan berdasarkan isi UU PDP
  • 6 MCP Tools:

- tanya_pdp - Pertanyaan umum tentang UU PDP - cari_pasal - Cari pasal berdasarkan nomor/keyword - definisi_istilah - Cari definisi istilah hukum - hak_subjek_data - Hak-hak pemilik data pribadi - kewajiban_pengendali - Kewajiban pengendali/prosesor data - sanksi_pelanggaran - Sanksi administratif dan pidana

📋 Requirements

  • Python 3.11+
  • Pinecone Account (Free tier available)
  • OpenAI API Key

🛠️ Installation

  1. Clone repository:
git clone 
cd pdp-mcp-server
  1. Create virtual environment:
python -m venv venv
source venv/bin/activate  # Linux/Mac
# atau
.\venv\Scripts\activate  # Windows
  1. Install dependencies:
pip install -r requirements.txt
  1. Setup environment variables:
cp .env.example .env
# Edit .env dengan API keys Anda

📚 Data Ingestion

  1. Ekstrak PDF UU PDP:
python scripts/extract_pdf.py
  1. Ingest data ke Pinecone:
python scripts/ingest_data.py

🖥️ Running the Server

python -m src.server

🧪 Testing

pytest tests/ -v

📖 Usage with Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "pdp-assistant": {
      "command": "python",
      "args": ["-m", "src.server"],
      "cwd": "/path/to/pdp-mcp-server"
    }
  }
}

📄 License

MIT License

📚 References

目录标签

目录标签

问答系统PythonClaude本地部署法律咨询数据保护RAG技术Pinecone

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

api-key

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

6

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdioapi-keyremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP