In the plugin ecosystem of DeepSeek Harness (DSH), handling domain-specific knowledge often requires integrating external APIs or writing custom logic. For scenarios involving French taxation, working directly with official channels (such as impots.gouv.fr) usually presents challenges such as limited access to structured data and complex tax rate calculations. The xby-french-tax plugin is designed to address this pain point. It is an MCP-service-based computation tool focused on calculating French personal income tax and querying related information.

What It Is

This is a web-enabled tool plugin maintained by xby-skill. It provides a complete set of French tax capabilities, including tax bracket queries, net taxable income calculations, retrieval of official document details, and queries for tax procedures and deadlines.

Core Features

The plugin provides the following features:

  • Set an API key: Set the API key during the conversation. The data is persisted automatically and remains valid after restart.
  • Web queries: Retrieve official tax information from impots.gouv.fr, service-public.fr, and legifrance.gouv.fr.
  • Tax bracket queries: Retrieve the income tax brackets (tranches d’imposition) for a specified year.
  • Tax calculation: Calculate French income tax based on net taxable income and household composition.
  • Form details: Retrieve field details and descriptions for specific tax forms.
  • Procedures and deadlines: Retrieve tax procedure information and deadlines from service-public.fr.
  • Legal search: Search for and retrieve tax law articles on legifrance.gouv.fr.
  • Report generation: Generate detailed reports on specific tax topics.
  • Health checks: Verify server response status.

Installation and Activation

To install this plugin, use the following command. Make sure you have already configured the dsh tool in your local environment.

dsh plugin --profile web add github:xby_skill/xby-french-tax

Configuration

Configuration is required before use. The plugin requires you to register on the Xiaobenyang official website and obtain an API key. After calling set_xby_apikey in a conversation or configuration file to write the key to persistent storage, the plugin can work normally.

Typical Usage

Using the plugin typically involves the following steps:

  1. Call set_xby_apikey to enter the key.
  2. Call calculate_income_tax with net taxable income and household composition parameters to obtain the calculation result.
  3. If you need to check specific tax rates, call get_tax_brackets to query the tax brackets for a specified year.
  4. If you have questions about tax procedures, call get_tax_procedure or get_tax_deadlines to obtain official guidance.

Applicable Scenarios and Notes

The plugin is suitable for agents or developers that need to handle French tax logic. It retrieves data directly from official channels using web tools, avoiding the cost of manually maintaining a large tax database. Please note that the plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before installation.

Summary

By integrating xby-french-tax, developers can quickly implement automated queries and calculations related to French taxation in DeepSeek Harness. For more details and the source code, see: GitHub.