remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Supports configuration through .env files for storing API credentials and endpoints for the Fujitsu API Gateway.
Integrates with Fujitsu's Social Digital Twin and Digital Rehearsal API, enabling simulation management, results analysis, traffic simulation analysis, scenario comparison, and natural language generation of simulation configurations.
Fujitsu Social Digital Twin MCP Server
This project integrates Fujitsu's Social Digital Twin and Digital Rehearsal API with the Model Context Protocol (MCP), allowing Large Language Models (LLMs) to access Fujitsu's Digital Rehearsal API through natural language.
Overview
Fujitsu's Social Digital Twin recreates not only the state of people and objects in the digital space based on real-world data, but also entire economic and social activities. Its core function, "Digital Rehearsal," enables users to simulate human and social behavior in a digital space before implementing measures in the real world, allowing for advance verification of their effects and impacts.
This project uses MCP to bridge the gap between LLMs and the Digital Rehearsal API, enabling users to run simulations and analyze results using natural language.
Key Features
- Retrieve and display simulation lists
- Start simulations
- Retrieve and analyze simulation results
- Manage simulation data
- Analyze traffic simulations
- Compare scenarios
- Generate simulation configurations from natural language
Prerequisites
- Python 3.13 or higher
- Access to Fujitsu API Gateway (API Key)
- MCP-compatible LLM client (e.g., Claude Desktop)
Installation
Installing via Smithery
To install Fujitsu Social Digital Twin Server for Claude Desktop automatically via Smithery:
1. Clone the Repository
2. Set Up Environment
Using uv (recommended):
First, install uv:
Then, set up your environment with uv:
Alternatively, you can use the provided setup script:
3. Set Environment Variables
Alternatively, you can create a .env
file with the following settings:
Usage
Starting the MCP Server
The server communicates using standard I/O with MCP clients.
Using the Interactive Client
A simple client is also provided for direct interaction with the MCP server:
When you start the client, a list of available resources and tools will be displayed, and you can call them from the command line.
Setup with Claude Desktop
To use the server with MCP-compatible LLM clients such as Claude Desktop:
- Open Claude Desktop
- Go to Settings > Developer Settings > Edit Config File
- Add the following settings:
- Restart Claude Desktop
Resources and Tools
Resources
resource://digital_rehearsal_overview
: Overview of Digital Rehearsal technologyresource://simulation_metrics_explanation
: Explanation of simulation metricsresource://scenario_examples
: Example scenarios
Tools
list_simulations
: Retrieve a list of simulationsstart_simulation
: Start a simulationget_simulation_result
: Retrieve simulation resultsget_metrics
: Retrieve simulation metricslist_simdata
: Retrieve a list of simulation dataget_simdata
: Retrieve simulation dataanalyze_traffic_simulation
: Analyze traffic simulationcompare_scenarios
: Compare scenarioscreate_natural_language_simulation_config
: Generate simulation settings from natural language
Usage Examples
Retrieving a List of Simulations
Starting a Simulation
Analyzing Traffic Simulation
Generating Simulation Settings from Natural Language
Example LLM Interaction
Contributing
Please report bugs or feature requests via GitHub Issues. Pull requests are welcome.
License
This project is released under the MIT License. See the LICENSE file for details.
Acknowledgments
- Fujitsu Corporation - Development of Social Digital Twin technology
- Model Context Protocol (MCP) - Enabling seamless integration with LLMs
You must be authenticated.
Tools
Enables LLMs to access Fujitsu's Digital Rehearsal API through natural language, allowing users to run and analyze simulations of human and social behavior in digital space.