Back to Home
rianvdm icon

lastfm-mcp

Verified Safe

by rianvdm

Overview

Provides seamless access to Last.fm listening data and music information via AI assistants using the Model Context Protocol.

Installation

Run Command
wrangler dev --port 8787

Environment Variables

  • LASTFM_API_KEY
  • LASTFM_SHARED_SECRET
  • JWT_SECRET

Security Notes

The server demonstrates good security practices including explicit handling of API keys and secrets via environment variables (Cloudflare Wrangler secrets), OAuth 2.0 implementation with a dedicated provider (`@cloudflare/workers-oauth-provider`), JWT for session management, and rate limiting. A specific `stripResourceFromRequest` function addresses potential OAuth audience mismatch issues with Claude.ai. CORS headers are set, allowing wide access (`*`), which is common for public APIs but worth noting. No 'eval', obfuscation, or overtly malicious patterns were identified.

Similar Servers

Stats

Interest Score40
Security Score9
Cost ClassLow
Avg Tokens200
Stars17
Forks2
Last Update2025-12-12

Tags

Last.fmMCPCloudflare WorkersAI AssistantsMusic Data