Lastfm

21 tools. 0 can modify or destroy data without limits.

Read-only server. Low risk, but rate limits prevent runaway API costs.

Last updated:

0 can modify or destroy data
21 read-only
21 tools total

Community server · catalogue entry verified 11/06/2026

How to control Lastfm ↓

Read (21) Write / Execute (0) Destructive / Financial (0)

Even read-only tools carry cost. An agent in a retry loop can make thousands of API calls per minute, exhausting rate limits and running up bills.

PolicyLayer is an MCP gateway — it sits between your AI agents and Lastfm, and nothing reaches the server without passing your rules. These are the rules we recommend:

Cap read operations
{
  "get_album_info": {
    "limits": [
      {
        "counter": "get_album_info_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Lastfm — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON LASTFM →

Free to start. No card required.

READ 21 tools
Read get_album_info Get detailed Last.fm information about any album (track listing, tags, play counts) - No authentication requir Read get_artist_info Get detailed Last.fm information about any artist (biography, tags, similar artists, top tracks) - No authenti Read get_artist_top_albums Get an artist Read get_artist_top_tracks Get an artist Read get_listening_stats Get comprehensive Last.fm listening statistics and analytics - REQUIRES AUTHENTICATION. Shows detailed insight Read get_loved_tracks Get user Read get_music_recommendations Get personalized music recommendations from Last.fm based on listening history - REQUIRES AUTHENTICATION Read get_recent_tracks Get user Read get_similar_artists Find artists similar to any artist using Last.fm data - No authentication required Read get_similar_tracks Find tracks similar to any track using Last.fm data - No authentication required Read get_top_albums Get user Read get_top_artists Get user Read get_top_tracks Get user Read get_track_info Get detailed Last.fm information about any track (artist, album, play count, tags, similar tracks) - No authen Read get_user_info Get Last.fm user profile information and listening statistics - REQUIRES AUTHENTICATION for private profiles Read get_weekly_artist_chart Get artist listening data for a specific time period - REQUIRES AUTHENTICATION. Perfect for temporal queries l Read get_weekly_chart_list Get available weekly chart date ranges for user\ Read get_weekly_track_chart Get track listening data for a specific time period - REQUIRES AUTHENTICATION. Perfect for temporal queries li Read lastfm_auth_status Check if user is authenticated with Last.fm - Use this to verify login status before accessing personal music Read ping Test Last.fm MCP server connectivity - Use this to verify the server is working Read server_info Get Last.fm MCP server information and available capabilities
Is the Lastfm MCP server safe to use without restrictions? +

The Lastfm server is primarily read-only with 21 read tools. While it cannot modify data, an agent in a retry loop can make thousands of API calls per minute, exhausting rate limits and running up costs. Rate limiting is still recommended.

How many tools does the Lastfm MCP server expose? +

21 tools across 1 categories: Read. 21 are read-only. 0 can modify, create, or delete data.

How do I enforce a policy on Lastfm? +

Register the Lastfm MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Lastfm tool call.

Deterministic rules across all 21 Lastfm tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Free to start. No card required.

21 Lastfm tools catalogued and risk-classified — across an index of 42,500+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.