Back to Home
nikhil-grayscale icon

nlb-mcp

Verified Safe

by nikhil-grayscale

Overview

Provides an unofficial FastMCP server to access the NLB Singapore Library Catalogue for title search and availability information.

Installation

Run Command
fastmcp run nlb_mcp/server.py:create_server

Environment Variables

  • NLB_API_KEY
  • NLB_APP_CODE
  • NLB_API_BASE
  • REQUEST_TIMEOUT_MS

Security Notes

The server correctly handles NLB API keys via environment variables, not accepting them from user input. It also redacts these keys from logs. User authentication is offloaded to FastMCP's built-in OAuth2 provider. Basic input validation is present to limit request parameters and prevent broad queries, though the README suggests that stricter pydantic models for inputs/outputs could be added for enhanced validation.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens150
Stars0
Forks0
Last Update2025-12-02

Tags

Library CatalogueNLBSearchAvailabilityFastMCP