time-mcp
@suryawanshishantanu6
About time-mcp
MCP Server which returns current timestamp with streamlit app
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"time-mcp-suryawanshishantanu6": {
"command": "python",
"args": [
"flask_api.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is time-mcp?
time-mcp is a minimal agentic AI system that answers time-related and general questions using a tool-augmented LLM pipeline. It integrates a Flask API for the current timestamp, an MCP agent server for reasoning and tool calling, and a Streamlit chat interface.
How to use time-mcp?
Set the OPENROUTER_API_KEY environment variable, then run three components in separate terminals: python flask_api.py for the time API, python mcp_server.py for the MCP agent server, and streamlit run streamlit_ui.py for the UI. Open the Streamlit UI in your browser (default http://localhost:8501) and ask questions.
Key features of time-mcp
- Flask API provides the current timestamp.
- MCP agent server detects user intent and calls tools.
- Integrates with LLMs via OpenRouter (OpenAI-compatible API).
- Streamlit UI offers a simple chat interface.
- Easily extensible with additional tools via the MCPAgent class.
Use cases of time-mcp
- Ask for the current time and receive a natural language response.
- Ask general knowledge questions that are answered by the LLM.
- Demonstrate a tool-augmented agent pipeline for learning or prototyping.
FAQ from time-mcp
What dependencies are required to run time-mcp?
Python 3.7+ and the packages listed in requirements.txt. Also need an OpenRouter API key set as the OPENROUTER_API_KEY environment variable.
How does authentication work?
The system uses an OpenRouter API key for LLM access. The Flask time API does not require authentication.
Can I add more tools to the agent?
Yes. Implement new methods in the MCPAgent class and update self.tools. You can also improve intent detection by extending detect_intent().
What LLM model does time-mcp use?
The model is defined in the call_llm() method and can be changed by updating the model field. It uses OpenRouter, which provides access to various models.
Is there a web interface?
Yes, a Streamlit UI is provided. Run streamlit run streamlit_ui.py to open the chat interface in your browser.
Frequently asked questions
What dependencies are required to run time-mcp?
Python 3.7+ and the packages listed in `requirements.txt`. Also need an OpenRouter API key set as the `OPENROUTER_API_KEY` environment variable.
How does authentication work?
The system uses an OpenRouter API key for LLM access. The Flask time API does not require authentication.
Can I add more tools to the agent?
Yes. Implement new methods in the `MCPAgent` class and update `self.tools`. You can also improve intent detection by extending `detect_intent()`.
What LLM model does time-mcp use?
The model is defined in the `call_llm()` method and can be changed by updating the `model` field. It uses OpenRouter, which provides access to various models.
Is there a web interface?
Yes, a Streamlit UI is provided. Run `streamlit run streamlit_ui.py` to open the chat interface in your browser.
Basic information
More Productivity MCP servers

LinkedIn Ghostwriter
ContentInWrite LinkedIn posts in your own voice from Claude, ChatGPT, or any MCP client. ContentIn trains a personal AI on your own LinkedIn posts, then generates ideas, drafts in your voice, schedules, publishes via LinkedIn's o

Plyto
PlytoPlyto is an agentic CRM for small businesses, and this server exposes the whole platform to the AI you already use. Connect Claude, Cursor, or any MCP-compatible assistant with a per-business API key and your agent can c

My AskAI
My AskAIUse My AskAI to find product, setup, integration, API, feature, pricing, and troubleshooting information. Search the public knowledge base, read complete documentation and OpenAPI files, and estimate pricing from monthly

AdminLanding
Julien MauriceAdminLanding — French rental, frontalier & home-employment compliance tools (FR/EN). Sourced, dated answers from deterministic rule engines and official datasets — no AI, no account needed for the 10 free tools: zone ten
twocents
twocents-pageHuman feedback for AI agents — remote MCP server at twocents.page/mcp (share_page / get_feedback)
Comments