Introduction

The DeepSeek Harness (DSH) plugin ecosystem extends functionality through MCP servers. If you need access to data for the Fantasy NBA Israel League, you can use xby-fantasynbaleague. This is an MCP server that provides statistics, rankings, and analytics for this league.

Plugin Overview

  • Name: xby-fantasynbaleague
  • Maintainer: xby-skill
  • Type: Network-enabled tool
  • License: MIT
  • Description: An MCP server that provides statistics, rankings, and analytics for the Fantasy NBA Israel League.

Core Features

This plugin provides the following endpoints:

  1. set_xby_apikey: Sets the API key in the chat. The key is automatically persisted and remains valid after restart.
  2. getAveragesLeagueRankings: Retrieves average league rankings. Ranking points are calculated based on the ROTISSERIE scoring system.
  3. getTeams: Retrieves the list of all teams. Returns team_id and team_name, used in subsequent queries for specific team details.
  4. getAverageStats: Retrieves average statistics. Returns actual performance data (e.g., assist averages), not ranking points.
  5. getTeamDetails: Retrieves detailed information for a specific team. Includes raw statistics, ranking points, category rankings, and the roster.

Data Notes (ROTISERIE System)

The plugin uses the ROTISSERIE (ROTISERIE) scoring system. When using it, note the difference between “ranking points” and “rank position”:

  • Ranking points: Within each category, teams are sorted from 1st to Nth place. The best team receives N points, the second-best receives N-1 points, and the worst receives 1 point. total_points is the sum across all 8 categories.
  • Rank position: The rank field represents the actual position on the standings table. 1 indicates first place, and a smaller number indicates a higher rank.

Usage Examples

1. Set the API Key

Call set_xby_apikey in the chat to inject the key into the current session. The system automatically persists the key, so it does not need to be set again after restart.

2. Get the Team List

Call getTeams to retrieve all team IDs and names. For example, to get details for the team with ID 123:

getTeamDetails:
  team_id: 123

3. Get League Rankings

Call getAveragesLeagueRankings.
* order parameter: Default is desc (top to bottom); asc (bottom to top).

getAveragesLeagueRankings:
  order: desc

4. Get Raw Statistical Data

Call getAverageStats.
* use_normalized parameter: Set to True to return 0-1 normalized data (suitable for visualization); set to False to return raw values (e.g., 45.6%).

getAverageStats:
  use_normalized: false

Installation and Activation

This plugin is managed through the DSH plugin directory. Visit the plugin directory link to view details:
https://www.skillhub.cn/plugins/xby-skill/xby-fantasynbaleague

Notes

  • Permissions and Source Code: The plugin runs with the current DSH process permissions. Before installing, review the source code and license (MIT).
  • Scoring System: When using ranking points (total_points) and rank position (rank), be careful to distinguish their meanings. Higher ranking points are better, while a lower rank number is better.
  • Data Types: getAverageStats returns actual performance data, while getAveragesLeagueRankings returns ranking points. Do not use them interchangeably.
  • Configuration: The DSH configuration includes cordis.patch.yml.

Conclusion

This plugin provides developers with a complete data interface for the Fantasy NBA Israel League, making it easier to build related analytics agents. For more details, refer to the GitHub repository:
https://github.com/xby-skill/xby-fantasynbaleague