You are helping the user query journal entries by time period.
Queries journal entries by natural language time expressions like "last week" or "yesterday".
/plugin marketplace add chrismbryant/claude-journal-mcp/plugin install claude-journal@claude-journal-devYou are helping the user query journal entries by time period.
This command uses natural language time expressions to find entries.
Understand the time query: User might ask in various ways:
Extract time expression: Supported formats:
Use the MCP tool:
Call journal_time_query:
journal_time_query(
time_expression="last week",
query="optional search terms" (if looking for something specific),
project="project-name" (optional)
)
Present results:
Example 1: Recent past
User: "What did I do last week?"
→ journal_time_query(time_expression="last week")
→ Present all entries from last week
Example 2: Specific search in time range
User: "When did I work on authentication?"
→ journal_time_query(time_expression="last month", query="authentication")
→ Find auth-related entries from last month
Example 3: Historical lookup
User: "Show me what I did in January"
→ journal_time_query(time_expression="january")
→ All January entries
Example 4: Project timeline
User: "What have I done on my-api this year?"
→ journal_time_query(time_expression="this year", project="my-api")
Present with time context:
**Journal Entries: Last Week** (15 found)
Week of Jan 8-14, 2024
Monday, Jan 8:
- [45] Implemented OAuth login (my-app)
- [44] Set up testing framework
Tuesday, Jan 9:
- [43] Fixed cache memory leak
...
Share these time expression examples: