Anirbanbasu Pymcp logo

Anirbanbasu Pymcp

FastMCP Python template offering web search, password generation, calculations, code execution, resources, and prompts.

Install Anirbanbasu Pymcp

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://pymcp-template.fastmcp.app/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

anirbanbasu-pymcp MCP server is a Python FastMCP template with example tools for web search, password generation, permutations, greetings, and Python execution. It also exposes logo and numeric resources plus a prompt for generating Python code prompts. Reach for it when building or evaluating a Python MCP server, or when you need these small utility tools through MCP. Web searches use DDGS, while Python execution uses the experimental Pydantic Monty interpreter.

Use cases

  • Prototype a Python FastMCP server
  • Search the web through DDGS
  • Generate constrained passwords
  • Run small Python snippets
  • Test MCP resources and prompts

Key features

  • DDGS-backed text web search
  • Password generation with validation
  • Permutation calculation
  • Pydantic Monty Python execution
  • Logo and modulo-10 resources
  • Python code prompt generation

Tools15

What Anirbanbasu Pymcp lets your agent do. Expand a tool for its parameters.

Self-reported~390 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/19 checks healthy over the last 111d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 8/17/2026 via OSV.dev · https://pymcp-template.fastmcp.app/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.
Tools exposed15Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Anirbanbasu Pymcp works

What anirbanbasu-pymcp does

anirbanbasu-pymcp is primarily a template for developing MCP servers in Python with FastMCP. Its example surface includes five tools, three resources, and one prompt, making it useful as a reference implementation as well as a source of simple utility operations.

The tools cover a deliberately mixed set of examples: a UTC time-stamped greeting, constrained password generation, DDGS-backed text web search, permutation counts, and Python code execution. The server also provides data resources for its logos and a Unicode representation derived from a number, plus a prompt that turns a described task into a Python code-writing prompt.

How it works

The server communicates through the MCP transport selected by configuration, with stdio as the documented default. Tool inputs are validated according to their declared types and constraints. Search accepts a non-empty query and can receive a region, result limit, and page count. Password generation accepts lengths from 8 through 64 and can optionally include special characters while meeting the documented character requirements.

run_python_code passes code to Pydantic Monty, a secure interpreter with partial Python support. It can receive input values, a script name for error reporting, type-checking preferences, and optional type definitions. Monty is described as experimental, so it should not be treated as a complete Python runtime.

Setup and configuration

The repository targets Python 3.12 or later. Its documented installation flow uses uv and just; running just install installs the project with minimal dependencies in a virtual environment. The install-all target is intended for development and testing dependencies.

Configuration includes MCP_SERVER_TRANSPORT, which selects the FastMCP transport and defaults to stdio, and PYMCP_LOG_LEVEL, which defaults to INFO. RESPONSE_CACHE_TTL controls the response-cache lifetime and defaults to 30 seconds; valid values range from 0 to 86,400 seconds. Web search can use the optional DDGS_PROXY setting for an egress proxy.

Tools and capabilities

The anirbanbasu-pymcp MCP server exposes these tools:

  • greet returns a UTC time-stamped Hello World-style greeting and accepts an optional name.
  • generate_password creates a password with a requested length and optional special characters. Length must be between 8 and 64.
  • text_web_search queries DDGS and returns a list of search-result dictionaries. Region, maximum results, and page count are configurable.
  • permutations calculates the number of ordered, non-repeating ways to choose k items from n; k defaults to n.
  • run_python_code executes supplied code through Pydantic Monty and returns its output when available.

Resources include a Base64-encoded PNG logo with a SHA3-512 hash, an SVG logo, and a modulo-10 Unicode resource accepting positive integers from 1 through 1000. The code_prompt prompt accepts a task description and returns a prompt for writing Python code.

Limitations and notes

The anirbanbasu-pymcp MCP server is best understood as a development template rather than a focused production integration. Its Python execution feature has partial language support because it relies on experimental Pydantic Monty. Search results depend on DDGS and may require proxy configuration in environments with restricted outbound access.

The documented server-initiated sampling and elicitation examples are not included. Older MCP clients may negotiate a legacy session-based protocol, but tools that depend on those removed back-channel patterns are outside the remaining server surface.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Anirbanbasu Pymcp

anirbanbasu-pymcp is an MCP server that connects FastMCP-based Python applications to example utilities including DDGS web search, password generation, permutation calculation, greetings, and Pydantic Monty code execution. It also exposes logo and numeric resources plus a prompt for generating Python code-writing instructions.

Install `uv` and `just`, then run `just install` from the repository working directory. Use the `install-all` target instead when you need the additional dependencies used for development and testing.

Set `DDGS_PROXY` when web search requests need to use an egress proxy. The `text_web_search` tool also accepts the query, region, maximum result count, and page count as tool inputs.

Yes, the `run_python_code` tool runs supplied code through Pydantic Monty. It supports optional inputs, script names, type checking, and type definitions, but Monty is experimental and provides only partial Python language support.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAnirbanbasu Pymcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/anirbanbasu-pymcp?style=directory)](https://allmcps.com/mcp/anirbanbasu-pymcp)
HTML Embed
<a href="https://allmcps.com/mcp/anirbanbasu-pymcp"><img src="https://allmcps.com/api/badge/anirbanbasu-pymcp?style=directory" alt="Anirbanbasu Pymcp on AllMCPs" /></a>