MCP tool that provides current Unix timestamp
Project description
mcp-epochs
mcp-name: io.github.daedalus/mcp-epochs
MCP tool that provides current Unix timestamp (epochs) to LLMs.
Install
pip install mcp-epochs
Usage
mcp-epochs
This runs the MCP server with STDIO transport. The server provides a get_unix_time tool.
MCP Configuration
{
"mcpServers": {
"mcp-epochs": {
"command": "mcp-epochs"
}
}
}
Development
git clone https://github.com/daedalus/mcp-epochs.git
cd mcp-epochs
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
API
get_unix_time()
Returns the current Unix timestamp as a dictionary with the following keys:
unix_time(int): Current Unix timestamp in seconds since epoch.unix_time_ms(int): Current Unix timestamp in milliseconds since epoch.iso8601(str): Current UTC time in ISO 8601 format (e.g., "2026-03-26T21:30:00Z").
run_server()
Starts the MCP server using STDIO transport for local desktop MCP clients.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_epochs-0.1.0.tar.gz.
File metadata
- Download URL: mcp_epochs-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a145b6a89a0231422612dae02fc980edcd8d2163449c7d8f86ce193de539020a
|
|
| MD5 |
361b11eff5cbee19f73a51d4511d525c
|
|
| BLAKE2b-256 |
f1bd9e2b1412f8d69c85f92e435fc870e1e5eb08c676e8b67822298e18ac88dd
|
Provenance
The following attestation bundles were made for mcp_epochs-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on daedalus/mcp-epochs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_epochs-0.1.0.tar.gz -
Subject digest:
a145b6a89a0231422612dae02fc980edcd8d2163449c7d8f86ce193de539020a - Sigstore transparency entry: 1189044531
- Sigstore integration time:
-
Permalink:
daedalus/mcp-epochs@cb98f0527f440330732ba73067b4471e8dae8afa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@cb98f0527f440330732ba73067b4471e8dae8afa -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_epochs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_epochs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
421fe6648b3523371010f21e6d053ad0320e9fcf01eeca6a2be8a67fd34044cc
|
|
| MD5 |
446b2743a2c11b3f7acecff9966929e6
|
|
| BLAKE2b-256 |
90ab1b4dde9edd9cf86c22a528e86ad960329522670611e2877721e241c3a6c7
|
Provenance
The following attestation bundles were made for mcp_epochs-0.1.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on daedalus/mcp-epochs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_epochs-0.1.0-py3-none-any.whl -
Subject digest:
421fe6648b3523371010f21e6d053ad0320e9fcf01eeca6a2be8a67fd34044cc - Sigstore transparency entry: 1189044535
- Sigstore integration time:
-
Permalink:
daedalus/mcp-epochs@cb98f0527f440330732ba73067b4471e8dae8afa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@cb98f0527f440330732ba73067b4471e8dae8afa -
Trigger Event:
release
-
Statement type: