PDP MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PDP MCP Server Apa saja hak-hak saya sebagai subjek data menurut UU PDP?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 PDPcari_pasal- Cari pasal berdasarkan nomor/keyworddefinisi_istilah- Cari definisi istilah hukumhak_subjek_data- Hak-hak pemilik data pribadikewajiban_pengendali- Kewajiban pengendali/prosesor datasanksi_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
Clone repository:
git clone <repository-url>
cd pdp-mcp-serverCreate virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
# atau
.\venv\Scripts\activate # WindowsInstall dependencies:
pip install -r requirements.txtSetup environment variables:
cp .env.example .env
# Edit .env dengan API keys Andaπ Data Ingestion
Ekstrak PDF UU PDP:
python scripts/extract_pdf.pyIngest 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
Available Tools
2 toolsserver_statusC
Cek status server.
Returns: Status server
Inputs: no named parameters. Returns: result
tanya_pdpC
Menjawab pertanyaan tentang UU PDP.
Args: pertanyaan: Pertanyaan tentang UU PDP
Returns: Jawaban
Inputs: pertanyaan (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one checks server status, the other answers questions about PDP law. There is no overlap or confusion possible.
Both tools use snake_case, but 'server_status' is noun_noun while 'tanya_pdp' is verb_noun. Also, one is in English and the other in Indonesian, a minor inconsistency.
With only 2 tools, the server feels thin. While it might be acceptable for a very narrow purpose, typically a PDP law server would need more tools for comprehensive coverage.
The server only offers server status and Q&A. Missing essential operations like searching articles, listing definitions, or providing document references, leaving significant gaps for an agent.
Maintenance
Related MCP Connectors
The CustomGPT.ai MCP server is a fully managed, RAG-powered endpoint that connects large language models with private knowledge bases and external data sources. It provides tools for retrieval-augmented generation queries (send_message), data ingestion (upload_file), and source listing, enabling AI agents to query private documents like PDFs with high accuracy and real-time citations.
AI governance MCP server for EU AI Act compliance and jurisdiction verification
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that implements Retrieval-Augmented Generation to efficiently retrieve and process important information from various sources, providing accurate and contextually relevant responses.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides expert knowledge on the OpenAI API, powered by RAG. It enables users to ask technical questions and get accurate answers, with support for search and fetch tools.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).36MIT
- AlicenseNot gradedqualityDmaintenanceA generic MCP server for conversational AI document research using the Pinecone Assistant API, providing customizable RAG knowledge base access without embedding complexities.2MIT