Skip to main content
Glama

Pustaka

MCP server that searches thesis full text from 75+ Indonesian university repositories.

Python License: AGPLv3 Universities MCP

Pustaka is an MCP server that searches thesis repositories at 75+ Indonesian universities (PTN, PTS, polytechnics). It uses OAI-PMH harvesting and HTML scraping, and reads the PDF content to work out which theses are available in full text.

Quick start

pip install "pustaka-mcp[pdf]"
pustaka

With uvx

uvx --from pustaka-mcp pustaka.exe

Claude Desktop config

{
  "mcpServers": {
    "pustaka": {
      "command": "uvx",
      "args": ["--from", "pustaka-mcp", "pustaka.exe"]
    }
  }
}

Related MCP server: Legal Document RAG MCP Server

Tools

Tool

Description

search_thesis

Search by keyword, filter by university/type/province. Returns full/partial/locked status.

list_universities

List all supported universities, filter by type (PTN/PTS) or province.

analyze_pdf

Analyzes PDF content. Detects chapters, estimates page count, checks access.

search_and_analyze

Combined search and PDF analysis in one call. Slower but returns accurate status immediately.

Resources

  • skripsi://universities: all universities as JSON

  • skripsi://stats: repository statistics

Status meanings

Status

Meaning

FULL

Chapters 1, 3, 4, 5 and bibliography detected inside the PDF

PARTIAL

Some chapters found, incomplete or HTML-only detection

LOCKED

PDF exists but requires login or embargo

UNKNOWN

Cannot determine automatically

Environment variables

Variable

Default

Description

PUSTAKA_DELAY

1.2

Delay between requests (seconds)

PUSTAKA_WORKERS

5

Number of parallel threads

PUSTAKA_NO_CACHE

0

Set to 1 to disable local cache

Requirements

  • Python 3.10+

  • pdfminer.six (optional, for PDF content analysis)

pip install pustaka-mcp[pdf]

Without pdfminer.six, the server still works but uses HTML-only detection.

Original work

Pustaka is a port of Yingtze's pencari-skripsi-indonesia, which is MIT licensed. The repository configurations, OAI-PMH harvesting, HTML parsers, and PDF analysis heuristics come from that project.

License

This port is AGPL-3.0-only. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables searching the YÖK National Thesis Center and retrieving thesis contents in Markdown format for LLM applications. It allows users to perform detailed searches based on criteria like author, university, and subject while providing programmatic access to thesis metadata and PDF content.
      6
      135
      MIT