jgrants-mcp-server logo

jgrants-mcp-server

by rtoki

This server provides MCP tools to access the JGrants API (a Japanese government subsidy application system). It allows users to search for subsidies, retrieve detailed information, and download attachments.

View on GitHub

Last updated: N/A

What is jgrants-mcp-server?

This is an MCP server that utilizes the JGrants (operated by the Digital Agency of Japan) public API for electronic subsidy applications. It leverages the FastMCP library to provide MCP tools for listing subsidies, retrieving subsidy details, and downloading attachments.

How to use jgrants-mcp-server?

The server provides three main tools: list_subsidies, get_subsidy_detail, and download_attachment. Install the necessary dependencies (httpx, fastmcp, fastapi, uvicorn) and then use the provided functions with the correct parameters. Refer to the documentation for specific input parameters and output formats for each tool.

Key features of jgrants-mcp-server

  • Asynchronous processing using httpx

  • MCP tools for subsidy management

  • Lightweight responses by providing download URLs instead of base64 attachment data

  • Provides tools to list, get details, and download attachments for subsidies

Use cases of jgrants-mcp-server

  • Automated subsidy search and retrieval

  • Integration with other systems for subsidy application workflows

  • Bulk download of subsidy attachments

  • Building custom interfaces for accessing JGrants data

FAQ from jgrants-mcp-server

What is JGrants?

JGrants is a Japanese government system for electronic subsidy applications.

What is MCP?

MCP stands for Model Context Protocol, a framework for building and deploying machine learning models.

How do I install the necessary dependencies?

Use pip to install httpx, fastmcp, fastapi, and uvicorn.

How do I get the subsidy ID?

The subsidy ID is a unique identifier for each subsidy, and it should be used instead of the title.

Why are attachments downloaded via URL instead of base64?

This reduces the size of the API responses and improves performance.