You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/...?q=api&page=50&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=api
Returns an array of strings in format "username" or "username/projectName"
Found 19252 results for "api"(1023ms)
153154### Planned Features
155- **Additional Action Types**: File downloads, API calls, direct tool execution
156- **Conditional Logic**: Proposals based on user context or chat history
157- **Scheduling**: Delayed execution beyond immediate countdown
1# Anthropic Streaming Chat with MCP
23A mobile-optimized single page chat application that uses the Anthropic Messages API with **real-time streaming** and MCP (Model Context Protocol) server support.
45Source: https://www.val.town/x/c15r/Chat
17- **🔄 NextSteps Auto-Execution** - MCP tools can propose follow-up actions with automatic or manual execution
18- Full-screen mobile-optimized chat interface
19- Direct client-side Anthropic API integration with server-side streaming proxy
20- **Model selection** - Choose between different Claude models (3.5 Sonnet, 3.5 Haiku, 3 Opus, etc.) without clearing chat history
21- Configurable MCP servers with localStorage persistence
7071The app stores configuration and chat history in localStorage:
72- `anthropic_api_key`: Your Anthropic API key
73- `selected_model`: The chosen Claude model (defaults to claude-3-5-sonnet-20241022)
74- `mcp_servers`: Array of configured MCP servers
76- `auto_execute_next_steps`: Global setting for NextSteps auto-execution (defaults to true)
7778## API Endpoints
7980- `GET /` - Main application (serves frontend)
87881. Open the app at the provided URL
892. Click "Settings" in the footer to configure your Anthropic API key and select your preferred Claude model
903. Add/remove/toggle MCP servers as needed
914. Use the "Test" button next to each MCP server to verify connectivity (shows ✅ for success, ❌ for errors)
117- **Auto-scroll**: Messages automatically scroll to bottom during streaming
118- **Auto-resize**: Input field grows with content
119- **Error Handling**: Clear error messages for API issues with stream recovery
120- **Loading States**: Visual feedback during API calls and streaming
121- **Structured Responses**: MCP tool use and results are displayed in organized, collapsible sections
122- **Clean Interface**: Maximized chat area with no header, footer contains all controls