Fujitsu Social Digital Twin MCP Server

Fujitsu Social Digital Twin MCP Server

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.

Category
访问服务器

Tools

list_simdata

Returns a complete list of all simulation datasets available in the system, which can be used as inputs for running new simulations.

get_simdata

Retrieves the complete configuration and parameter set for a specific simulation dataset, including region settings, time ranges, and scenario parameters.

analyze_traffic_simulation

Conducts comprehensive analysis on simulation results, providing insights on traffic patterns, bottlenecks, and optimization opportunities for the specified parameters.

compare_scenarios

Performs detailed comparative analysis between two simulation scenarios, highlighting differences in traffic flow, emissions, travel times, and other key metrics.

create_natural_language_simulation_config

Converts a natural language description into a structured simulation configuration, interpreting user requirements into technical parameters for traffic simulation.

create_simulation_from_usecase

指定されたユースケースとアップロードされたファイルからシミュレーションを作成・実行します。

list_simulations

Returns a comprehensive list of all traffic simulations in the system, including their IDs, names, status, and execution timeframes.

start_simulation

Launches a new traffic simulation using the provided simulation dataset configuration, returning the simulation ID and initial status.

get_simulation_result

Retrieves the complete results and output files from a finished traffic simulation, including simulation status and generated result files.

get_metrics

Retrieves comprehensive metrics and analytics data from a completed simulation, including travel statistics, emissions data, and traffic flow information.

README

Fujitsu Social Digital Twin MCP Server

smithery badge

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.

<a href="https://glama.ai/mcp/servers/@3a3/fujitsu-sdt-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@3a3/fujitsu-sdt-mcp/badge" alt="Fujitsu Social Digital Twin Server MCP server" /> </a>

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:

npx -y @smithery/cli install @3a3/fujitsu-sdt-mcp --client claude

1. Clone the Repository

git clone https://github.com/3a3/fujitsu-sdt-mcp.git
cd fujitsu-sdt-mcp

2. Set Up Environment

Using uv (recommended):

First, install uv:

# Install uv using pip
pip install uv

# Or using curl (Linux/macOS)
curl -sSf https://astral.sh/uv/install.sh | sh

Then, set up your environment with uv:

# Create virtual environment
uv venv

# Activate virtual environment
# Windows:
.venv\Scripts\activate
# Unix/MacOS:
source .venv/bin/activate

# Install dependencies
uv pip install -r requirements.txt

Alternatively, you can use the provided setup script:

# Make the script executable
chmod +x setup.sh

# Run setup
./setup.sh

3. Set Environment Variables

# Windows:
set FUJITSU_API_BASE_URL=https://apigateway.research.global.fujitsu.com/sdtp
set FUJITSU_API_KEY=your_api_key_here

# Unix/MacOS:
export FUJITSU_API_BASE_URL=https://apigateway.research.global.fujitsu.com/sdtp
export FUJITSU_API_KEY=your_api_key_here

Alternatively, you can create a .env file with the following settings:

FUJITSU_API_BASE_URL=https://apigateway.research.global.fujitsu.com/sdtp
FUJITSU_API_KEY=your_api_key_here

Usage

Starting the MCP Server

python -m fujitsu_sdt_mcp

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:

python client.py

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:

  1. Open Claude Desktop
  2. Go to Settings > Developer Settings > Edit Config File
  3. Add the following settings:
"command": "uvx",
"args": [
    "fujitsu-sdt-mcp"
],
"env": {
    "FUJITSU_API_BASE_URL": "https://apigateway.research.global.fujitsu.com/sdtp",
    "FUJITSU_API_KEY": "your_api_key_here"
}
  1. Restart Claude Desktop

Resources and Tools

Resources

  • resource://digital_rehearsal_overview: Overview of Digital Rehearsal technology
  • resource://simulation_metrics_explanation: Explanation of simulation metrics
  • resource://scenario_examples: Example scenarios

Tools

  • list_simulations: Retrieve a list of simulations
  • start_simulation: Start a simulation
  • get_simulation_result: Retrieve simulation results
  • get_metrics: Retrieve simulation metrics
  • list_simdata: Retrieve a list of simulation data
  • get_simdata: Retrieve simulation data
  • analyze_traffic_simulation: Analyze traffic simulation
  • compare_scenarios: Compare scenarios
  • create_natural_language_simulation_config: Generate simulation settings from natural language

Usage Examples

Retrieving a List of Simulations

tool list_simulations

Starting a Simulation

tool start_simulation {"simdataId": "your_simdata_id"}

Analyzing Traffic Simulation

tool analyze_traffic_simulation {"simulationId": "your_simulation_id", "region": "Tokyo", "timeRange": "morning rush hour", "scenario": "traffic optimization"}

Generating Simulation Settings from Natural Language

tool create_natural_language_simulation_config {"description": "I want to run a traffic optimization simulation during morning rush hour in Tokyo"}

Example LLM Interaction

User: I want to run a traffic simulation during morning rush hour in Tokyo

Claude: I can help you run a traffic simulation for Tokyo's morning rush hour. Here's how we can set it up.

First, let's generate simulation settings from your natural language description:
[Tool execution: create_natural_language_simulation_config]

Generated settings:
{
  "simulationType": "traffic",
  "parameters": {
    "region": "Tokyo",
    "timeRange": "morning_rush"
  },
  "name": "traffic_20250416_123045"
}

Next, let's check available simulation data:
[Tool execution: list_simdata]

From this data, I can start a simulation using Tokyo's morning traffic data.
I've selected the appropriate simulation data ID and will start the simulation:
[Tool execution: start_simulation]

The simulation has started. The simulation ID is "sim_12345".
It will take some time for the results to be available. Once complete, I'll analyze them.

(After simulation completes)
Let's analyze the simulation results:
[Tool execution: analyze_traffic_simulation]

Analysis results:
- CO2 emissions: 1,250kg
- Average travel time: 42 minutes
- Total traffic volume: 15,700 vehicles

From these results, I can see that the Shibuya-Shinjuku route experiences particularly severe congestion.
Here are some potential improvements:
1. Optimize traffic signal control
2. Implement one-way traffic on certain roads during specific times
3. Increase public transportation frequency

Would you like to see a more detailed analysis?

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选