trackmcp
Back to directory
ijshd7

typescript-mcp-client-server

View on GitHub

MCP Client & Server

1 stars TypeScriptDeveloper Kits Updated Jul 31, 2025

Documentation

MCP Weather Client & Server Example with Typescript

This is a tutorial project demonstrating the use of the Model Context Protocol (MCP) with Anthropic's Claude models. The app includes a simple CLI-based client and a weather tools server, which communicates via MCP over stdio.

Features

  • ๐Ÿ”Œ MCP-compliant server exposing tools like `get-alerts` and `get-forecast`
  • ๐Ÿค– CLI client using Anthropic Claude (via the `@anthropic-ai/sdk`) to call tools
  • ๐Ÿ› ๏ธ Written in TypeScript for the client and server
  • ๐ŸŒฆ๏ธ Example tools provide weather alert and forecast info
  • ๐Ÿ” Supports `.env` configuration with `ANTHROPIC_API_KEY`

Getting Started

Prerequisites

Running

  • In `client`: `npm install && npm run build`
  • In `server`: `npm install && npm run build`
  • In `client`: `node build/index.js ../server/build/index.js`

Frequently asked questions

What is typescript-mcp-client-server?

typescript-mcp-client-server is MCP Client & Server

How do I install typescript-mcp-client-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is typescript-mcp-client-server open source?

Yes โ€” it is hosted on GitHub at https://github.com/ijshd7/typescript-mcp-client-server and has 1 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP