convez.ai
MCP ServerIntegração & APIsIntermediário
Piyushtanwani

DA-IICT Unified MCP Server

Piyushtanwani/mcp-server

Acesso unificado a diretórios institucionais e catálogo bibliotecário via MCP

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que fornece ao Claude acesso direto aos bancos de dados da Dhirubhai Ambani Institute of Information and Communication Technology (DA-IICT). Integra busca em diretórios de faculty, staff e catálogo da biblioteca com PostgreSQL local e raspagem de dados.

Instalação

$npx convez-ai Piyushtanwani/mcp-server

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
7
Forks
5
Acompanhando
0
Saúde
14%
Último commit
há 3 dias
Versão
—
Issues abertas
8
Contribuidores
2

Casos de uso

  • Buscar informações de professores e especialidades em instituições educacionais
  • Pesquisar livros e recursos no catálogo de biblioteca com full-text search
  • Sincronizar dados de staff e faculty de sites institucionais para Claude

Veredito

Solução bem estruturada para integração institucional específica. Exige setup PostgreSQL local e é dependente da arquitetura de dados do DA-IICT, limitando reutilização em outros contextos. Útil para deployments em ambiente educacional controlado.

README

A tradução para o português deste README ainda está na fila.

DA-IICT Unified MCP Server

A Model Context Protocol (MCP) server providing Claude (and other LLMs) with direct access to Dhirubhai Ambani Institute of Information and Communication Technology (DA-IICT) databases.

This server enables AI models to natively search the faculty directory, staff directory, and the library OPAC catalog through a local high-performance PostgreSQL database.

Features

  • Faculty Tools: List faculty, search by name or expertise, view full profiles, and trigger live website syncing.
  • Staff Tools: List staff, search by name or designation, view full profiles, and trigger live website syncing.
  • Library OPAC Tools: Instantly search the DA-IICT library catalog (over 28,000 records) and retrieve detailed book metadata using PostgreSQL full-text search. Includes fallback links to the live OPAC for physical availability checking.
  • Unified Server: Exposes all tools over standard stdio transport for seamless integration with Claude Desktop.

Project Structure

MCP Project/
│
├── core/                       # Shared infrastructure layer
│   ├── config.py               # Environment loading, logging factory
│   ├── database.py             # Thread-safe PostgreSQL connection pool
│   └── schemas.py              # Shared Pydantic models
│
├── api/services/               # Business Logic layer
│   ├── faculty_service.py      # Faculty DB queries
│   ├── staff_service.py        # Staff DB queries
│   └── library_service.py      # Local Library DB queries
│
├── scrapers/                   # Web scraping layer
│   ├── faculty_scraper.py      # Scrapes all 5 faculty category pages
│   └── staff_scraper.py        # Scrapes the staff directory page
│
├── dau_mcp/                    # Model Context Protocol Servers
│   ├── unified_mcp_server.py   # Exposes ALL tools (Recommended)
│   ├── faculty_mcp_server.py   # Faculty-only MCP tools
│   ├── staff_mcp_server.py     # Staff-only MCP tools
│   └── library_mcp_server.py   # Library MCP tools
│
├── scripts/                    # Operational one-shot scripts
│   ├── init_db.sql             # Database schema initialization
│   ├── seed_faculty.py         # Seed faculty data from live website
│   ├── seed_staff.py           # Seed staff data from live website
│   └── seed_library.py         # Seed library catalog from CSV
│
├── .env.example                # Template for .env
├── .gitignore
└── requirements.txt

Setup & Installation

1. Configure Environment

Copy the example file and add your PostgreSQL credentials:

cp .env.example .env

Ensure your .env contains the required database connection variables:

DB_HOST=localhost
DB_PORT=5432
DB_NAME=daiict_db
DB_USER=postgres
DB_PASSWORD=your_password

2. Install Dependencies

You must install dependencies in your Python environment. For Windows, using a virtual environment (venv) is highly recommended.

# Create and activate a virtual environment
python -m venv venv
.\venv\Scripts\Activate.ps1

# Install requirements
pip install -r requirements.txt

3. Initialize Database

  1. Ensure PostgreSQL is running and you have created a database named daiict_db.
  2. Run the scripts/init_db.sql script in pgAdmin or psql to create the tables.
  3. Seed the data:
    python scripts/seed_faculty.py
    python scripts/seed_staff.py
    python scripts/seed_library.py
    

Adding to Claude Desktop

To allow Claude to use these tools, add the Unified Server to your Claude Desktop configuration file.

On Windows, edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "daiict-unified": {
      "command": "C:\\path\\to\\MCP Project\\venv\\Scripts\\python.exe",
      "args": [
        "-m",
        "dau_mcp.unified_mcp_server"
      ],
      "env": {
        "PYTHONPATH": "C:\\path\\to\\MCP Project"
      }
    }
  }
}

(Make sure to replace C:\\path\\to\\MCP Project with the actual absolute path to your project folder).

After saving the configuration, fully restart Claude Desktop to initialize the server.

Available Tools

Once configured, Claude can natively call the following tools:

Faculty:

  • list_faculty()
  • search_faculty(query)
  • get_faculty_details(name_or_email)
  • search_faculty_by_expertise(expertise)
  • sync_faculty_data()

Staff:

  • list_staff()
  • search_staff(query)
  • get_staff_details(name_or_email)
  • sync_staff_data()

Library:

  • search_library_books(query, limit)
  • get_book_details(biblionumber)
Ver o original no GitHub

Bom para

Relacionados