[BUG] recent_activity prompt always returns "0 projects" regardless of actual activity
recent_activity MCP prompt always returns "0 projects" regardless of actual activity
Description
The recent_activity MCP prompt returns "Found activity across 0 projects" even when the recent_activity MCP tool returns valid
results for the same timeframe.
Steps to Reproduce
- Have existing activity in Basic Memory (notes, observations, etc.)
- Invoke the MCP prompt via Claude Code:
/basic-memory:recent_activity 4d
- Observe the output shows "Found activity across 0 projects"
- Call the MCP tool with the same timeframe:
recent_activity(timeframe="4d")
- Observe the tool correctly returns activity data
Expected Behavior
The recent_activity prompt should display the same activity data that the tool returns, formatted for the conversation context.
Actual Behavior
The prompt always returns:
Found activity across 0 projects. Most active: Unknown
...followed by a template suggesting the user create a cross-project summary, rather than showing actual activity.
Environment
- Basic Memory version: 0.16.2
- Client: Claude Code CLI
- OS: macOS (Darwin 25.2.0)
Additional Context
| Method |
Timeframe |
Result |
| Prompt |
1d |
"0 projects" ❌ |
| Prompt |
4d |
"0 projects" ❌ |
| Tool |
4d |
10 items found ✅ |
| Tool |
7d |
10 items found ✅ |
The tool correctly finds activity in the "main" project, but the prompt appears to not be receiving or rendering this data.
Possibly related: the prompt also fails with "Error rendering prompt recent_activity" when timeframe is omitted, even though the tool
handles missing timeframe gracefully (defaults to 7d).
[BUG] recent_activity prompt always returns "0 projects" regardless of actual activity
recent_activityMCP prompt always returns "0 projects" regardless of actual activityDescription
The
recent_activityMCP prompt returns "Found activity across 0 projects" even when therecent_activityMCP tool returns validresults for the same timeframe.
Steps to Reproduce
/basic-memory:recent_activity 4drecent_activity(timeframe="4d")Expected Behavior
The
recent_activityprompt should display the same activity data that the tool returns, formatted for the conversation context.Actual Behavior
The prompt always returns:
Found activity across 0 projects. Most active: Unknown
...followed by a template suggesting the user create a cross-project summary, rather than showing actual activity.
Environment
Additional Context
1d4d4d7dThe tool correctly finds activity in the "main" project, but the prompt appears to not be receiving or rendering this data.
Possibly related: the prompt also fails with "Error rendering prompt recent_activity" when
timeframeis omitted, even though the toolhandles missing timeframe gracefully (defaults to
7d).