Back to Home
povesma icon

postgres12-claude-mcp-server-usage

Verified Safe

by povesma

Overview

This server tracks and logs usage data for a Multi-Cloud Platform (MCP) into a PostgreSQL database, utilizing Claude AI for potential analysis or processing of this usage data, and exposes this functionality via a RESTful API.

Installation

Run Command
npm start

Environment Variables

  • PORT
  • DATABASE_URL
  • JWT_SECRET
  • REDIS_URL
  • ANTHROPIC_API_KEY

Security Notes

The code itself implements common security practices, including JWT for authentication, bcrypt for password hashing, parameterized queries to prevent SQL injection, and input validation with Yup. Sensitive configurations are correctly handled via environment variables. The overall security in production will depend on the secure management of these environment variables (e.g., JWT_SECRET, ANTHROPIC_API_KEY, DATABASE_URL) and proper CORS configuration.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-02

Tags

Node.jsExpressPostgreSQLUsage TrackingClaude AIAPI