Tag: API

  • Building a MCP Server So LLMs Can Count Letters

    Building a MCP Server So LLMs Can Count Letters

    Large Language Models (LLMs) sometimes struggle with simple counting tasks like determining the number of ‘r’s in words like “strawberry” or “raspberry”. While this is often used as a gotcha test for LLMs, there’s a practical solution – creating a Model Context Protocol (MCP) server to handle these counting tasks reliably. MCP is an innovative…

  • Creating a REST API using Python and Flask

    Introduction to Flask and REST APIs Flask is a lightweight and versatile web framework for Python that allows developers to easily build web applications, including REST APIs. It provides a simple and intuitive way to create web services that can be consumed by other applications. Flask is known for its flexibility, making it a popular…