SafetyCulture MCP Server
Mirror of
MCP-Mirror
README
SafetyCulture MCP Server
A Model Context Protocol (MCP) server for the SafetyCulture API. This project allows users to ask natural language questions about their SafetyCulture data after providing an API key.
Features
- Query SafetyCulture data using natural language
- Analyze inspection data and trends
- Compare safety metrics across time periods and categories
- Visualize inspection trends over time
Setup
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
- Copy
example.env
to.env
and configure your SafetyCulture API key - Run the server using one of these methods:
run_server.bat
- Run the server with configuration from .env filerun_with_key.bat YOUR_API_KEY
- Run the server with the provided API key
Testing the API
To test if your SafetyCulture API key works properly:
test_api.bat YOUR_API_KEY
Additional testing options:
test_api.bat
- Run tests in interactive mode (prompts for API key)test_api.bat feed YOUR_API_KEY
- Test just the Feed APItest_api.bat url
- Check which API URLs are accessible without authentication
Usage with Claude for Desktop
- Install Claude for Desktop
- Configure Claude for Desktop to use this MCP server by editing the configuration file at
~/Library/Application Support/Claude/claude_desktop_config.json
(Mac) or%APPDATA%\Claude\claude_desktop_config.json
(Windows) - Add the following configuration:
{
"mcpServers": {
"safetyculture": {
"command": "python",
"args": [
"/path/to/your/project/src/main.py"
]
}
}
}
- Restart Claude for Desktop
- Use the MCP tools to query your SafetyCulture data with questions like:
- "How many inspections were done in this site over the last 3 months?"
- "Compare any trends in rise of injuries report for this category"
Available Tools
Authentication
authenticate
: Authenticate with the SafetyCulture API using your API key
Inspection Data (Using Feed API)
get_inspections
: Get SafetyCulture inspections for a specific time periodget_inspection_trends
: Analyze trends in SafetyCulture inspections over timecompare_injury_reports
: Compare injury reports between two time periods
Action Data (Using Feed API)
get_actions
: Get SafetyCulture actions for a specific time period- Filter by status (e.g., 'in_progress', 'completed', 'overdue')
- Filter by priority (e.g., 'low', 'medium', 'high')
- View detailed information about each action
get_action_details
: Get detailed information about a specific action by ID
About the Feed API
This MCP server uses the SafetyCulture Feed API, which provides a simple way to access collections of resources:
/feed/inspections
: For listing inspections with various filter parameters/feed/actions
: For listing actions with various filter parameters
The Feed API is preferred over the individual resource endpoints when you need to list multiple items.
Development
Project Structure
.
├── README.md
├── requirements.txt
├── example.env
└── src/
├── main.py # Main entry point
├── safetyculture_api/ # SafetyCulture API client
│ ├── __init__.py
│ └── client.py # API client implementation
├── tools/ # MCP tools
│ ├── __init__.py
│ └── inspection_tools.py # Inspection and action tools
└── utils/ # Utility modules
├── __init__.py
├── analysis.py # Data analysis utilities
├── config.py # Configuration management
└── date_utils.py # Date parsing utilities
Development Log
Initial Setup
- Created project structure
- Set up git repository
- Added README and requirements
- Implemented SafetyCulture API client
- Added MCP tools for querying inspection data
- Added utility modules for date parsing and data analysis
- Added configuration management
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.