Visum Thinker MCP Server
The Visum Thinker MCP Server provides AI-powered transportation planning automation with sequential thinking capabilities and PDF analysis for complex problem-solving.
Core Capabilities:
π§ Sequential Thinking & Reasoning
Break down complex problems into step-by-step reasoning with dynamic revision and branching logic
Adaptive planning with progress tracking and session summaries
Export/import thinking sessions for knowledge transfer between servers
π PTV Visum Transportation Planning Automation
Smart Visum detection with automatic path learning and persistent configuration
COM interface management for procedure execution (PrT/PuT assignments, demand models, matrix calculations)
Network analysis, statistics, and custom VBScript execution
Intelligent workflow features: auto-grouping into "Visum-BOT" group, numbered segment selection, position tracking
Demo mode available without Visum installation
π PDF Analysis & Document Processing
Load and analyze PDFs with optimized handling for large files (>50MB chunked processing)
Intelligent search with configurable context windows, page ranges, and case-sensitive options
Context extraction for AI-assisted problem-solving
π§ Integration & Management
Compatible with Claude Desktop, VS Code, and GitHub Copilot
Zero-setup workflows with persistent state management
Export/import complete knowledge and thinking state between instances
Enhances AI-assisted development through sequential thinking capabilities, allowing GitHub Copilot to break down complex problems, analyze PDFs, and work with transportation planning models with contextual awareness
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Visum Thinker MCP Server break down how to optimize public transit routes in a growing city"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Visum Thinker MCP Server
A Model Context Protocol (MCP) server that provides PTV Visum automation and sequential thinking capabilities for transportation planning and analysis.
π― Quick Start
New to Visum automation? β Start here: QUICKSTART_PRT_WORKFLOW.md
AI Assistant integration? β Read: CLAUDE_WORKFLOW_GUIDE.md
Full Documentation? β See: DOCUMENTATION_INDEX.md
Related MCP server: Sequential Story MCP Server
β¨ New Features (2025-10-10)
π Interactive Visum Procedure Creation with Auto-Organization
Create and configure PTV Visum procedures with automatic organization in "Visum-BOT" group:
// 1. Create procedure β Automatic group creation + delete operation
visum_create_procedure({procedureType: "PrT_Assignment"})
// β Returns:
// - group_position: 577 (Visum-BOT group)
// - delete_position: 580 (Initialize Assignment)
// - actual_position: 581 (PrT Assignment) β Use this!
// 2. List available demand segments (numbered 1-36)
visum_list_demand_segments()
// 3. Configure with user's choice
visum_configure_dsegset({
procedurePosition: 581, // Use actual_position!
segmentNumbers: "1-10" // or filterMode: "C", etc.
})β¨ Automatic Features:
π¦ Group Organization: All MCP operations in "Visum-BOT" group
ποΈ Auto-Delete: Initialize Assignment added before PrT/PuT assignments
π Group Reuse: Subsequent calls add to existing group
π Smart Positioning: Operations added at end of group
π Documentation: See VISUM_BOT_GROUP.md for complete details
**Key Features:**
- β
**Automatic position detection** - No manual position tracking
- β
**Numbered segment selection** - Easy "1-10" notation instead of long codes
- β
**4 flexible input formats** - Numbers, mode filter, ALL keyword, or explicit codes
- β
**Interactive workflow** - AI assistants guide users through configuration
- β
**Complete validation** - Automatic verification of all configurations
**See [QUICKSTART_PRT_WORKFLOW.md](QUICKSTART_PRT_WORKFLOW.md) for the 3-step workflow!**
## Features
### π Visum Transportation Planning
- **Procedure Management**: Create PrT/PuT Assignment, Demand Models, Matrix Calculations
- **Demand Segments**: List and configure demand segments with numbered selection
- **Interactive Configuration**: Guide users through DSEGSET setup with 4 input formats
- **Smart Position Tracking**: Automatically track actual procedure positions
- **Complete Validation**: Verify all configurations before execution
### π§ Sequential Thinking
- **Step-by-step reasoning**: Break down complex problems into sequential thoughts
- **Dynamic revision**: Revise and refine thoughts as understanding deepens
- **Branching logic**: Branch into alternative reasoning paths
- **Adaptive planning**: Adjust the total number of thoughts dynamically
- **State management**: Maintain thinking context across multiple tool calls
- **Progress tracking**: Monitor completion status and thought progression
### π PDF Analysis
- **PDF Loading**: Load and analyze PDF documents for problem-solving context
- **Content Search**: Find relevant sections in PDFs based on queries and search terms
- **Persistent Storage**: Auto-save state to disk, survive server restarts
- **Knowledge Transfer**: Export/import thinking sessions between servers
## Installation
### Quick Installation
```bash
# Option 1: Install from NPM
npm install -g visum-thinker-mcp-server
# Option 2: Use with npx (no installation)
npx visum-thinker-mcp-server
# Option 3: Clone from GitHub
git clone https://github.com/yourusername/visum-thinker-mcp-server.git
cd visum-thinker-mcp-server
npm install && npm run buildSee INSTALLATION.md for detailed setup instructions.
Prerequisites
Node.js 16 or higher
npm or yarn
Usage
With Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"visum-thinker": {
"command": "node",
"args": ["/absolute/path/to/sequential_thinking/build/index.js"]
}
}
}With VS Code
The project includes a .vscode/mcp.json configuration file for VS Code MCP integration.
Direct Usage
npm run devTools
sequential_thinking
Main tool for step-by-step reasoning process.
Parameters:
thought(string): The current thinking stepnextThoughtNeeded(boolean): Whether another thought step is neededthoughtNumber(integer): Current thought numbertotalThoughts(integer): Estimated total thoughts neededisRevision(boolean, optional): Whether this revises previous thinkingrevisesThought(integer, optional): Which thought is being reconsideredbranchFromThought(integer, optional): Branching point thought numberbranchId(string, optional): Branch identifierneedsMoreThoughts(boolean, optional): If more thoughts are needed
load_pdf
Load a PDF file to provide context for analysis.
Parameters:
filePath(string): Absolute path to the PDF file
analyze_pdf_section
Analyze specific sections of the loaded PDF.
Parameters:
query(string): What to look for or analyze in the PDFstartPage(integer, optional): Starting page number (1-based)endPage(integer, optional): Ending page number (1-based)searchTerms(array of strings, optional): Specific terms to search for
reset_thinking
Clears the current thinking state to start fresh.
get_thinking_summary
Returns a summary of the current thinking session including PDF context if loaded.
export_knowledge
Export the current thinking state and PDF knowledge to a file.
Parameters:
exportPath(string): Absolute path where to save the exported knowledge file
import_knowledge
Import thinking state and PDF knowledge from an exported file.
Parameters:
importPath(string): Absolute path to the exported knowledge file to import
π Visum Transportation Planning Tools
The server includes comprehensive PTV Visum integration with intelligent path learning:
check_visum: Check Visum availability and learn custom installation pathsload_visum_model: Load transportation models (.ver files)run_visum_calculation: Execute transportation calculations and analysesget_network_statistics: Analyze network topology and characteristicsanalyze_visum_matrices: Examine demand and flow matricesexport_visum_results: Export analysis results to various formats
Key Features:
π§ Smart Path Learning: Automatically remembers custom Visum installation paths
π Zero Setup: Works seamlessly after initial path discovery
π― Demo Mode: Full testing capability without Visum installation
π Complete Analysis: All major transportation planning workflows supported
See VISUM-PATH-LEARNING.md for detailed information about the intelligent path learning system.
π€ GitHub Copilot Integration
The Sequential Thinking MCP Server includes comprehensive GitHub Copilot integration for enhanced AI-assisted development:
π Quick Start with Copilot
Server Status: Ensure MCP server is running (
npm run dev)Open Copilot Chat:
Ctrl+Shift+Iin VS CodeTest Integration: Ask
@copilot List available MCP toolsStart Solving:
@copilot Use sequential thinking to solve [your problem]
π― Copilot Capabilities
π§ Sequential Thinking: AI-guided step-by-step problem solving
π PDF Analysis: Intelligent document processing and analysis
π Transportation Planning: Expert Visum integration and workflow automation
π§ Smart Configuration: Automatic Visum path learning and persistence
π‘ Context-Aware Suggestions: Code completion with domain knowledge
π¬ Example Copilot Interactions
@copilot Can you use sequential thinking to analyze this transportation network problem?
@copilot Check if Visum is available and help me load a network model
@copilot Use the PDF analysis tools to extract data from this traffic report
@copilot Create a complete workflow for transportation demand analysisSee COPILOT-INTEGRATION.md for comprehensive setup and usage guide.
Development
Project Structure
sequential_thinking/
βββ src/
β βββ index.ts # Main server implementation
βββ build/ # Compiled JavaScript output
βββ .vscode/
β βββ mcp.json # VS Code MCP configuration
βββ .github/
β βββ copilot-instructions.md
βββ package.json
βββ tsconfig.json
βββ README.mdScripts
npm run build: Compile TypeScript to JavaScriptnpm run dev: Build and run the servernpm test: Run tests (placeholder)
Debugging
The server logs to stderr for compatibility with STDIO transport. Use VS Code's debugging features or add console.error statements for debugging.
Architecture
The server maintains a global thinking state that tracks:
All thoughts in the current session
Current progress and estimated completion
Revision and branching relationships
Session completion status
Each tool call updates this state and provides formatted responses that help users follow the thinking process.
License
MIT
Available Tools
29 toolsget_thinking_summaryB
Get a complete summary of the current thinking session with all steps and analysis
Inputs: no named parameters.
instance_cleanupA
π§Ή CLEANUP TOOL: Safely shutdown problematic instances and clean up resources. Use after instance_diagnosis identifies issues.
Inputs: force.
instance_diagnosisA
π§ DIAGNOSTIC TOOL: Run this first when encountering errors. Diagnoses and repairs existing Visum instances instead of creating new ones.
Inputs: no named parameters.
project_closeC
Close a project TCP server with optional save
Inputs: projectId (required), save.
project_executeC
Execute a command on a project TCP server
Inputs: projectId (required), code (required), description (required).
project_execute_analysisC
Execute intelligent analysis on specific project instance with ultra-fast performance. Automatically generates Python code based on analysis request.
Inputs: projectId (required), analysisRequest (required), returnFormat.
project_export_all_tablesA
π Export all Visum tables (except Network Editor) to CSV files. Each table is saved as ProjectName_TableName.csv in the project directory.
Inputs: projectId (required), maxRowsPerTable.
project_export_graphic_layoutA
πΊοΈ Load a Graphic Parameter file (.gpa) and export the network view as PNG/SVG. WORKFLOW: 1) List available .gpa files, 2) User selects layout, 3) Export as PNG (raster) or SVG (vector). Supports paper formats (A5, A4, A3) in landscape or portrait orientation. SVG is vector format (scalable, editable) but requires Visum GUI visible.
Inputs: projectId (required), gpaFile (required), outputFile, format, +5 more.
project_export_visible_tablesA
π Export ONLY tables visible in a Global Layout (.lay file) to CSV files. Maintains exact column order and includes sub-attributes (formula columns). WORKFLOW: 1) List layouts with project_list_available_layouts, 2) User selects layout, 3) Load with project_load_global_layout, 4) Export tables with this tool.
Inputs: projectId (required), layoutFile (required).
project_health_checkC
Check health of specific project instance
Inputs: projectId (required).
project_instances_statusB
Get status of all active project instances
Inputs: no named parameters.
project_list_available_layoutsA
π List all Global Layout files (.lay) available in the project directory. Shows filename, size, and full path. ALWAYS use this before loading a layout to show available options to the user.
Inputs: projectId (required).
project_load_global_layoutA
π¨ Load a Global Layout (.lay file) into an opened Visum project. The layout file must exist in the project directory or provide full path. ALWAYS use project_list_available_layouts first to show available options to the user.
Inputs: projectId (required), layoutFile (required).
project_openA
π DEFAULT TOOL for opening Visum projects. Always use this tool when asked to open, load, or launch any Visum project. Creates dedicated TCP server for ultra-fast communication. β οΈ If you encounter errors, run 'instance_diagnosis' first!
Inputs: projectPath (required).
project_saveC
Save the currently opened project in its TCP server
Inputs: projectId (required), saveAs.
project_shutdown_instanceC
Shutdown specific project instance
Inputs: projectId (required).
project_start_instanceC
Start dedicated persistent instance for specific Visum project
Inputs: projectId (required).
project_statusB
Get status of all active project TCP servers
Inputs: no named parameters.
reset_thinkingB
Clear the current thinking session and start fresh
Inputs: no named parameters.
sequential_thinkingC
Engage in systematic step-by-step thinking to analyze complex problems, make decisions, or explore ideas. Each thought builds on the previous ones, creating a chain of reasoning.
Inputs: thought (required), reasoning, category, revise_step, +3 more.
visum_check_assignmentA
π Verify if a PrT assignment has been executed successfully. Checks for volume data on links. Returns total volume, number of links with traffic, and confirms assignment completion.
Inputs: projectId (required), analysisPeriod.
visum_configure_dsegsetA
βοΈ Configure demand segments (DSEGSET) on a PrT Assignment procedure. Use visum_list_demand_segments first to see available segments. Accepts segment codes OR numbers from the numbered list.
Inputs: projectId (required), procedurePosition (required), dsegset, segmentNumbers, +2 more.
visum_create_procedureC
π― Create a Visum procedure (PrT Assignment, PuT Assignment, etc.) using the verified Visum API. This tool uses the correct visum.Procedures.Operations.AddOperation() method discovered on 2025-10-10.
Inputs: projectId (required), procedureType (required), position, parameters.
visum_custom_analysisC
Execute custom Python code with access to the active Visum instance
Inputs: pythonCode (required), description.
visum_health_checkB
Check the health and status of the VisumPy instance
Inputs: no named parameters.
visum_launch_projectA
β οΈ DEPRECATED: Use 'project_open' tool instead. This tool is obsolete and slower than the new TCP-based project_open tool.
Inputs: projectPath (required).
visum_list_demand_segmentsA
π List all available demand segments for PrT (Private Transport) modes in the loaded Visum project. Use this before configuring DSEGSET on a procedure.
Inputs: projectId (required), filterMode.
visum_network_analysisB
Analyze the loaded Visum network with detailed statistics and performance metrics
Inputs: includeGeometry, sampleSize.
visum_network_statsB
Get comprehensive network statistics from the loaded Visum project
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 29 tools
The tool set has clear groupings (project, visum, thinking), but within groups there is significant overlap. For example, project_open, project_start_instance, and visum_launch_project (deprecated) all seem to open projects, while project_health_check, project_instances_status, and visum_health_check have overlapping diagnostic purposes. The descriptions help differentiate, but an agent could easily misselect tools.
Most tools follow a consistent snake_case pattern with clear prefixes (project_, visum_, get_, reset_, sequential_, instance_). However, there are minor deviations like visum_launch_project (deprecated) vs. project_open, and some tools use emojis or all caps in descriptions but not in names. Overall, the naming is predictable and readable.
With 29 tools, the count feels excessive for a Visum-focused server. Many tools appear redundant or overly specific (e.g., multiple export and diagnostic tools), suggesting the surface could be consolidated. This large number may overwhelm agents and increase the risk of misselection.
The tool set covers core Visum operations comprehensively, including project management, data export, network analysis, and procedure configuration. Minor gaps exist, such as limited editing capabilities for projects or procedures, but agents can perform most essential workflows without dead ends.
Related MCP Connectors
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.
A governed, nonclinical reasoning system that helps people and AI agents make sense of difficult moments and choose a grounded next step. Use Clarity OS for overthinking, emotional activation, uncertainty, decision friction, conflicting priorities, repeating patterns, or difficult conversations. It returns structured, safety-governed clarity while preserving uncertainty, personal agency, and appropriate nonclinical boundaries.
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnhances AI model capabilities with structured, retrieval-augmented thinking processes that enable dynamic thought chains, parallel exploration paths, and recursive refinement cycles for improved reasoning.124MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for structuring complex problems through narrative-based sequential story elements or systematic sequential thinking, helping make complex problems more memorable and easier to understand.15MIT
- AlicenseAqualityFmaintenanceAn enhanced sequential thinking tool optimized for programming tasks that helps break down complex coding problems into structured, self-auditing thought steps with branching and revision capabilities.183 npm257MIT
- AlicenseBqualityDmaintenanceProvides AI assistants with enhanced reasoning capabilities through structured thinking, persistent knowledge graph memory, and intelligent tool orchestration for complex problem-solving.2063MIT