Skip to main content
Glama
leadbrain

korean-data-mcp

get_melon_chart

Fetch current Melon music chart data to access Korean song rankings, including real-time, daily, weekly, and hot100 charts with song details.

Instructions

Fetch the Melon music chart (멜론 차트).

Args: chart_type: Chart to fetch — 'realtime' (실시간), 'hot100', 'daily', or 'weekly' limit: Number of songs to return (default 100, max 100)

Returns: List of song objects with rank, title, artist, album fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chart_typeNorealtime
limitNo

Implementation Reference

  • The handler function `get_melon_chart` which uses `_run_actor` to call the `melon-chart-scraper` Apify actor to fetch music chart data.
    @mcp.tool()
    async def get_melon_chart(
        chart_type: str = "realtime",
        limit: int = 100,
    ) -> list[dict]:
        """
        Fetch the Melon music chart (멜론 차트).
    
        Args:
            chart_type: Chart to fetch — 'realtime' (실시간), 'hot100', 'daily', or 'weekly'
            limit: Number of songs to return (default 100, max 100)
    
        Returns:
            List of song objects with rank, title, artist, album fields.
        """
        limit = min(limit, 100)
        return await _run_actor(
            f"{APIFY_ACCOUNT}/melon-chart-scraper",
            {"chartType": chart_type, "limit": limit},
        )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leadbrain/korean-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server