Skip to main content
Glama

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

Related MCP server: OpenAI SDK Knowledge MCP Server

๐Ÿ“‹ Requirements

  • Python 3.11+

  • Pinecone Account (Free tier available)

  • OpenAI API Key

๐Ÿ› ๏ธ Installation

  1. Clone repository:

git clone <repository-url>
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

Install Server
A
license - permissive license
C
quality
D
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).
    245
    36
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • This MCP server provides seamless access to Malaysia's government open data, including datasets, wโ€ฆ

  • MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VibeCoding4-JC/pdp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server