Name | levalicious-mcp-server-time JSON |
Version |
0.0.0
JSON |
| download |
home_page | None |
Summary | A Model Context Protocol server providing tools for time queries and timezone conversions for LLMs |
upload_time | 2025-07-13 05:25:22 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | MIT |
keywords |
llm
mcp
time
timezone
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Time MCP Server
A Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
### Available Tools
- `get_current_time` - Get current time in a specific timezone or system timezone.
- Required arguments:
- `timezone` (string): IANA timezone name (e.g., 'America/New_York', 'Europe/London')
- `convert_time` - Convert time between timezones.
- Required arguments:
- `source_timezone` (string): Source IANA timezone name
- `time` (string): Time in 24-hour format (HH:MM)
- `target_timezone` (string): Target IANA timezone name
## Installation
### Using uv (recommended)
When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will
use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *levalicious-mcp-server-time*.
### Using PIP
Alternatively you can install `levalicious-mcp-server-time` via pip:
```bash
pip install levalicious-mcp-server-time
```
After installation, you can run it as a script using:
```bash
python -m levalicious_mcp_server_time
```
## Configuration
### Configure for Claude.app
Add to your Claude settings:
<details>
<summary>Using uvx</summary>
```json
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["levalicious-mcp-server-time"]
}
}
}
```
</details>
<details>
<summary>Using docker</summary>
```json
{
"mcpServers": {
"time": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/time"]
}
}
}
```
</details>
<details>
<summary>Using pip installation</summary>
```json
{
"mcpServers": {
"time": {
"command": "python",
"args": ["-m", "levalicious_mcp_server_time"]
}
}
}
```
</details>
### Configure for Zed
Add to your Zed settings.json:
<details>
<summary>Using uvx</summary>
```json
"context_servers": [
"levalicious-mcp-server-time": {
"command": "uvx",
"args": ["levalicious-mcp-server-time"]
}
],
```
</details>
<details>
<summary>Using pip installation</summary>
```json
"context_servers": {
"levalicious-mcp-server-time": {
"command": "python",
"args": ["-m", "levalicious_mcp_server_time"]
}
},
```
</details>
### Configure for VS Code
For quick installation, use one of the one-click install buttons below...
[](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22levalicious-mcp-server-time%22%5D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22levalicious-mcp-server-time%22%5D%7D&quality=insiders)
[](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Ftime%22%5D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Ftime%22%5D%7D&quality=insiders)
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
> Note that the `mcp` key is needed when using the `mcp.json` file.
<details>
<summary>Using uvx</summary>
```json
{
"mcp": {
"servers": {
"time": {
"command": "uvx",
"args": ["levalicious-mcp-server-time"]
}
}
}
}
```
</details>
<details>
<summary>Using Docker</summary>
```json
{
"mcp": {
"servers": {
"time": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/time"]
}
}
}
}
```
</details>
### Customization - System Timezone
By default, the server automatically detects your system's timezone. You can override this by adding the argument `--local-timezone` to the `args` list in the configuration.
Example:
```json
{
"command": "python",
"args": ["-m", "levalicious_mcp_server_time", "--local-timezone=America/New_York"]
}
```
## Example Interactions
1. Get current time:
```json
{
"name": "get_current_time",
"arguments": {
"timezone": "Europe/Warsaw"
}
}
```
Response:
```json
{
"timezone": "Europe/Warsaw",
"datetime": "2024-01-01T13:00:00+01:00",
"is_dst": false
}
```
2. Convert time between timezones:
```json
{
"name": "convert_time",
"arguments": {
"source_timezone": "America/New_York",
"time": "16:30",
"target_timezone": "Asia/Tokyo"
}
}
```
Response:
```json
{
"source": {
"timezone": "America/New_York",
"datetime": "2024-01-01T12:30:00-05:00",
"is_dst": false
},
"target": {
"timezone": "Asia/Tokyo",
"datetime": "2024-01-01T12:30:00+09:00",
"is_dst": false
},
"time_difference": "+13.0h",
}
```
## Debugging
You can use the MCP inspector to debug the server. For uvx installations:
```bash
npx @modelcontextprotocol/inspector uvx mcp-server-time
```
Or if you've installed the package in a specific directory or are developing on it:
```bash
cd path/to/servers/src/time
npx @modelcontextprotocol/inspector uv run levalicious-mcp-server-time
```
## Examples of Questions for Claude
1. "What time is it now?" (will use system timezone)
2. "What time is it in Tokyo?"
3. "When it's 4 PM in New York, what time is it in London?"
4. "Convert 9:30 AM Tokyo time to New York time"
## Build
Docker build:
```bash
cd src/time
docker build -t mcp/time .
```
## Contributing
We encourage contributions to help expand and improve levalicious-mcp-server-time. Whether you want to add new time-related tools, enhance existing functionality, or improve documentation, your input is valuable.
For examples of other MCP servers and implementation patterns, see:
https://github.com/modelcontextprotocol/servers
Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make levalicious-mcp-server-time even more powerful and useful.
## License
levalicious-mcp-server-time is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Raw data
{
"_id": null,
"home_page": null,
"name": "levalicious-mcp-server-time",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "llm, mcp, time, timezone",
"author": null,
"author_email": "Mariusz 'maledorak' Korzekwa <mariusz@korzekwa.dev>",
"download_url": "https://files.pythonhosted.org/packages/32/94/41e932f769534087675856acf834a23fc3442b091ae4b6f554542f09caaf/levalicious_mcp_server_time-0.0.0.tar.gz",
"platform": null,
"description": "# Time MCP Server\n\nA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.\n\n### Available Tools\n\n- `get_current_time` - Get current time in a specific timezone or system timezone.\n - Required arguments:\n - `timezone` (string): IANA timezone name (e.g., 'America/New_York', 'Europe/London')\n\n- `convert_time` - Convert time between timezones.\n - Required arguments:\n - `source_timezone` (string): Source IANA timezone name\n - `time` (string): Time in 24-hour format (HH:MM)\n - `target_timezone` (string): Target IANA timezone name\n\n## Installation\n\n### Using uv (recommended)\n\nWhen using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will\nuse [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *levalicious-mcp-server-time*.\n\n### Using PIP\n\nAlternatively you can install `levalicious-mcp-server-time` via pip:\n\n```bash\npip install levalicious-mcp-server-time\n```\n\nAfter installation, you can run it as a script using:\n\n```bash\npython -m levalicious_mcp_server_time\n```\n\n## Configuration\n\n### Configure for Claude.app\n\nAdd to your Claude settings:\n\n<details>\n<summary>Using uvx</summary>\n\n```json\n{\n \"mcpServers\": {\n \"time\": {\n \"command\": \"uvx\",\n \"args\": [\"levalicious-mcp-server-time\"]\n }\n }\n}\n```\n</details>\n\n<details>\n<summary>Using docker</summary>\n\n```json\n{\n \"mcpServers\": {\n \"time\": {\n \"command\": \"docker\",\n \"args\": [\"run\", \"-i\", \"--rm\", \"mcp/time\"]\n }\n }\n}\n```\n</details>\n\n<details>\n<summary>Using pip installation</summary>\n\n```json\n{\n \"mcpServers\": {\n \"time\": {\n \"command\": \"python\",\n \"args\": [\"-m\", \"levalicious_mcp_server_time\"]\n }\n }\n}\n```\n</details>\n\n### Configure for Zed\n\nAdd to your Zed settings.json:\n\n<details>\n<summary>Using uvx</summary>\n\n```json\n\"context_servers\": [\n \"levalicious-mcp-server-time\": {\n \"command\": \"uvx\",\n \"args\": [\"levalicious-mcp-server-time\"]\n }\n],\n```\n</details>\n\n<details>\n<summary>Using pip installation</summary>\n\n```json\n\"context_servers\": {\n \"levalicious-mcp-server-time\": {\n \"command\": \"python\",\n \"args\": [\"-m\", \"levalicious_mcp_server_time\"]\n }\n},\n```\n</details>\n\n### Configure for VS Code\n\nFor quick installation, use one of the one-click install buttons below...\n\n[](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22levalicious-mcp-server-time%22%5D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22levalicious-mcp-server-time%22%5D%7D&quality=insiders)\n\n[](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Ftime%22%5D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=time&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Ftime%22%5D%7D&quality=insiders)\n\nFor manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.\n\nOptionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.\n\n> Note that the `mcp` key is needed when using the `mcp.json` file.\n\n<details>\n<summary>Using uvx</summary>\n\n```json\n{\n \"mcp\": {\n \"servers\": {\n \"time\": {\n \"command\": \"uvx\",\n \"args\": [\"levalicious-mcp-server-time\"]\n }\n }\n }\n}\n```\n</details>\n\n<details>\n<summary>Using Docker</summary>\n\n```json\n{\n \"mcp\": {\n \"servers\": {\n \"time\": {\n \"command\": \"docker\",\n \"args\": [\"run\", \"-i\", \"--rm\", \"mcp/time\"]\n }\n }\n }\n}\n```\n</details>\n\n### Customization - System Timezone\n\nBy default, the server automatically detects your system's timezone. You can override this by adding the argument `--local-timezone` to the `args` list in the configuration.\n\nExample:\n```json\n{\n \"command\": \"python\",\n \"args\": [\"-m\", \"levalicious_mcp_server_time\", \"--local-timezone=America/New_York\"]\n}\n```\n\n## Example Interactions\n\n1. Get current time:\n```json\n{\n \"name\": \"get_current_time\",\n \"arguments\": {\n \"timezone\": \"Europe/Warsaw\"\n }\n}\n```\nResponse:\n```json\n{\n \"timezone\": \"Europe/Warsaw\",\n \"datetime\": \"2024-01-01T13:00:00+01:00\",\n \"is_dst\": false\n}\n```\n\n2. Convert time between timezones:\n```json\n{\n \"name\": \"convert_time\",\n \"arguments\": {\n \"source_timezone\": \"America/New_York\",\n \"time\": \"16:30\",\n \"target_timezone\": \"Asia/Tokyo\"\n }\n}\n```\nResponse:\n```json\n{\n \"source\": {\n \"timezone\": \"America/New_York\",\n \"datetime\": \"2024-01-01T12:30:00-05:00\",\n \"is_dst\": false\n },\n \"target\": {\n \"timezone\": \"Asia/Tokyo\",\n \"datetime\": \"2024-01-01T12:30:00+09:00\",\n \"is_dst\": false\n },\n \"time_difference\": \"+13.0h\",\n}\n```\n\n## Debugging\n\nYou can use the MCP inspector to debug the server. For uvx installations:\n\n```bash\nnpx @modelcontextprotocol/inspector uvx mcp-server-time\n```\n\nOr if you've installed the package in a specific directory or are developing on it:\n\n```bash\ncd path/to/servers/src/time\nnpx @modelcontextprotocol/inspector uv run levalicious-mcp-server-time\n```\n\n## Examples of Questions for Claude\n\n1. \"What time is it now?\" (will use system timezone)\n2. \"What time is it in Tokyo?\"\n3. \"When it's 4 PM in New York, what time is it in London?\"\n4. \"Convert 9:30 AM Tokyo time to New York time\"\n\n## Build\n\nDocker build:\n\n```bash\ncd src/time\ndocker build -t mcp/time .\n```\n\n## Contributing\n\nWe encourage contributions to help expand and improve levalicious-mcp-server-time. Whether you want to add new time-related tools, enhance existing functionality, or improve documentation, your input is valuable.\n\nFor examples of other MCP servers and implementation patterns, see:\nhttps://github.com/modelcontextprotocol/servers\n\nPull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make levalicious-mcp-server-time even more powerful and useful.\n\n## License\n\nlevalicious-mcp-server-time is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Model Context Protocol server providing tools for time queries and timezone conversions for LLMs",
"version": "0.0.0",
"project_urls": null,
"split_keywords": [
"llm",
" mcp",
" time",
" timezone"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c8182bbf4149430ad05e0ddf039c7c3729a8c10bbce7ff9862cb2feb908a9dc1",
"md5": "316eb8437c2628245231f55d5bbe6643",
"sha256": "02f0c0d9bf62b759ab6559c98c044893a996a3449bf4fdedef4c4670bc3a11b7"
},
"downloads": -1,
"filename": "levalicious_mcp_server_time-0.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "316eb8437c2628245231f55d5bbe6643",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 6572,
"upload_time": "2025-07-13T05:19:57",
"upload_time_iso_8601": "2025-07-13T05:19:57.136316Z",
"url": "https://files.pythonhosted.org/packages/c8/18/2bbf4149430ad05e0ddf039c7c3729a8c10bbce7ff9862cb2feb908a9dc1/levalicious_mcp_server_time-0.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "329441e932f769534087675856acf834a23fc3442b091ae4b6f554542f09caaf",
"md5": "00cb027178f0ae1ce96046236a2dc754",
"sha256": "669267891c9d6aa6cd239fa9b25903ab6961f915c05c1ff43ebbdfd40f74cdff"
},
"downloads": -1,
"filename": "levalicious_mcp_server_time-0.0.0.tar.gz",
"has_sig": false,
"md5_digest": "00cb027178f0ae1ce96046236a2dc754",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 29457,
"upload_time": "2025-07-13T05:25:22",
"upload_time_iso_8601": "2025-07-13T05:25:22.724494Z",
"url": "https://files.pythonhosted.org/packages/32/94/41e932f769534087675856acf834a23fc3442b091ae4b6f554542f09caaf/levalicious_mcp_server_time-0.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-13 05:25:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "levalicious-mcp-server-time"
}