Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KelvinQiu802/cursor-mcp-demo
/ functions
Functions
17 in github.com/KelvinQiu802/cursor-mcp-demo
⨍
Functions
17
◇
Types & classes
4
↓ 3 callers
Function
make_nws_request
Make a request to the NWS API with proper error handling.
quickstart-resources/weather-server-python/weather.py:12
↓ 3 callers
Method
run
()
hn-server/src/index.ts:169
↓ 1 callers
Method
chat_loop
Run an interactive chat loop
quickstart-resources/mcp-client/client.py:111
↓ 1 callers
Method
cleanup
Clean up resources
quickstart-resources/mcp-client/client.py:129
↓ 1 callers
Method
connect_to_server
Connect to an MCP server Args: server_script_path: Path to the server script (.py or .js)
quickstart-resources/mcp-client/client.py:20
↓ 1 callers
Method
fetchStories
(type: string = 'top')
hn-server/src/index.ts:54
↓ 1 callers
Function
format_alert
Format an alert feature into a readable string.
quickstart-resources/weather-server-python/weather.py:26
↓ 1 callers
Function
isValidStoryType
(type: string)
hn-server/src/index.ts:23
↓ 1 callers
Function
main
()
quickstart-resources/mcp-client/client.py:133
↓ 1 callers
Function
main
()
quickstart-resources/weather-server-typescript/src/index.ts:63
↓ 1 callers
Function
main
()
dify-demo/src/index.ts:75
↓ 1 callers
Method
process_query
Process a query using Claude and available tools
quickstart-resources/mcp-client/client.py:49
↓ 1 callers
Method
setupToolHandlers
()
hn-server/src/index.ts:100
Method
__init__
(self)
quickstart-resources/mcp-client/client.py:14
Method
constructor
()
hn-server/src/index.ts:31
Function
get_alerts
Get weather alerts for a US state. Args: state: Two-letter US state code (e.g. CA, NY)
quickstart-resources/weather-server-python/weather.py:38
Function
get_forecast
Get weather forecast for a location. Args: latitude: Latitude of the location longitude: Longitude of the location
quickstart-resources/weather-server-python/weather.py:57