Local Utilities MCP Server
The Local Utilities MCP Server provides access to local system utilities and development tools through the Model Context Protocol interface.
System Information
Get current time and date (local time, date, day of week, ISO 8601 format, Unix timestamp)
Get the system's hostname
Get the machine's public IP address
Check the running Node.js version
File System
List contents of specified directories
Network Utilities
Check which process is running on a specific port (1-65535), showing details like command, PID, user, and connection type
Development Tools - Think Tool
Record timestamped thoughts during development sessions
Retrieve all previously recorded thoughts
Clear all recorded thoughts
Get thought statistics (total count, average length, oldest/newest timestamps)
Compatibility: Works with Cursor and other MCP-compatible clients; can be installed globally or run via npx
Supports Linux systems for port checking functionality, allowing users to identify processes running on specific ports.
Supports macOS systems for port checking functionality, allowing users to identify processes running on specific ports.
Provides access to Node.js version information, allowing clients to retrieve details about the Node.js environment running on the local system.
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., "@Local Utilities MCP Server what's my public IP address?"
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.
Local Utilities MCP Server
A Model Context Protocol (MCP) server that provides access to various local system utilities. This server can be used with Cursor and other MCP-compatible clients to provide quick access to system information.
Features
The server provides the following utilities:
Time and Date: Get the current local time and date, including day of the week, in various formats
Hostname: Get the system's hostname
Public IP: Get the machine's public IP address
Directory Listing: List the contents of a specified directory
Node.js Version: Get the currently running Node.js version
Port Checker: Check what process is running on a specific port
Think Tool: Record, retrieve, and analyze thoughts during development sessions
Related MCP server: Simple MCP Server
Installation
Global Installation
pnpm add -g localutils-mcp-serverUsing with npx
You can also run the server directly using npx without installing it globally:
npx localutils-mcp-serverUsage
Starting the Server
If installed globally:
localutils-mcpWith npx:
npx localutils-mcp-serverUsing with Cursor
The server can be used with Cursor by configuring it as an MCP server in Cursor's settings.
Open Cursor settings
Navigate to the MCP section
Add a new MCP server with the following configuration:
{ "mcpServers": { "localutils": { "command": "npx", "args": ["github:arjshiv/localutils-mcp-server"] } } }
Using the MCP Inspector
You can test the server using the MCP Inspector:
pnpm run inspectorThis will start the MCP Inspector at http://localhost:5173.
Available Tools
get_time_and_date
Returns the current local time and date in various formats, including:
Local time
Local date
Day of the week
ISO 8601 format
Unix timestamp
get_hostname
Returns the hostname of the machine running the MCP server.
get_public_ip
Returns the public IP address of the machine running the MCP server.
list_directory
Lists the contents of a specified directory.
Parameters:
path(string, required): Directory path to list
get_node_version
Returns the Node.js version information of the environment running the MCP server.
check_port
Checks what process is running on a specific port.
Parameters:
port(number or string, required): Port number to check (1-65535). String values will be automatically converted to numbers.
Example Response (macOS/Linux):
{
"processes": [
{
"command": "node",
"pid": "12345",
"user": "username",
"fd": "12u",
"type": "IPv4",
"device": "0x1234567890",
"size": "0t0",
"node": "TCP",
"name": "*:3000 (LISTEN)"
}
],
"message": "Found 1 process(es) using port 3000"
}think
Records a new thought with timestamp.
Parameters:
thought(string, required): The thought content to record
Example Response:
{
"success": true,
"data": {
"message": "Thought recorded successfully"
}
}get_thoughts
Retrieves all recorded thoughts.
Example Response:
{
"success": true,
"data": {
"thoughts": [
{
"timestamp": "2025-03-24T15:00:00.000Z",
"content": "Need to update the documentation"
}
]
}
}clear_thoughts
Clears all recorded thoughts.
Example Response:
{
"success": true,
"data": {
"message": "All thoughts cleared"
}
}get_thought_stats
Returns statistics about recorded thoughts.
Example Response:
{
"success": true,
"data": {
"totalThoughts": 1,
"averageLength": 28,
"oldestThought": "2025-03-24T15:00:00.000Z",
"newestThought": "2025-03-24T15:00:00.000Z"
}
}Development
Building
pnpm run buildRunning in Development Mode
pnpm run devTesting
pnpm testGit Workflow
This repository includes a pre-commit hook that automatically builds the server before each commit. This ensures that the build files are always up-to-date in the repository.
The build folder is included in the git repository to make it easier to use the package with npx without having to build it first.
To set up the pre-commit hook after cloning the repository:
pnpm installThis will install dependencies and set up the pre-commit hook via Husky.
License
MIT
Available Tools
10 toolscheck_portD
Inputs: port (required).
clear_thoughtsA
Clear all recorded thoughts
get_hostnameA
Returns the hostname of the machine running the MCP server.
get_node_versionA
Returns the Node.js version information of the environment running the MCP server.
get_public_ipA
Returns the public IP address of the machine running the MCP server.
get_thoughtsB
Retrieve all recorded thoughts
get_thought_statsC
Get statistics about recorded thoughts
get_time_and_dateA
Returns the current time, date, day of week, and timestamp in various formats
list_directoryD
Inputs: path (required).
thinkD
Inputs: thought (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a distinct name and purpose, even though some lack descriptions. The 'get_*' tools clearly differentiate between hostname, node version, public IP, time/date, and thoughts, while 'list_directory', 'check_port', and the thought management tools are all distinct.
All tool names follow a consistent lowercase_snake_case pattern, predominantly using verb_noun structure (e.g., 'get_hostname', 'list_directory', 'clear_thoughts'). The single verb 'think' is a minor deviation but still fits the pattern.
10 tools is a reasonable number for a local utilities server, covering both system information and a thought management module without overloading the surface.
The thought management tools are complete, but the system utilities are sparse, lacking common operations like disk space, CPU usage, or process listing. This leaves notable gaps for a 'Local Utilities' server.
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA comprehensive MCP server with 30+ custom tools organized into categories: date/time operations, file management, system information, text processing, and web operations. Enables async communication with robust error handling and flexible CLI integration.311MIT
- AlicenseNot gradedqualityDmaintenanceA self-contained, dependency-free MCP server that provides utility tools for time, date, mathematical calculations, and shell command execution. It supports remote connectivity through SSE and is designed for easy deployment via Docker.GPL 3.0
- FlicenseAqualityDmaintenanceA general-purpose MCP server providing time-related utilities such as fetching current time, Unix timestamps, and formatting services. It supports both local stdio and remote SSE communication modes for versatile AI client integration.3-
- AlicenseNot gradedqualityDmaintenanceLightweight MCP server providing system time tools (current time, date, datetime, time components, unix timestamp) for LLM applications.1MIT