Enables interaction with LimeSurvey API for survey creation, question and answer management, question group handling, survey activation, response exporting, and listing available surveys.
MCP Server for LimeSurvey
This MCP server enables interaction with the LimeSurvey API while adhering to the Model Context Protocol specifications. It exposes core LimeSurvey functionality through standardized MCP endpoints.
Features
🚀 Survey creation
❓ Question and answer management
📋 Question group handling
✅ Survey activation
📊 Response exporting
🔍 List available surveys
Prerequisites
Python 3.7+
Access to a LimeSurvey instance (version 3.X+)
LimeSurvey admin account
Installation
Clone the repository:
Configure environment variables:
Install dependencies:
Starting the Server
The server will be available at http://localhost:8080
Integration with Claude Desktop
Step 1: Add the MCP Server in Claude Desktop
Open Claude Desktop
Navigate to Settings → Model Context Protocol
Click Add Custom Server
Provide server details:
Server Name: LimeSurvey MCP
Base URL:
http://localhost:8080/mcpSpecification URL:
http://localhost:8080/spec
Step 2: Usage with Claude Desktop
Interact with LimeSurvey directly from Claude Desktop using MCP syntax:
Create a new survey
Add a question
Activate a survey
Export responses
Available MCP Endpoints
Action | Required Parameters | Description |
|
,
| Create a new survey |
|
,
,
,
| Add a question to a survey |
|
,
,
| Add a question group |
|
| Activate a survey |
| None | List all surveys |
|
| Export survey responses |
Technical Specification
The server fully implements the MCP specification (2025-06-18). Access the complete specification at:
Security
Authentication: Uses credentials stored in
.envValidation: All requests are validated against the MCP schema
Session Management: Automatically caches and recycles LimeSurvey sessions
Customization
To add new API methods:
Add the endpoint in
config/config.yamlImplement the method in
app/main.pyUpdate documentation in the
get_mcp_specfunction
Troubleshooting
Ensure RPC API is enabled in LimeSurvey (
Configuration → Interfaces → Enable RPC API)Verify correct credentials in
.envCheck server logs for detailed error messages
License
This project is licensed under MIT. See LICENSE for details.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables interaction with LimeSurvey API to create and manage surveys, questions, question groups, activate surveys, and export responses through standardized MCP endpoints.